summaryrefslogtreecommitdiff
path: root/sys
AgeCommit message (Collapse)Author
2003-04-03Back out my last change, which was incorrect or incomplete.Cedric Berger
States can still be created without a rule for people who have only NAT rules, for example.
2003-04-03until now, the queue ID and the priority were tied together with PRIQ. thisHenning Brauer
diff changes that. with PRIQ, the queues are in an array, with the priority as key. removing the tie means we cannot access the array with (queueID - 1) as key any more but need to traverse the array until the queue ID matches. As the array has a maximum of 16 entries, traversing linear is okay. a new queue ID allocation algorithm coming soon will require this. ok dhartmei@ kjc@
2003-04-03Remove (state->rule.ptr != NULL) tests: this is always true now.Cedric Berger
ok dhartmei@
2003-04-03HPUX, HP/UX -> HP-UXJason McIntyre
ok mickey@
2003-04-03remove remaining lines not needed by openbsd.Kenjiro Cho
2003-04-02DZ-11 (or the DZ-11 alike in the VS4000/VLC anyway) only interrupts whenJason Wright
the RX fifo goes from 0 -> 1 characters. If the FIFO is filled (eg. during autoconf where interrupts are cleared), the dz will never interrupt for rx again. Solution: drain the fifo on first open. ok hugh
2003-04-02Don't allow the DZ-11 RX interrupt to be masked (if a DZ-11 interrupt was seenJason Wright
during the "wait for a second looking for annoying interrupts" period, it would mask it off... oops =)
2003-04-02add support for the other Sun Crypto 1000; from sam at errno dot comJason Wright
2003-04-02betterJason Wright
2003-04-02syncJason Wright
2003-04-02another Sun Crypto 1000 IDJason Wright
2003-04-02PCI_CAP_MBI should really be PCI_CAP_MSIAlexander Yurchenko
ok jason@
2003-04-02o sanity check mbuf earlier.Todd C. Miller
o return errno, not NULL. o add some missing error values o proper crypto_freereq() in ip_ipcomp.c From Patrick Latifi; OK angelos@
2003-04-02make it compile after tcpstates changes elsewhereMichael Shalayeff
2003-04-02remove dead codeHenning Brauer
2003-04-02remove what is left over from the control class stuffHenning Brauer
ok kjc@
2003-04-01When using bpf(4) in immediate mode, and using kevent(2) to receiveArtur Grabowski
notification of packet arrival, the usermode application isn't notified until a second packet arrives. This is because KNOTE() calls filt_bpfread() before bd_slen has been updated with the newly arrived packet length, so it looks like there is no data there. Moving the bpf_wakeup() call for immediate mode to after bd_slen is set fixes it. From: wayne@epipe.com.au in pr 3175
2003-04-01use PAGE_MASK instead of PAGE_SIZE-1Michael Shalayeff
2003-04-01Unused variable.Artur Grabowski
Pointed out by John L. Scarfone <j0@cox.net>
2003-04-01Add a couple of new pci subclasses and caps from NetBSDAlexander Yurchenko
ok jason@
2003-04-01avoid memory leak on redirect header generation. from kame.Jun-ichiro itojun Hagino
2003-03-31Protect tdb access w/ spltdb; Patrick LatifiTodd C. Miller
Since bridgeintr_frame() is called at splsoftnet() this isn't a big deal but should still be fixed. jason@ OK.
2003-03-31Avoid using FREEd data when we get a crypto error; Patrick LatifiTodd C. Miller
Also move the session ID reset into the crp_etype == EAGAIN case (noticed by angelos@). OK jason@ and angelos@
2003-03-31Add missing splx; Patrick LatifiTodd C. Miller
jason@ OK
2003-03-31Only delete rule structure when no state refer to it.Cedric Berger
Fix a bunch of issues. Removal of unneeded (r != null) tests coming soon... ok dhartmei@
2003-03-31remove queue ID assigning code. it's dead since some time as we assign queueHenning Brauer
IDs in userland already.
2003-03-30Ensure that all files in /kern end with a newline (machine, model,Bruno Rohee
osrelease and ostype were not). ok tedu@
2003-03-30let this compile with TCPDEBUGTed Unangst
ok millert@ deraadt@
2003-03-30Fix probing of dual channel 7899 with some fixes from current FreeBSDKenneth R Westerback
code, plus an extra ahc_flush_device_writes(). ok deraadt@ tdeval@
2003-03-30Use snprintf() to simplify device name construction, removing nowKenneth R Westerback
superfluous variables and the function 'number()'. ok deraadt@ and millert@
2003-03-30Delete unused local version of strncat.Kenneth R Westerback
ok mjacob@.
2003-03-30As long as I am here pull in some useful changes from NetBSD.Kenneth R Westerback
1) Eliminate some magic numbers. 2) Eliminate some double semi-colons. 3) Rename iha_scsi_req_q to iha_scb.
2003-03-30better MAXSSIZMichael Shalayeff
2003-03-29A few final (I hope) tweaks to the dma fixes.Kenneth R Westerback
1) Return XS_DRIVER_STUFFUP if request sense cannot be loaded. 2) Try to avoid bus_dmamap_unload()'ing maps that have already been unloaded. 3) Try to avoid bus_dmamap_load()'ing maps that are loaded. 4) Be extra paranoid and ensure bus_dmamap_sync()'s are done before a bus_dmamap_unload().
2003-03-29Another chunk of bus_dma fixes. May actually approach correctness now.Kenneth R Westerback
1) Actually map and sync scatter gather list that is also DMA'd. 2) Actually map and sync request sense buffer. 3) Actually POSTREAD/WRITE sync data buffer after I/O, rather than skipping it because the I/O was successful and no chars were left to xfer. 4) Eliminate extra fields, clarify some names, reorder fields to clarify their use. 5) Put common scatter gather preparation logic into separate function. 6) If insertion of request sense command fails, complete active command with XS_SENSE, but zero'd sense data. 7) Eliminate physical address arithmetic as much as possible, centralizing remaining manipulations in code actually sending addresses to adapter.
2003-03-29Very limited support for Promise PDC20376 SATA. Only parallel ATAAlexander Yurchenko
compatibility mode works for now. Based on tests by Jedi/Sector One <j@pureftpd.org>.
2003-03-29Use sc_print_addr() where possible to improve messages.Kenneth R Westerback
Put debug messages in #ifdef sections. Eliminate a less than useful error message.
2003-03-29ubchist is not a fully cooked kadaver and though use the other well formed ↵Michael Shalayeff
pdhist one until ubc gaets back. art@ ok
2003-03-29try to blinkMichael Shalayeff
2003-03-29fetch the device address list for where supported; say 16 addresses is ought ↵Michael Shalayeff
to be enough for every case. dim off the disk led amongst the other lights
2003-03-29add some author refs from the older versions of these from much older projectsMichael Shalayeff
2003-03-29nothing uses UADDRMichael Shalayeff
2003-03-29bus_space_vaddr and related definitions (needs actual implementations)Michael Shalayeff
2003-03-29allow attaching onto phantomas. check graphics id to seed out the medusa ↵Michael Shalayeff
fddi. fix some debugging printfs
2003-03-29fix fpu printout and remove dead code pieceMichael Shalayeff
2003-03-29some mount stinger onto phantomas and there is not need to flag stingers tooMichael Shalayeff
2003-03-29device/vendor id is always < 7 chars. store it in the array and save on the ↵Michael Shalayeff
extra pointer average of 50% space savings. regen the eisadevs
2003-03-29add some more eisa devicesMichael Shalayeff
2003-03-28unbreak after SiS pcidevs changeTodd C. Miller
2003-03-28add support for the i830 that has 8 pci irq lines configure by the extra ↵Michael Shalayeff
0x68 pci config reg. does not change the behaviour for the other chipsets; ho@ testing