summaryrefslogtreecommitdiff
path: root/sys/dev
AgeCommit message (Collapse)Author
2006-04-21repair intr establish error printfMichael Shalayeff
2006-04-21remove duplicate defines. another find by lint.David Gwynne
2006-04-21implement outgoing interrupt pipes, lets my creative voip blaster workJolan Luff
from freebsd, ok dlg@
2006-04-21remove the ami_inquire prototype. the function doesnt exist and its notDavid Gwynne
used anywhere. thanks lint. thint.
2006-04-21recognize the BCM5752 A2Brad Smith
2006-04-20open/close/cdevsw code goes bye bye; ok mbalberTheo de Raadt
2006-04-20Fix various printf() issues: too many arguments, not enough arguments, argumentMiod Vallat
order reversed, wrong modifiers. ok deraadt@ marco@ mickey@
2006-04-20Make these compile again.Miod Vallat
2006-04-20printf() calls with the format string spanning several lines should not haveMiod Vallat
trailing commas between string chunks, for this has unexpected effects.
2006-04-20Cast unsigned to signed when you want to check for negative values.Miod Vallat
2006-04-20ANSI function declarationsMartin Reindl
prompted by brad@
2006-04-20marco hates typedefs as much as i do, so he asked me to clean mfi like iDavid Gwynne
just did with ami. this gets rid of the typedef for the ccb lists. also uses TAILQ_FIRST to get ccbs off the freelist. this is a proactive fix for a lint teary.
2006-04-20return after goto wont be reached, so remove it. found by lint.David Gwynne
2006-04-20get rid of the ccb list typedef. while here switch to TAILQ_HEAD insteadDavid Gwynne
of TAILQ_TAIL when pulling ccbs off the free list since it does less "interesting" things with pointers. changes prompted by lint bitching.
2006-04-20remove some useless code found by lint.David Gwynne
2006-04-20- remove the 'needs-flag' from the udcf entry in files.usb and the #ifdef NUDCFMarc Balmer
idom in udcf.c - declare t1 to t7 as static to prevent the risk of name clashes - add two missing function prototypes help and ok miod@
2006-04-20regenBrad Smith
2006-04-20add the Belkin F5D6020 802.11b WLAN card.Brad Smith
2006-04-20this is the proper fix for krws bug. i feel kinda bad taking the commitDavid Gwynne
from him since he did most of the hard work on it. when marco added the sensor for logical disks he added some extra bits to the softc, but inside an #if NBIO > 0 block. NBIO is set by "bio.h" which was included in ami.c, but not in ami_pci.c which is what is actually responsible for getting the softc allocated. because of this the softc in the rest of the system was smaller than what ami.c needed, so technically it was using unallocated memory. in krws case that unallocated space was filled with garbage, hence his panic. the moral of this story is do NOT put #if inside structs that are passed between different source files. its too easy to have this kind of screwup happen.
2006-04-19Driver to decode the DCF77 time code using a USB attached Gude ExpertMarc Balmer
mouseCLOCK device; without a mechanism to pass data out. ok deraadt
2006-04-19move the 82573E_KCS PCI id so it is grouped with the other 82573 ids.Brad Smith
2006-04-19Make sure sc_first_poll is initialized to 0 so sensor_task_threadKenneth R Westerback
doesn't blow up on first call to ami_refresh(). There's probably a better fix, but this stops the crashes while that fix is found. ok dlg@
2006-04-18- establish interrupt after all dma resouces are successfully allocatedMartin Reindl
- wrap an assertion with #ifdef DIAGNOSTIC - call bus_dmamap_sync for mdldmap at POSTWRITE for consistency - pass proper dmamapsize for mdldmap - Call bus_space_{read,write}_1() directly to access ncr53c9x common registers - Unload xfer dmamap in pscsp_dma_stop() - Free resources if attach fails From NetBSD
2006-04-18add a few more Intel Gig PCI ids.Brad Smith
Some of these are from jason@ and the rest are from the Linux PCI ids page.
2006-04-18Make output in sysctl pretier.Marco Peereboom
2006-04-18regenBrad Smith
2006-04-18add a few more Intel Gig PCI ids.Brad Smith
Some of these are from jason@ and the rest are from the Linux PCI ids page.
2006-04-18It helps to initialize a queue before usage.Marco Peereboom
2006-04-18Display logical disk status in sysctl. Now one can use sensorsd toMarco Peereboom
monitor disks on ami. Ex.: hw.sensors.0=sd2, logical disk, WARNING, drive, degraded Requested deraadt@ ok dlg@
2006-04-18Actually add ccbs to the queue.Marco Peereboom
Fix the error path for mfi_init_ccb. Alter dmamap for io.
2006-04-17Reorganize the 0xfe vendor register block, adding new devices and tighteningMark Kettenis
checks on existing devices. "slap it in" deraadt@
2006-04-17Sprinkle more debug. Remove 64 byte boundary; it doesn't seem to like it.Marco Peereboom
Hack around 64 byte boundary for the frames for now.
2006-04-17If there is a timeout while writing to the PHY inBrad Smith
sk_marv_miibus_writereg() then print a message indicating so, as done in the XMAC case.
2006-04-17looks like 0x20 on sch5017 is a 5v input, not 2.5vTheo de Raadt
2006-04-17regenBrad Smith
2006-04-17Add the Turtle Beach vendor id, Turtle Beach Santa Cruz id and theBrad Smith
Cirrus Logic CS4615 id. From NetBSD
2006-04-17Coviery CID 1108: Avoid NULL pointer deref.Brad Smith
Coverity CID 1105: Avoid NULL deref. From NetBSD
2006-04-17Match ICH7R SATA which while untested should work.Jonathan Gray
2006-04-17regenJonathan Gray
2006-04-17Correct id for ICH7R SATA.Jonathan Gray
2006-04-17Setup ccbs and clean up ccb structure.Marco Peereboom
2006-04-16Oops, make mfi_allocmem always use 64 byte boundaries since frames have toMarco Peereboom
have that alignment. It doesn't matter for the other consumers of the function.
2006-04-16Add frame memory and sglist allocation.Marco Peereboom
2006-04-16Use __func__ to get the current function name, no need to declare a variableMiod Vallat
for this...
2006-04-16Use aml_bitpos() when copying a field into a buffer.Mark Kettenis
ok marco@
2006-04-16Introduce sti_rom_size() which will compute the size of a card's rom, andMiod Vallat
use it instead of duplicating the same logic in 3 places. ok mickey@
2006-04-16Preliminary driver for the Colorgraphic VoyagerVGA pcmcia frame buffer;Miod Vallat
more like a proof of concept than anything useful, due to the slowness of the beast, but deraadt@ insists this gets in the tree. Written with matthieu@'s help.
2006-04-16Allow a non-console wsdisplay to be detached if necessary.Miod Vallat
2006-04-16If we stumble on a card with no declared functions, try attaching it anyway,Miod Vallat
in case some driver knows better.
2006-04-16Make memory access use macro.Marco Peereboom