summaryrefslogtreecommitdiff
path: root/sys
AgeCommit message (Collapse)Author
2009-10-12mask bits correctly in devid vpd for the PIDavid Gwynne
2009-10-11fix support for 82543GC. as per intel driver acrds <=82543 need to have theirDariusz Swiderski
phy reset before detection. problem spotted by merdely@, fixed thanks to deraadt@ sending me his 82543GC :) tested by merdely@, claudio@ and me ok by claudio@
2009-10-11Make sure com@io[cf] attachment stanzas with locators win over generic com*Miod Vallat
lines. (This is done only to make dmesg look nice)
2009-10-11remove duplicate ierrors increment (rx_overruns gets incremented) which wasDariusz Swiderski
introduced in rev. 1.204. from brad ok by claudio@
2009-10-11Correct a copy-and-pasto (check for the same device type twice inStuart Henderson
an if statement) in the last commit. From Brad.
2009-10-11At initialization of HT chips, write configuration on the correspondingAlexandre Ratchov
control registers rather than on the PCI configuration space (which is ok for non-HT chips only). Also fix the offset GPIO mask/dir are read from EEPROM, old ones are working by accident. both fixes are from Alexandr Shadchin <ShadchinAV _at_ mail.ru> Thanks!
2009-10-11Minor cleanup run, no functional changes;Marcus Glocker
- Spacing / comments. - Be constant in using variable types. - Avoid repeating function-inline definitions for the same variable.
2009-10-11Add support for the Broadcom BCM5717 ASIC and the BCM5717 / BCM5718 chipsets.Stuart Henderson
Based on info gleaned from the Linux tg3 driver. From Brad, ok naddy@
2009-10-11* define a constant for the specification defined maximum number ofJacob Meuser
codecs a controller can support * dynamically allocate memory for the array of codec structures
2009-10-11let page requests sleep instead of polling for completion. not used justDavid Gwynne
yet...
2009-10-11* start all "initialization failure" messages with lowercase letter.Jacob Meuser
* instead of printing "initialization failure", print "initialization failure, detaching". perhaps instills more confidence that the failure was handled in an orderly manner.
2009-10-11add support for ICH9 M V chipset, from brad.Dariusz Swiderski
ok by claudio@
2009-10-11this driver doesn't yet support HDMI codecs enough for them to beJacob Meuser
usable. detach the driver if the device is only capable of HDMI. this keeps an unusable device from being /dev/audio0 (thus /dev/audio by default), while /dev/audio1 is fully functional.
2009-10-10fix mbuf leak in rtinit()Dariusz Swiderski
the mbuf got leaked when detaching an interface, spotted by theo. fixed by me, diff refined by theo eyeballed by claudio@ 'go ahead, commit this' by theo@
2009-10-10Simplify interrupt address programming to avoid the need to act differentlyMiod Vallat
on PIC; no functional change.
2009-10-10Add extra com@iof stanzas to have the first IOC4 card attach com0-3, insteadMiod Vallat
of com0 and com2-4.
2009-10-10Locators for extra IOC3 cards.Miod Vallat
2009-10-10Let udl select the maximum resolution supported by the udl device and theMats O Jansson
monitor. Use the EDID parsing from videomode. -moj ok mglocker@
2009-10-10Again, in detatch... call whatever disconnects our interrupt, before weTheo de Raadt
go messing with the maps. Only affects my disconnectable em(4).
2009-10-09Must also timeout_del twice in detach()...Theo de Raadt
2009-10-09A working detach function. Has no impact on anything else in the driver.Theo de Raadt
2009-10-09initialize the disk size instead of getting a random value (always 0) offTheo de Raadt
the stack. this lets disklabels work on non-sgivol disks. ok miod
2009-10-08Import EDID handling code from NetBSD. Ok deraadt@, miod@, mglocker@.Matthieu Herrb
2009-10-08Program the widget interrupt address register as a whole 64 bit registerMiod Vallat
instead of two 32 bit halves, as the supposedly `upper 32 bits' register ignores writes; makes interrupt on PIC route correctly.
2009-10-08regenMiod Vallat
2009-10-08Recognize the Bedrock as an XBow instead of reporting it as ``unknownMiod Vallat
xbow''; while there report vendor and product id of unknow xbow chips.
2009-10-08Recognize more brick types and probe fooX bricks in the same order asMiod Vallat
foo bricks (they differ by having PCI-X bridges instead of PCI bridges but are otherwise built the same)
2009-10-08PIC actually comes with two sets of widget registers, with different IDs,Miod Vallat
but we only care about the first for matching, so don't bother listing the second one in xbowdevs, and fix the description.
2009-10-08set a couple bits in the pci configuration space for nvidia hdaJacob Meuser
controllers. according to ALSA and OSS, these enable input and output stream DMA coherency. fixes broken playback problem reported by Laurence Tratt (laurie at tratt dot net), who graciously tested a number of previous attempts to solve this problem.
2009-10-07The BCM5703 ASIC ID is actually shared with the BCM5702 ASIC soStuart Henderson
indicate so in the text strings. From Brad.
2009-10-07Attach DS1742 style dsrtc to iof (IOC4) too.Miod Vallat
2009-10-07Do not truncate bridge register values to 32 bits, allows the few 64 bit PICMiod Vallat
registers to be programmed correctly.
2009-10-07ipending, cpl moved into cpu_infoTakuya ASADA
OK miod@
2009-10-07This file is supposed to compile.Theo de Raadt
2009-10-07Try to keep existing IOC4 mappings, the same way we do on IOC3, in caseMiod Vallat
this is a console device.
2009-10-07Missing semicolon in dmesgMiod Vallat
2009-10-07Small steps towards getting the serial clock correct on IOC4 serial ports.Miod Vallat
2009-10-07Add an IOC4 section there tooMiod Vallat
2009-10-07add support for the temperature sensor of VIA Nano and C7-M CPUs.Kevin Lo
some improvements suggested by jsg@ "commit" deraadt@
2009-10-06Allow MD limits for allocating PCI io and mem space and specify limits onMark Kettenis
i386 and amd64 to make avoid legacy ISA I/O registers. Fixes issues with ThinkPad T-series Dock II units as reported by sobrado@ ok miod@
2009-10-06Redo the route lookup in the output (and IPv6 forwarding) path if theClaudio Jeker
destination of a packet was changed by pf. This allows for some evil games with rdr-to or nat-to but is mostly needed for better rdomain/rtable support. This is a first step and more work and cleanup is needed. Here a list of what works and what does not (needs a patched pfctl): pass out rdr-to: from local rdr-to local addr works (if state tracking on lo0 is done) from remote rdr-to local addr does NOT work from local rdr-to remote works from remote rdr-to remote works pass in nat-to: from remote nat-to local addr does NOT work from remote nat-to non-local addr works non-local is an IP that is routed to the FW but is not assigned on the FW. The non working cases need some magic to correctly rewrite the incomming packet since the rewriting would happen outbound which is too late. "time to get it in" deraadt@
2009-10-06Replace if (af) tests operating as an af blacklist with stricter switchRyan Thomas McBride
statements operating as a whitelist, taking care to allow af 0 (which is the wildcard value in pf rules) diff from Vadim Zhukov ok henning
2009-10-06Remove hack that helped us to work on Lenovo X200, as of last commit the phyDariusz Swiderski
gets detected properly. tested by ckuethe@ and jdixon@ ok by claudio@
2009-10-05Remove dead, never reached code.Dariusz Swiderski
ok by drahn@
2009-10-05remove nasty code, since now we have a nice function to lookup node'ss parent.Dariusz Swiderski
ok by kettenis@
2009-10-05Fill pciide_unmapregs_compat() with stuff which might work, if we ever getTheo de Raadt
there. ok jsg
2009-10-05wrap an annoying long line (like amd64)Theo de Raadt
2009-10-05Add some minimalistic detach/unmap bits for pciide,Jonathan Gray
done using a chipset unmap callback. Still needs to work to distinguish between compat register mappings and compat interrupts so we don't get caught out. Tested with a diskless sii3112 CardBus eSATA controller by me, and testing and feedback by deraadt@ with a phison based expresscard SSD.
2009-10-05match() function was leaving the i2c bus locked; ok kettenisTheo de Raadt
2009-10-05Don't drop the big lock at the end of exit1(), but move it into the middle ofTheo de Raadt
sched_exit(). This means that cpu_exit() and whatever it does (for instance calling free(), as well as the deadproc p_hash handling are now locked as well. This may have been one of the causes of the reaper panics, especially with rthread patches... which were terminating a lot of threads very quickly onto the deadproc p_hash list. ok kurt kettenis miod