summaryrefslogtreecommitdiff
path: root/sys
AgeCommit message (Collapse)Author
2003-06-11Much of the sbus, psycho, and schizo bus_dma code is the same, so let'sHenric Jungheim
call the real implementation functions directly instead of duplicating lots of code that only calls the real stuff anyway. tested by miod@ henning@ ok jason@
2003-06-11The "min" and "max" functions cast to "u_int", which can lead to surprisingHenric Jungheim
results. Use the MIN/MAX macros instead. tested by miod@ ok jason@ millert@
2003-06-11- sync up MLD declaration with RFC3542 (s/MLD6/MLD/)Jun-ichiro itojun Hagino
- routing header declaration with RFC3542 (note: sizeof(ip6_rthdr0) has changed!) also, sync up with RFC2460 routing header definition (no "strict" source routing mode any more) part of advanced API update (RFC2292 -> 3542). markus, todd, millert, henning ok
2003-06-10It would kind of help if the flags member was initialized, otherwise randomDaniel Hartmeier
rules create state. Truly hard to spot. Unless you run the code, of course.
2003-06-10debug0 and debug1 are defined elsewhere -- make 'em extern hereMichael Shalayeff
2003-06-10don't allow /dev/crypto to be opened ifndef CRYPTO (the thread hasn't beenJason Wright
started, so all operations will hang later on anyway).
2003-06-10o make mount(2) return EROFS, not EPERM if ffs is dirtyTodd C. Miller
o document EROFS in man page (2 possible causes) o recognize EROFS in mount_ffs and try to give a reasonable error message deraadt@ OK
2003-06-10- rip out support for a.out and 32-bit kernelsBrad Smith
- cleanup and simplify Makefile jason@ ok
2003-06-09more 3/4 cleanup for pefoTheo de Raadt
2003-06-09pefo 3/4 licence cleanupsTheo de Raadt
2003-06-09Attempt to resolve byte order confusion in nat code once and for all.Ryan Thomas McBride
- pf_get_sport() leaves the translated port in the packet in network byte order - merge code for the p1=0 p2=0 case and static-port case in pr_get_sport() NOTE: people who use the static-port keyword in their pf.conf need to make sure pfctl is updated along with their kernel.
2003-06-09typo (need to check ti6 instead of ti)Jun-ichiro itojun Hagino
2003-06-09backout following:Jun-ichiro itojun Hagino
>use m_pulldown not m_pullup2. fix some bugs in IPv6 tcp_trace(). PR 3283 fixed (confirmed)
2003-06-09Fix erroneous handling of i/o's during a reset.Kenneth R Westerback
a) Set xs->status rather than cmd_tables->status because there will be no interrupt processing to move it from cmd_tables->status to xs->status. b) Set cmd_c.status to correct value (CMDST_SENSE_DONE) when an active sense command is reset. c) Don't put a reset command from the ready queue into the free_list twice, once in siop_scsicmd_end() and once manually. Condition a) meant that the scsi layer was seeing successfully completed i/o's (xs->error == XS_NOERROR) when they were in fact reset and should have had xs->error == XS_TIMEOUT or xs->error == XS_RESET. This meant lost data on output, and random or zero'ed data on input. Condition b) meant that the wrong bus_dmamap_sync() was called, though the actual action was apparently identical. Condition c) meant that the free_list could become corrupt. The problem was discovered by pb@ on a heavily loaded server that experienced timeouts. This fix was tested by pb@ and henric@ to prove it did not affect normal processing. If nothing else it will provide better error messages if the problem is ever encountered again. Probably a good candidate for -stable if pb@ can successfully reproduce his timeout problems and not have his server crash.
2003-06-08snprintf needed here.Miod Vallat
2003-06-08Returns the correct array size.Cedric Berger
2003-06-08A table in an anchor creates a real anchor: pfctl -sA works.Cedric Berger
The following two pfctl functions work with an "-a" option: - pfctl [-a foo[:bar]] -sT - pfctl [-a foo[:bar]] -FT ok dhartmei@
2003-06-08Enable gus again now that it won't panic during probe.Miod Vallat
2003-06-08Fix probe for GUS MAX cards; from NetBSD.Miod Vallat
mickey@ ok
2003-06-08Do not hardcode the dma channel to 1, use the softc settings instead.Miod Vallat
mickey@ ok
2003-06-07print minor version as 02d; from Adam Montague via pr 3284; matches what ↵Michael Shalayeff
freebsd does as well
2003-06-07Experimental support for Intel 31244 SATA, only parallel ATA mode yet;Alexander Yurchenko
from NetBSD.
2003-06-07Add a generic channel setup routine for SATA devices; from NetBSDAlexander Yurchenko
2003-06-07syncAlexander Yurchenko
2003-06-07Add 3DFX Voodoo5 and TI TSB43AB23 IEEE1394, found in dmesg fromAlexander Yurchenko
Alexandre H <openbsdah@wanadoo.fr>.
2003-06-07syncAlexander Yurchenko
2003-06-07Remove clause 3.Hakan Olsson
2003-06-07Add a couple of Intel 875P chipset devices found in dmesg fromAlexander Yurchenko
Alexandre H <openbsdah@wanadoo.fr>.
2003-06-06- section reorderJason McIntyre
- new sentence, new line - some macro fixes
2003-06-06Do not bother taking care of the frame buffer flags in the softc, if theMiod Vallat
driver does not use any. Basically this changes all drivers but those that can handle a P4 card.
2003-06-06Fix a copied constant, mention why a number doesnt match linux, removeDale Rahn
duplicated line.
2003-06-06Add support for Intel ICH5/ICH5R IDEAlexander Yurchenko
2003-06-06There is no point in flushing the data cache all the time. It just createsHenric Jungheim
a lot of useless ecache traffic. testing by many ok jason@
2003-06-06Identify Pentium M CPUAndreas Gunnarsson
Recognize more feature flags deraadt@ ok
2003-06-06avoid M_WAIT in network stack; netbsd revision 1.13Jun-ichiro itojun Hagino
2003-06-06don't use M_WAIT in network stack. use M_PREPEND to keep m_pkthdr.Jun-ichiro itojun Hagino
(netbsd revision 1.7)
2003-06-06don't try to forward multicast packet to mif that went away; kameJun-ichiro itojun Hagino
2003-06-06initialize blocksize from the trigger_input routine; fixes a div by zeroFederico G. Schwindt
error. problem and patch by Gabriel Kihlman in PR/2856. millert@ ok.
2003-06-05untils this is sync'ed, correctly set mixer_class for CMPCI_OUTPUT_CLASS.Federico G. Schwindt
2003-06-05Cleanup and enable kauaiata DMA. Tables should be mostly saneDale Rahn
Please _TEST_.
2003-06-05Faster ramdac operation, by reducing the delay between register writes,Miod Vallat
according to some Power9x00 documentation.
2003-06-05Cleanup:Alexander Yurchenko
- don't include both sys/types.h and sys/param.h - spaces vs tab - kill trailing spaces ok drahn@
2003-06-053/4 knockout for peter galbavyTheo de Raadt
2003-06-05ATA100 driver for apple's new machines, aka kauai.Dale Rahn
This is working with udma on a 12" PBG4, but dma is disabled for now, too many hardcoded values. 'wdc...flags 0x1' will enable it.
2003-06-04The IIi/e chips have a DMA sync register that we have been ignoring. ThisHenric Jungheim
could lead to nasty races between PIO and DMA. tested by krw@ ok jason@
2003-06-04Delete UCB term 3. When there are other copyright owners, we affirmTheo de Raadt
that we can see no legal situation under which they could require that term to remain (ie. This is equivelant to us taking the old UCB file, removing term 3 as specified by UCB, then re-applying each diff afterwards from the various authors)
2003-06-04mop up some more 3/4 license issuesTheo de Raadt
2003-06-043/4 cleanup for aaronTheo de Raadt
2003-06-04clean up my copyright so it matches the templateNathan Binkert
2003-06-04Remove the advertising clause in the UCB license which BerkeleyTodd C. Miller
rescinded 22 July 1999. This got missed in the omnibus commit.