summaryrefslogtreecommitdiff
path: root/sys/dev
AgeCommit message (Collapse)Author
2003-06-25add topic97b support; from netbsd and tested by Pedro la Peu <pedro@am-gen.org>Michael Shalayeff
2003-06-25fix all the _BITS and their useMichael Shalayeff
2003-06-25implement new means of manipulating buf queues, bufq.Ted Unangst
accessed with BUFQ macros, bufq structs support extensible, potentially changable algorithms and queue formats. the current default scheme should support nice priority based queuing, but is missing some vfs_bio.c support. only on wd.c for now, other drivers are easy converts. as a side bonus, this makes the driver code look cleaner. idea for the name comes from netbsd, but this scheme is incompatible. thanks to various people for testing. ok grange@
2003-06-25Restore the original wdcdebug_mask instead of clearing DEBUG_PROBE whenHenric Jungheim
done with it. This makes "wdcprobe()" consistent with "wdcattach()". ok grange@
2003-06-25Extend the sparc bus_space_tag_t to store access endianness in it, andMiod Vallat
adapt all bus_space functions to do proper endianness conversion whenever necessary, except for the raw ones. This allows us to remove the forced endianness conversions in if_wi. with help from and ok mickey@
2003-06-25Let the stp driver use different bus_space_tag_t for its own device access,Miod Vallat
and for access to the pcmcia windows from the pcmcia drivers.
2003-06-25#include <machine/intr.h> is not necessary here.Miod Vallat
2003-06-25a bit whitespace/tab KNF while I'm hereHenning Brauer
2003-06-25support Moxa C104HHenning Brauer
from Raul Aldaz <raul.aldaz at grupocarreras.com> with minor polishing by me, thanks!
2003-06-25regenHenning Brauer
2003-06-25Moxa C104HHenning Brauer
2003-06-24Add a "where" argument to the sparc64 interrupt code. This lets usHenric Jungheim
associate a name with each interrupt handler. This is not visible outside the kernel (yet). ok jason@
2003-06-23no need for an explicit <machine/intr.h> inclusionMichael Shalayeff
2003-06-23Split the stp driver into its core, and md attachment routines, and provideMiod Vallat
attachment routines for sparc and sparc64.
2003-06-18For HPT370 chips disable interrupt prediction and correct timingAlexander Yurchenko
value for UDMA5. Enable UDMA5 for HPT370A again since it's safe now. Work by Otto Moerbeek <otto@drijf.net> via PR 3282. Help in testing from gluk@.
2003-06-18Switch to fbxxx() API.Miod Vallat
cgsix tested and ok jason@, the rest tested by me.
2003-06-18we already set the rx descriptor length to accept vlan packets... justJason Wright
need to advertise the capability; tested by tsar at polarcap dot org
2003-06-17Sync with share/misc/license.template and add missing DARPA creditTodd C. Miller
where applicable.
2003-06-17New driver and wsdisplay type for the Weitek Power9000 and Brooktree Bt445Miod Vallat
combination, found on the Tadpole SPARCbook 3 only (later model use the Power9100 and are already supported). Untested for lack of hardware and volunteers, but carefully crafted; if it does not work out of the box, this should be a good starting point. "worth having in the tree" millert@
2003-06-17A few typos in the Bt initialisation sequence were introduced in 1.29, andMiod Vallat
curiously this only broke some cgthree clones, but not the genuine Sun's...
2003-06-16Provide more "dead_symbol + space -> symbol" entries in the compose table;Miod Vallat
fixes PR #3295
2003-06-16syncTheo de Raadt
2003-06-16remove bullshitTheo de Raadt
2003-06-16Avoid a NULL deref in cnkqfilter() for certain cases. Modeled afterTodd C. Miller
cnwrite(); closes PR 3317.
2003-06-16syncKevin Lo
2003-06-16add NS SC1201 socKevin Lo
2003-06-16- limited number of processes per systraceJun-ichiro itojun Hagino
- escape fixes for special characters markus, sturm ok. from provos
2003-06-16be more sane w/ byte swapping and leave the le archs at the same behaviour ↵Michael Shalayeff
and give be archs a better chance at getting the correct mac address as tested on the mac and hppa where mac has an additional bug w/ the phy bit still remaining and hppa seems fine; jason@ ok
2003-06-13Sync with FreeBSD's "em".Henric Jungheim
ok deraadt@
2003-06-135 fxp versions (only way to find out of the HPNA versions work, is to put ↵Theo de Raadt
them in here)
2003-06-13syncTheo de Raadt
2003-06-13two more fxpTheo de Raadt
2003-06-13syncTheo de Raadt
2003-06-13+VIA VT8375 Host-PCIMarc Espie
got a machine with one...
2003-06-13regenHenric Jungheim
2003-06-13One more Intel Gig card (quad)...Henric Jungheim
2003-06-13turn these DIAGNOSTIC into NE_DEBUG. there is no really need to fillFederico G. Schwindt
dmesg with it under normal circumstances.
2003-06-13attach/support yet-another-DFE670TXD (0x0149/0x4530/004005)Philipp Buehler
fgsch@ ok
2003-06-13regenBrad Smith
2003-06-13Add/fix some PCI ids for Intel gig hardware. pcidevs diff from henric@.Brad Smith
deraadt@ ok
2003-06-12regenMichael Shalayeff
2003-06-12a couple more ti cardbus bridgesMichael Shalayeff
2003-06-12several lusers suggested it should work none capable of definately answering ↵Michael Shalayeff
the question does it play the damn music. see if anybody report problems w/ it now
2003-06-11RegenMiod Vallat
2003-06-11Typo in QLogic descriptionsMiod Vallat
2003-06-09more 3/4 cleanup for pefoTheo de Raadt
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-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