summaryrefslogtreecommitdiff
path: root/sys/dev
AgeCommit message (Collapse)Author
2009-08-25Don't setup multicast when in promiscuous mode. From Brad.Stuart Henderson
This was in the diff Brad sent to tech@ and had tested by others and should have been in my previous commit, but I was working from and testing an earlier version of the diff. I've retested with multicast/promisc on my dual 82550.
2009-08-24- fix format strings for values that are daddr64_tJasper Lievisse Adriaanse
ok otto@, agreed by deraadt@
2009-08-24- remove double \n in panic stringJasper Lievisse Adriaanse
2009-08-23- turn a printf(), which predated a panic()-function that could take ↵Jasper Lievisse Adriaanse
printf-like arguments, into panic() and remove call to Debugger() hint and ok deraadt@
2009-08-22There is no schsio_print() so get rid of the prototype.Michael Knudsen
2009-08-21Back-out support for iCH10 chips from em(4).Dariusz Swiderski
It seems that new phy detection code breaks some of the newer fiber cards. found by Brad, ok by claudio@
2009-08-21Remove unused codeJordan Hargrave
2009-08-20- fix varargs after dmesg tweakingMartynas Venckus
- intrline is not a string ok jsg@
2009-08-19syncMatthieu Herrb
2009-08-19Trident Cyberblade XP2 as found in VTBook PCCard. ok marco@.Matthieu Herrb
2009-08-18Fix after readdisklabel() change.Matthias Kilian
Looks fine to miod@, who also reminded me to not forget to call flashunlock(sc).
2009-08-17All callers of qli_get_fw_state() bzero the mbox memory, no need to do itMiod Vallat
again with a wrong size. ok marco@
2009-08-17initialize retry to zero; otherwise if firmware sends odd val16Martynas Venckus
from the very beginning; we might never retry. ok mglocker@
2009-08-17the null check makes more sense when it's done before derefMartynas Venckus
ok marco@, jsing@
2009-08-17remove prototype of non-existent midi_get_hwif()Alexandre Ratchov
suggested by jsg@
2009-08-16remove use of BITS and BIT macrosJonathan Gray
2009-08-16tweak a switch statement to appease lintJonathan Gray
2009-08-16remove use of BITS and BIT macros.Jonathan Gray
2009-08-16start getting rid of some of these horrific bit macros, removeJonathan Gray
usage of BITS(). There is a binary change due to the way these macros are further used in the MASK_AND_RSHIFT specifically for ATW_SR_RFTYPE_MASK and ATW_SR_BBPTYPE_MASK.
2009-08-16remove moscom_get_status() as it not called or required.Jonathan Gray
2009-08-16remove prototype for uark_open for which there is no implementation.Jonathan Gray
2009-08-13add a shutdown hook to stop unsolicited responses and the CORB andJacob Meuser
RIRB DMA engines
2009-08-13Forgot to add break to the switch cases. Silly.Paul Irofti
Okay deraadt@.
2009-08-13Add wake/suspend support for pckbd(4).Paul Irofti
Patch initially from mlarkin@. KNF and refactoring by me. Suggestions and okay deraadt@.
2009-08-13Rewrite part of the promiscuous/multicast handling; tested by myself,Stuart Henderson
naddy@ and several tech@ readers. From Brad.
2009-08-13add ioctls to allow userland to initiator a probe or detach of devices itDavid Gwynne
is providing to the kernel. this uses the req api i just added, otherwise attaches and detaches would be run from the context of the process issuing the ioctls, which then will not be able to answer them since theyre busy running the attach/detach in the kernel.
2009-08-13Replace the error strings that were being passed around with much simplerTheo de Raadt
errnos. Note that the error strings are being ignored, since we long ago decided to not spam the console, and there is no other nice way to use the errors (without changing the ioctls to pass it back) The errno is now useful, since we can pass b_error from failing IO up, and the drive can decide how to use that ok miod
2009-08-13- consistify cfdriver for the ethernet drivers (0 -> NULL)Jasper Lievisse Adriaanse
ok dlg@
2009-08-13set ITSDONE on the xs before calling scsi_done()David Gwynne
2009-08-12Add wake support to acpihpet(4).Paul Irofti
Patch initially from mlarkin@. KNF and refactoring by me. Okay deraadt@.
2009-08-12Optimize Syndrome calculation, 30% speedup on writesJordan Hargrave
ok marco@
2009-08-12only pull in the source file if it is needed, so that all the othersTheo de Raadt
we use compile brilliant cnst, please learn to test better
2009-08-12revert my change to m_cluncount which tries to prevent the systemDavid Gwynne
running out of mbufs for rx rings. if the system low watermark is lower than a rx rings low watermark, we'll never send a packet up the stack, we'll always recycle it. found by thib@ on a bge sadface
2009-08-12Let this work with C99 compilers that do not define __GNUC__Jonathan Gray
ok niklas@
2009-08-12Mark sensor as invalid if the i2c transaction to read its value fails.Mark Kettenis
ok deraadt@
2009-08-12ix currently relies on a gcc extension that removes a commaJonathan Gray
if no arguments are passed to a variadic macro. Create a seperate non variadic macro for this fixed argument case. No binary change. ok reyk@
2009-08-12Backing store for ega and vga virtual console is not allocated until theMiod Vallat
second vc is created. However, it was allocated using the geometry of the second vc to allocate backing store for the first. Be sure to use the proper values in case geometries differ.
2009-08-12New lisa(4) driver for ST LIS331DL accelerometer in HP 2133 Mini-Note PC; ↵Constantine A. Murenin
ok deraadt
2009-08-12if we get dangerously low on clusters during interrupts, we needDavid Gwynne
to free some for use on the rx rings on network cards. this modifies m_cluncount to advise callers when we're in such a situation, and makes them responsible for freeing up the cluster for allocation by MCLGETI later. fixes an awesome lockup with sis(4) henning has been experiencing. this is not the best fix, but it is better than the current situation. yep deraadt@ tested by henning@
2009-08-12always mark an xs complete if we're about to return COMPLETE to theDavid Gwynne
midlayer. always call scsi_done on the xs too.
2009-08-12though shalt complete the xs (ie, call scsi_done with it) before returningDavid Gwynne
COMPLETE in a scsi_cmd handler. found by thib when testing my midlayer changes.
2009-08-12fix unused widgets to contain the actual ids; ok jakemsr@Martynas Venckus
2009-08-11don't take chip revision as a pointer to the string; swap it with xnameMartynas Venckus
ok naddy@
2009-08-11More exact matching for Sunix 40XX 4 and 8 port units so that we can fixTheo de Raadt
their baud rate multipliers.
2009-08-10The start function did enough so the shutdown hook is not neededTheo de Raadt
2009-08-10hook no longer neededTheo de Raadt
2009-08-10This does not need a shutdown function either (though the equilevantTheo de Raadt
to stop is not called because the ioctl function is a masterpiece)
2009-08-10More cases of shutdown hooks not needed after card is already stopped. InTheo de Raadt
these cases the xxstop function is a bit more complicated and has a flag of some sort, but the use of that flag does not matter; DMA is already ceased ok dlg
2009-08-10More cases of shutdown hooks not needed after card is already stopped. InTheo de Raadt
these cases the xxstop function is a bit more complicated and has a flag of some sort, but the use of that flag does not matter; DMA is already ceased ok dlg
2009-08-10USB network devices do not DMA in a way that requires a shutdown functionTheo de Raadt