summaryrefslogtreecommitdiff
path: root/sys/dev
AgeCommit message (Collapse)Author
2009-07-22correctly list which files this license applies toTheo de Raadt
2009-07-22Comment diff only; list an additional supported PHY and add a linkStuart Henderson
to the datasheet. From Brad.
2009-07-21Make rbus_new_body() invocable from outside cardbus.c, to allow md codeMiod Vallat
to use it to allocate a ``every operation will fail'' rbus in case of error.
2009-07-21Change the rbus md_space_{map,unmap} signature to take a rbus_tag_t insteadMiod Vallat
of the bus_space_tag_t it contains; an upcoming implementation will need to know the rbus_tag_t for which it works at this point. All callers updated accordingly; no functional change intended.
2009-07-21Use the symbolic constants for the window registers in pci configurationMiod Vallat
space in pccbb_winset(), instead of their bare values. Saves time for grep users. While there, a few grammar and typo fixes in comments.
2009-07-21Rewrite ioctl parts and rx filter handling. From Brad, tested byStuart Henderson
myself and jasper@.
2009-07-21Add a family flag for the original 5700 series chipsets. Idea from FreeBSD.Christian Weisgerber
But also use the flag where it makes sense. From Brad; ok sthen@
2009-07-21Call timeout_set() from rl_attach, not rl_init(). From Brad.Stuart Henderson
2009-07-20Pass a pci_chipset_tag_t to pci_intr_line(), to eventually allow theMiod Vallat
logic to be chipset dependent; no functional change yet. ok kettenis@
2009-07-20KNF fixesJordan Hargrave
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@