summaryrefslogtreecommitdiff
path: root/sys/dev
AgeCommit message (Collapse)Author
2010-04-21Add support for PLX I/O 9016 based 8 port serial cardBob Beck
ok deraadt@
2010-04-20remove proc.h include from uvm_map.h. This has far reaching effects, asTed Unangst
sysctl.h was reliant on this particular include, and many drivers included sysctl.h unnecessarily. remove sysctl.h or add proc.h as needed. ok deraadt
2010-04-20- Fix a calculation bug with the RX ring buffer memory address whichTheo de Raadt
slipped into the original NetBSD code around sixteen years ago. Although it has been working so far because some devices used address zero and other devices ignored the wrong higher bits. - Remove the mem_ring override in ne2000_attach() now that dp8390_config() calculates mem_ring correctly. From NetBSD, via brad
2010-04-20mii_activate() is unusedTheo de Raadt
2010-04-20Allow MD oosiop(4) attachment to override default values for a few of theMiod Vallat
chip initialization values (SCNTL0, DMODE, DWT, CTEST7). No functional change on hppa; required by another upcoming attachment.
2010-04-20Nuke a few dead stores and one newly created unused variable.Owain Ainsworth
found by clang static analyser
2010-04-20A few more uninitialised variables (mostly in incredibly uncommon cases).Owain Ainsworth
found by clang static analyser.
2010-04-20Don't ask for ipv6 checksum offloading as we aren't ready for it.Jonathan Gray
Due to the messy context setup code this was breaking ipv6 forwarding when ipv4 offloading was enabled. All checksum offloading remains disabled for now. Debugged with and ok claudio@
2010-04-20some misc cleanup of dmesgTheo de Raadt
2010-04-20start the sensors off invalid... ok yuoTheo de Raadt
2010-04-20Don't write garbage to the config space for phison,Jonathan Gray
we shouldn't be touching the config space at all here. Found by the clang static analyser. ok deraadt
2010-04-20for some systems we need to try harder; from Mikko TolmunenTheo de Raadt
2010-04-20- an unsolicited response contains the codec address, not the codecJacob Meuser
index - we only care about unsolicited responses from the codec we're using - no need to enable unsolicited responses until we know which codec we're using fixes crash reported by jacekm@
2010-04-19cckinc is signed.Damien Bergamini
fixes TX power settings for CCK rates on AR9280 devices in open-loop power control mode.
2010-04-19Enable VS timer dispatch, from Eric Anholt upstream.Owain Ainsworth
The spec says this bit should always be set. It can help resolve hardware deadlocks where a unit downstream of the VS is waiting for more input, the VS has one vertex queueed up but not dispatched because it hope to get one more vertex so it can dispatch a 2x4 block, and software isn't handing any more vertices due to waiting on rendering.
2010-04-19Fix use of uninitialised variable.Owain Ainsworth
found by Clang static analyser.
2010-04-19Add flags for chipset generation in with the other chipset type flagsOwain Ainsworth
prevent the horrible constructs we use to determine generation otherwise.
2010-04-19Correct fence pitch checking code and fence register writing on 9{1,4}x.Owain Ainsworth
The tiling check was insufficient and allowing too large pitches, which in some cases could cause graphical corruption, strengthen the check so that only valid values are used. Solved and patch ported from one by Daniel Vetter on intel-gfx. tested by Dorian Buettner (first dot last @ gmx dot de); thanks!
2010-04-19move the stupid throwing away of ata_xfers out the run of the first scsiDavid Gwynne
inquiry against the device up to when the port is probed. this has been bugging me for ages.
2010-04-19i thought mpi gave each device all the openings on the bus, which was aDavid Gwynne
big motivation to implementing iopools. while looking at another issue i noticed that openings were cut up for each disk. this cranks openings to maxcmds.
2010-04-18Make key disks use their own optional metadata type, rather than reusingJoel Sing
crypto optional metadata. ok marco@
2010-04-17syncMark Kettenis
2010-04-17Add Sitecom WL-349 v1.Mark Kettenis
2010-04-17regenMiod Vallat
2010-04-17A few more devices found on sgi hardware.Miod Vallat
2010-04-16Remove Intel RAID IDs for now. They can be added back when code has beenMark Kettenis
written to detect the Intel RAID metadata format such that we no longer risk overwriting it. If this makes you lose your disks, you'll need to change the controller type from RAID to AHCI in the BIOS to get them back. ok marco@, deraadt@
2010-04-16syncMark Kettenis
2010-04-16Add ID for Sitecom WL-353.Mark Kettenis
2010-04-16Additional gtt alignment paranoia:Owain Ainsworth
when we go to pin, additionally check alignment against that required for tiling and unbind/rebind if needed. We shouldn't hit this case, but it is a good to check (would have found the bug in the last commit). tested by mlarkin and matthieu (and myself, of course)
2010-04-16Correct reversed test in set_tiling. this should deal with the fenceOwain Ainsworth
alignment errors that matthieu and mlarkin saw. Tested by both of them, and by me.
2010-04-16Correct some comments and cleanup some whitespace.Owain Ainsworth
2010-04-16paranoia: NULL check before free.Owain Ainsworth
2010-04-16If we fail to idle the chip in leavvt don't disable the interrupt,Owain Ainsworth
retrying that will hurt.
2010-04-16fix types in two error printfs. one of these also had a %d bug no varargOwain Ainsworth
for it, oops.
2010-04-16byteswap the number of blocks on physical disks for bioctl correctly.David Gwynne
makes output sane on sparc64 and other BE archs. found by jason george
2010-04-16fix condition of retry counter.Yojiro Uo
reported by enami-san
2010-04-16if there is no raid, do not allocate a 0-sized structure for sensorsTheo de Raadt
and then start attaching it with 0 sensors attached ok dlg
2010-04-15- fix bunch of use-after-free bugs found by splint;Marco Peereboom
- support sharing a phy port by devices (should work fine with sas expanders that share phy port number if such exist); - remove dead timeout_xs stuff; - make mpii_push_reply take a struct mpii_rcb argument instead of an address (like mpi does); - use SLIST instead of TAILQ to manage ccbs (ala mpi); - rototil openfirmware attachment code as it was copied verbatim (but with an error) from mpi and clearly wasn't tested; - increase reset delay to 240ms for stability purposes; - sprinkle some 'default' cases in a bunch of switch statements; - remove several splbio's from the code that runs on boot; - clarify/simplify the code that deals with sc_vd_id_low; - some slight cleanup.
2010-04-15Use IPL_TTY instead of IPB_BIO as suggested by oga.Marco Peereboom
Tested by me and mlarkin on amd64 and i386 ok oga
2010-04-15new Hawking run(4) idsDamien Bergamini
from Linux
2010-04-15new Hawking run(4) ids.Damien Bergamini
from Linux
2010-04-15spacingTheo de Raadt
2010-04-15add yet another TEMPerHUM device identifier.Yojiro Uo
Reported by naddy@
2010-04-15use SENSOR_HUMIDITY instead of SENSOR_PERCENT.Yojiro Uo
support new TEMPer sensors: TEMPer, TEMPer1, TEMPer2, TEMPerNTC ok jsg@, deraadt@
2010-04-15use SENSOR_HUMIDITY instead of SENSOR_PERCENT.Yojiro Uo
and add LED blink routine. ok jsg@, deraadt@
2010-04-14clean Sitecom run(4) ids.Damien Bergamini
use real product names, add some ids, remove some ids that never made it into production.
2010-04-14clean Sitecom run(4) ids.Damien Bergamini
use real product names, add some ids, remove some ids that never made it into production.
2010-04-14more otus(4) idsDamien Bergamini
2010-04-14more otus(4) idsDamien Bergamini
2010-04-14syncKevin Lo