summaryrefslogtreecommitdiff
path: root/sys/dev
AgeCommit message (Collapse)Author
2010-01-03oops, get the order of args right for the header request inDavid Gwynne
mpi_bio_get_pg0_raid. the sensor updates dont poll at all now.
2010-01-03mpi_bio_get_pg0_raid is only called from a process context. let the cfgDavid Gwynne
requests sleep rather than poll for completion.
2010-01-03oops, forgot to set the ccb_cookie in mpi_wait. mpi_wait_done would faultDavid Gwynne
when it used the uninitialized cookie.
2010-01-03get rid of the last internal user of splbio. waiting for the completion ofDavid Gwynne
a ccb can now be done with mpi_wait. this switches the cfg page handlers over from their own tsleep stuff to mpi_wait.
2010-01-03rename ccb_xs to ccb_cookie, and switch it from a struct scsi_xfer * to aDavid Gwynne
void *. this will let me stash things other than scsi xfers in the ccb for ccb_done handlers to use.
2010-01-03dont leak a ccb if we fail to get a reply in portenableDavid Gwynne
2010-01-03when getting a reply from the hw, only sync the dmamem for that one replyDavid Gwynne
rather than all the replies.
2010-01-03switch mpi from using splbio to protect itself over to mutexes.David Gwynne
mpi only needs two mutexes, one for the list of free ccbs, and another to protect the reply doorbell. the latter is necessary to allow polling for command completion to work in smp systems. tested on sas and fc hbas. this diff was written over 2 years ago now with surprisingly few tweaks to handle changes that have occurred since then.
2010-01-02When finding certain novatel devices in mass storage modeJonathan Gray
we need to do scsi ejects. One reported/tested by lahrcm@hotmail.com another suggested by David Coppa based on what FreeBSD does.
2009-12-31syncTheo de Raadt
2009-12-31new devs; ejacquotTheo de Raadt
2009-12-31Assert copyright.Joel Sing
ok marco@
2009-12-31Add support for key disks. This allows a crypto volume to be constructedJoel Sing
without using a passphrase - instead the encryption mask key is stored on the specified key disk partition (ideally being one on a removable device). This also enables automatic assembly of crypto volumes at boot time. ok marco@
2009-12-30remove dead assignments and newly created unused variables.Charles Longeau
found by LLVM/Clang Static Analyzer. ok claudio@ mglocker@
2009-12-28whitespaceDavid Gwynne
2009-12-28tweak vmt to work on amd64 as well as i386. like i386, it is stillDavid Gwynne
commented out in GENERIC. it needs more love. diff by david cranshaw a long time ago. sorry it has taken so long for me to look at it.
2009-12-28correct id for 2nd type of stts424e02; from cnstTheo de Raadt
2009-12-28Add MCP73_AHCI_5 to list of devices started in that special NVidiaKenneth R Westerback
way. Fixes ahci on my Acer Aspire AX1800-E9102. Clue from jsg@, ok deraadt@.
2009-12-27Huawei 180E, from and tested by Bruce O'Neel.Jonathan Gray
2009-12-27regenJonathan Gray
2009-12-27Huawei E180, from Bruce O'Neel.Jonathan Gray
2009-12-27Don't allocate resources on the Intel Hub-to-PCI bridges. Doing so breaksMark Kettenis
some machines (in particular the IBM eServer x206). And since the bridge is subtractively decoding the PCI address space anyway, we shouldn't need to allocate any resources. Make sure we treat the mobile version of the bridge the same as the non-mobile version.
2009-12-27spacing.Felix Kronlage
ok bluhm@
2009-12-25A couple more device types.Miod Vallat
2009-12-25regenMiod Vallat
2009-12-25One more Geode device.Miod Vallat
2009-12-24do not run the unsolicited event queue from the interrupt handler.Jacob Meuser
instead, install a timeout(9) to run the queue. fixes a panic reported by wilfried@
2009-12-22rewrite promiscuous mode and multicast handling; from BradChristian Weisgerber
2009-12-22Revert last commit, I should have checked with damien@ first.Stuart Henderson
2009-12-22Sort pci ids, from Brad.Stuart Henderson
2009-12-22treat the front headphone jack more like a built-in speaker. make it'sJacob Meuser
default DAC receive the first playback stereo channel pair if the DAC wouldn't otherwise be used and allow the jack's output volume to be controlled by outputs.master by default. this was already mostly implemented for codecs with 3 or more dacs, but front headphone jacks are also common on 2 dac codecs as well.
2009-12-21Some cleaning for the rl(4) driver:Christian Weisgerber
- ANSI - KNF - remove the use of register from Brad
2009-12-19fix tsleep parameterYojiro Uo
2009-12-18More device id ordering, from BradStuart Henderson
2009-12-18regenYojiro Uo
2009-12-18add utrh(4): USBRH temperature / humidity sensor driverYojiro Uo
ok deraadt@
2009-12-17Initialize ccb_xs to NULL when taking a ccb off the free list. ThisKenneth R Westerback
prevents calling xs->done() for internal commands that don't have an xs associated with them. In turn, this prevents crashes when calling ciss_sync(), e.g. when rebooting. Reported on misc@ by Peter Huncar. Prodded by kettenis@, halex@ and johan@. Fix tested by halex@.
2009-12-17Add support for Huawei E161.Marco Pfatschbacher
OK jsg@, yuo@
2009-12-17syncMarco Pfatschbacher
2009-12-17Add Huawei E161.Marco Pfatschbacher
OK jsg@, yuo@
2009-12-17fix softc structure to fit as uhid sub device.Yojiro Uo
ok deraadt@
2009-12-17Device id ordering, from BradStuart Henderson
2009-12-17syncStuart Henderson
2009-12-17- correct the PCI ids for the BCM5717 and BCM5718 chipsetsStuart Henderson
- add BCM5724 chipset from Linux driver via Brad. - sort by device-id
2009-12-16Support OpenRD JTAGKey, expect spip the jtag interface port.Theo de Raadt
from Tobias Ulmer; ok jsg
2009-12-16syncTheo de Raadt
2009-12-16OpenRD JTAGKey; Tobias UlmerTheo de Raadt
2009-12-15don't make mixer items for vendor widgets. we don't know what they do.Jacob Meuser
2009-12-15Correct define.Federico G. Schwindt
From Simon Perreault <simon dot perreault at viagenie dot ca> via tech@
2009-12-15mono ouputs shouldn't be candidates for exclusive inclusion in theJacob Meuser
outputs.master.slaves group. lets outputs.master by default control more than just the internal speaker on some Dell desktops.