summaryrefslogtreecommitdiff
path: root/sys/dev
AgeCommit message (Collapse)Author
2010-01-07Rename _rxfilter functions to _iff for consistency. From Brad, ok kevlo@Stuart Henderson
2010-01-07dont use the xs in the scsi_cmd routines after calling ciss_cmd, it mightDavid Gwynne
have been completed. the xs was used to figure out if we should return COMPLETED or SUCCESFULLY_QUEUED. the return value doesnt mean anything anymore, so just return COMPLETE.
2010-01-07CISS_UNLOCK before returning from the scsi_cmd handler when we hit NO_CCB.David Gwynne
this should solve problems like this: WARNING: SPL NOT LOWERED ON SYSCALL 16384 8 EXIT dae4560 6 Stopped at Xsyscall+0x1eb: movl $0,%gs:0x3d4 ddb{3}>
2010-01-06syncStuart Henderson
2010-01-06Add Canon PowerShot SX100, Linksys WUSB600N v2 (new version of RT2870). From ↵Stuart Henderson
Brad.
2010-01-06syncStuart Henderson
2010-01-06New Broadcom nics, from Linux driver via Brad.Stuart Henderson
2010-01-05dont need to end statements with two semicolons. one is enough.David Gwynne
pointed out by miod@ and claudio@
2010-01-05atapiscsi didnt call scsi_done when the xfer had SCSI_POLL set. this isDavid Gwynne
Bad. this sort of worked before because the midlayer would sleep on the ITSDONE flag in the scsi_xfer, which atapiscsi does set. however, with the introduction of scsi_xs_sync, it now sleeps on a condition that is only cleared if the adapter properly and correctly calls scsi_done when it is in fact done with the xfer. sorry guys. ok krw@
2010-01-04remove dead assignment and newly created unused variable.Charles Longeau
Found by LLVM/Clang Static Analyzer. ok krw@ dlg@
2010-01-04turn off verboseTheo de Raadt
2010-01-04rename ccb_xs to ccb_cookie and change its type from a scsi_xfer * to aDavid Gwynne
void *. this lets us pass things other than scsi_xfers to ccb completion handlers.
2010-01-04protect the ccb free queue with a mutex rather than splbioDavid Gwynne
2010-01-04Add a few missing scsi_done()'s before returning COMPLETE. AlsoKenneth R Westerback
return COMPLETE and not CMD_COMPLETE in one case. Tested by kettenis@ and myself on Blade1000's. ok dlg@
2010-01-03delete unused variableTheo de Raadt
2010-01-03change M_WAITOK --> M_WAITOK|M_CANFAILCharles Longeau
with input from marco@ ok marco@ krw@ this was ok looooooooong time ago but lost in my mailbox
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