Commit Graph

130559 Commits

Author SHA1 Message Date
yamt 3362d4ed5b fix allocbuf() O(n**2) behaviour where n is number of AGE buffers
by always tracking amount of buffers on a queue.
bump to 2.0H.
2004-09-18 16:37:12 +00:00
yamt 0a9623de9c call PFIL_IFADDR hooks where appropriate. 2004-09-18 16:04:41 +00:00
yamt 2bf1a4ef17 - add missing function prototypes.
- fix prototype mismatches.
2004-09-18 16:01:03 +00:00
jdolecek 62b15febd3 make othercase() return int rather than char, to avoid sign extension
bug with character codes >= 128

fixes PR lib/26986 by Alexander Becher
2004-09-18 11:47:37 +00:00
wiz 0cd74d2a4b Fix formatting bug reported by Chris Ross in PR 26989. 2004-09-18 11:41:08 +00:00
martin 06e56dc6b2 Add support for PCI-X version of LSI FC929; from Bert Kiers in PR kern/26836. 2004-09-18 08:52:50 +00:00
martin 9d347457c2 Regen (FC929X added) 2004-09-18 08:48:29 +00:00
martin 7a56ae33d2 Add LSI FC929 (aka FC929X); from PR kern/26836. 2004-09-18 08:47:46 +00:00
jdolecek 3e385f3b90 vinumioctl():
actually, those return statements were reachable, so put them back to the
appropriate case statements, and add some break statements for readability
2004-09-18 07:38:26 +00:00
rtr 42dc449815 + add arch specific flags for ati driver should resolve pr#25918
XXX
This pr remains in feedback because I never did get confirmation that
this change resolved the problem.  People are free to test it and if
desired request a pull up to 2.0 branch.  I will not be requesting the
pullup.
2004-09-18 06:49:27 +00:00
itohy 05d92b70c7 Make sure the string dollar NetBSD doller is stored literally. 2004-09-18 03:32:30 +00:00
mycroft 18f4edd320 We don't need to handle the "cold" flag here. 2004-09-18 02:21:33 +00:00
mycroft 7e54a3ad57 If we need to poll, set SCSIPI_ADAPT_POLL_ONLY rather than a homegrown flag. 2004-09-18 02:18:39 +00:00
mycroft a7aa9498f3 Minor rearrangement. Whitespace and #include cleanup. 2004-09-18 00:21:03 +00:00
mycroft 8f93b96f00 Standardize some variable names and the calling pattern for scsipi_command().
Use void pointer casts.
2004-09-18 00:08:16 +00:00
itohy 829103b30f Make it work again.
Hi, drochner!
2004-09-17 23:59:33 +00:00
mycroft 1e243afe67 Remove the "xfer" argument to scsipi_command(). 2004-09-17 23:43:17 +00:00
mycroft cdc20e6ce8 In places where we've already called scsipi_make_xs(), call scsipi_execute_xs()
directly rather than going through scsipi_command().
2004-09-17 23:35:13 +00:00
enami 006eb65868 s,contro,&l, in a comment. 2004-09-17 23:32:09 +00:00
mycroft ba781da1dc Change the way bustype_cmd is used. Rather than having it be responsible for
calling scsipi_make_xs() and scsipi_execute_xs(), instead push these into
scsipi_command.  Make bustype_cmd and PHOLD/PRELE be called from
scsipi_execute_xs().  This allows us to create a xfer structure -- possibly on
the stack -- and call scsipi_execute_xs() directly.
2004-09-17 23:30:22 +00:00
enami 53d0cedc9f Put the type of p_tracep back to void *; it is an implementation detail and
no need to expose to the rest of kernel.
2004-09-17 23:26:42 +00:00
enami 23114636eb Delete m_tag from a mbuf being non-pkthdr mbuf rather than newly becoming
pkthdr mbuf.
2004-09-17 23:24:03 +00:00
enami 6d7958ac59 Minimal support for mirror component. The relation between original and
mirror component learned from FreeBSD driver.
2004-09-17 23:21:53 +00:00
enami a3eb2d5952 - proc_alloc() already initializes p_stat to SIDL.
- copy unconditionaly inherited p_flag bits in a single place.
2004-09-17 23:20:21 +00:00
mycroft bd9548b268 Oops; fix ssrestart(). 2004-09-17 23:13:02 +00:00
mycroft 8b6c2af171 Do not manipulate xs->bp in "generic" code -- do it only in the psw_done
routine.  As part of this, pass down our pre-parsed error code -- though this
interface will probably change later to accomodate better error handling.
2004-09-17 23:10:50 +00:00
enami 45bae472de Whitespace nit. 2004-09-17 23:04:02 +00:00
enami 41122731c8 Redo part of rev. 1.10. 2004-09-17 21:54:28 +00:00
yamt 9555030270 make free page queue filo rather than fifo.
data in pages freed more recently are more likely on cpu cache.
2004-09-17 20:46:03 +00:00
jdolecek 9acf283bdf vinum_super_ioctl(): refuse unknown ioctls, rather than pretending
success; this fixes panic caused by null pointer dereference in
spec_open() after DIOCGPART ioctl call and PR bin/26981 by Simon Hitzemann

while here, also remove not reachable return statements, and also
return EINVAL for ioctl to unknown DEVTYPE()s

XXX vinum code is !@#$%^
2004-09-17 19:21:03 +00:00
itojun 0f8f9a1f56 deal with PCMCIA_TPCE_IO_RANGE_ADDRSIZE_NONE and
PCMCIA_TPCE_IO_RANGE_LENGTHSIZE_NONE properly.  enami
solves kern/26726.
2004-09-17 18:42:41 +00:00
wrstuden 699e5d41fb In procese_menu, make sure we initializie the menus
_before_ we access the MENUS macro. Otherwise we get a segfault.
2004-09-17 18:27:28 +00:00
wrstuden e22217703e Catch up with current menuc. 2004-09-17 18:16:44 +00:00
wrstuden af7a153178 Scoot a menu so it fits better in an xterm. 2004-09-17 18:16:31 +00:00
wrstuden 3f87739bc4 Add parenthesis to silence a compiler warning. 2004-09-17 18:15:01 +00:00
xtraeme 37db99c68f Regen for GeForce FX 5700 LE. 2004-09-17 18:05:27 +00:00
xtraeme 0c35004c2f Add GeForceFX 5700 LE and regen. 2004-09-17 16:04:17 +00:00
skrll f7155e40f6 There's no need to pass a proc value when using UIO_SYSSPACE with
vn_rdwr(9) and uiomove(9).

OK'd by Jason Thorpe
2004-09-17 14:11:20 +00:00
yamt 22ce35857e fix blks command.
- use 64-bit variables for lbns.
- correct file block offsets in the case of absent indirect blocks.
2004-09-17 12:18:55 +00:00
yamt 4c7a64e02d make this compile with OHCI_DEBUG without EHCI_DEBUG. 2004-09-17 10:55:07 +00:00
bouyer cdc0918196 In case of error, reset the channel with AT_RST_NOCMD. We know the reset
won't abort any command at this point.
2004-09-16 20:52:43 +00:00
erh 4ed261aea9 Add a couple cross-references to make similar ctl commands easier to find. 2004-09-16 18:02:27 +00:00
drochner ea827e5146 forgot one ISACF_*_DEFAULT conversion, noticed by Nick Hudson 2004-09-16 16:08:27 +00:00
snj 9dfe2a1b3c Postfix 2.1.5 is out. 2004-09-16 15:59:52 +00:00
pooka 2610e5ed8b file 4.10 2004-09-16 13:52:19 +00:00
pooka d22e9f2216 conflict therapy 2004-09-16 13:49:07 +00:00
pooka 1eb570c83b file 4.10
minor fixes and improvements
2004-09-16 13:43:21 +00:00
ragge 405ff27fa4 Regen. 2004-09-16 13:09:59 +00:00
ragge b592635459 Add S2io 10 Gigabit ethernet adapter. 2004-09-16 13:08:51 +00:00
martin 657b6abe1d Do not count ipackets twice. From Dave Barnes in PR port-i386/26906. 2004-09-16 10:02:59 +00:00