summaryrefslogtreecommitdiff
path: root/sys/dev
AgeCommit message (Collapse)Author
2009-07-19Include 0x4402 in the bbp id mapping table used on olderJonathan Gray
devices. http://bcm-specs.sipsolutions.net/BackPlane agrees.
2009-07-19clalloc() can't fail, so there's no need to handle failure cases.Bret Lambert
Change to void function. Also, no need to have global tty stats pointer, so just return it from clalloc, as the caller frees it immediately anyway. ok miod@
2009-07-18Don't forget to read the high bits I/O range register when registeringMiod Vallat
ppb resources in the parent extent. ok kettenis@
2009-07-18Remove redundant code for setting the maximum frame receive sizeStuart Henderson
and fix the appropriate code in gem_init_regs(). From Brad, tested by Brad (sparc64), todd@ (macppc).
2009-07-18reorder a switch block, no functional change but reduces the diffStuart Henderson
with FreeBSD. From Brad.
2009-07-18Simplify receive filter handling, from Brad.Stuart Henderson
Tested by Brad on sparc64, todd@ on macppc.
2009-07-18Rewrite the ioctl handling code and the receive filterStuart Henderson
handling to clean up the code and eliminate unnecessary resets. From Brad, promisc tested by Olivier Cherrier, promisc/multicast by me.
2009-07-18While detatching the device, workaround the case when a midiAlexandre Ratchov
entry is missing in cdevsw[], in which case vdevgone() is called with out of bounds argument. requested by dlg@
2009-07-18#include stdio.h for printf here also.Jonathan Gray
2009-07-18#include stdio.h for printf.Jonathan Gray
2009-07-17Cleaned up parsing of While loops; iterative If statementJordan Hargrave
ok marco@
2009-07-15missing va_end in aml_seterror; ok marco@Martynas Venckus
2009-07-15In sdmmc_intr_establish(), don't duplicate the `name' parameter.Michael Knudsen
Instead, just use the pointer, and don't free the pointer during sdmmc_intr_disestablish(). ok miod.
2009-07-15Removes the magic bit from re_init() and moves the commonChristian Weisgerber
flag to the top. No change with the actual cplus mode register setting being used with the controllers. From brad@
2009-07-15print interrupt string like com at puc doesTheo de Raadt
2009-07-15regenMark Kettenis
2009-07-15Add VMware virtual PCIE bridge (and adjust the virtual PCI bridge define forMark Kettenis
consistency).
2009-07-14Silence ``invalid NVRAM header'' message if the NVRAM header is three zeroMiod Vallat
bytes (as encountered on sgi). ok krw@ deraadt@
2009-07-14Kill structs and ioctls that were never implemented.Mark Kettenis
ok oga@, miod@, deraadt@
2009-07-12Assert copyright.Joel Sing
suggested by and ok marco@
2009-07-12Fix rebuild percentage so that it ranges from 0-99% rather than 1-100%.Joel Sing
ok marco@
2009-07-12Don't attach when the PROM didn't give us an interrupt. Fix printed messagesMark Kettenis
in error paths while I'm there. Eliminate a fairly useless local variable as well. ok miod@
2009-07-12In a error case in malo_init (e.g. can't load the firmware),Marcus Glocker
always call malo_stop which removes the previously registered interrupt handler from the cardbus interrupt handler chain. Otherwise, since malo_init gets called twice in a error case, our interrupt handler got registered twice and on the next device detach, just the last registered interrupt handler got removed, which leaves one left. That caused a kernel page fault trap as soon our "zombie" interrupt handler got called. Fix a typo while here.
2009-07-12Clean up debug droppings in sr_raid1_set_vol_state().Joel Sing
ok marco@
2009-07-12Enable hotspare rebuilds for softraid RAID1.Joel Sing
ok marco@
2009-07-12Add support for global hotspares to softraid.Joel Sing
ok marco@
2009-07-12Add some missing GEM_SBUS_CONFIG bits.Mark Kettenis
ok miod@, jsg@
2009-07-12If devices have roamed, complain once then update the metadata, just likeJoel Sing
we do for roaming volumes. ok marco@
2009-07-11Nuke an '__inline' that upset clang. Multi-line function should notKenneth R Westerback
be inline anyway. Found by jsg@. The last kernel file that clang complains about. ok marco@ jsg@
2009-07-11- Add some new feature flagsStuart Henderson
- Add defines for newer chipsets From FreeBSD via Brad. No functional change, needed for future work. ok naddy@.
2009-07-11Ensure that we hold the appropriate lock before callingJoel Sing
sr_ioctl_createraid(). ok marco@
2009-07-11timeout_add -> timeout_add_msecBret Lambert
Been running this on my laptop for a while now with no apparent ill effects. originally from a longer list from grange@ ok krw@ as part of that list
2009-07-10syncStuart Henderson
2009-07-10add a couple of NVIDIA MCP77 PCI-ISA bridges, from Brad.Stuart Henderson
2009-07-10RL_HWREV_8168DP can be either RTL8168DP or RTL8111DP, so print both,Stuart Henderson
as done for other RTL8168 HWREVs. From Brad.
2009-07-10Swap the hardware revision IDs for 8169S and 8110S. Agrees with theStuart Henderson
labelling on naddy@'s PCI cards. From Brad.
2009-07-10check 4 (instead of merely 2) addr bits for probing sdtemp(4) chips; ok deraadtConstantine A. Murenin
2009-07-10fix the complement in the 2's complement patch from yesterday; ok deraadtConstantine A. Murenin
2009-07-10rework link state handling a bit. this reports missing link correctly. theDavid Gwynne
old code showed the nic as active all the time, which makes it suck as part of a trunk. testing and ok by reyk@
2009-07-10timeout_add -> timeout_add_msecBret Lambert
ok damien@
2009-07-10timeout_add -> timeout_add_msecBret Lambert
ok damien@
2009-07-10timeout_add -> timeout_add_msecBret Lambert
ok damien@
2009-07-10timeout_add -> timeout_add_msecBret Lambert
ok mglocker@
2009-07-10support onsemi's cat34ts02 and cat6095; ok deraadtConstantine A. Murenin
2009-07-10the temperature value is really a 13-bit 2's complement; ok deraadtConstantine A. Murenin
2009-07-10fix the mask for the sign bit and some comment; ok deraadtConstantine A. Murenin
2009-07-09Remove the VREF() macro and replaces all instances with a call to verf(),Thordur I. Bjornsson
which is exactly what the macro does. Macro's that are nothing more then: #define FUNCTION(arg) function(arg) are almost always pointless and should go away. OK blambert@ Agreed by many.
2009-07-09regenJonathan Gray
2009-07-09Intel 55[02]0 and Matrox G200eWJonathan Gray
2009-07-09Be sure we don't hit a NULL deref. Pointed out byMarcus Glocker
remco at d-compu dot dyndns dot org. OK marco@