summaryrefslogtreecommitdiff
path: root/sys/dev/ata/atascsi.c
AgeCommit message (Expand)Author
2010-09-19check the cdb length on the scsi commands we emulate in atascsi as a way toDavid Gwynne
2010-09-02the page_length field in the vpd page header is 2 bytes, not 1.David Gwynne
2010-07-27Add scsi_cmd_rw_decode() for decoding any SCSI READ or WRITE command,Matthew Dempsky
2010-07-20Do not put a data buffer on the stack. It will be dma'd to. UseTheo de Raadt
2010-07-03Implement translation of the SCSI START STOP UNIT command.Mark Kettenis
2010-06-28Remove all adapter-specific 'struct scsi_device's. They are never used. FirstKenneth R Westerback
2010-06-19Remove more splbio/splx pairs from around scsi_done() calls.Kenneth R Westerback
2010-05-26the addr field in read cap 16 is 8 bytes, not 4. pity, i had really bigDavid Gwynne
2010-05-05map the ATA data set management stuff (ie, trim) to the SCSI thinDavid Gwynne
2010-04-29Revert r1.80, leaving iopools in place. Fixes PR#6365. Why WD3200KS-00PKenneth R Westerback
2010-04-23the SAT spec from t10.org defines messages for tunnelling ATA commands overDavid Gwynne
2010-04-22cut atascsi over to providing and using iopools. this gets rid of NO_CCBDavid Gwynne
2010-04-19move the stupid throwing away of ata_xfers out the run of the first scsiDavid Gwynne
2010-04-05fill in the the lowest aligned logical block address field. itDavid Gwynne
2010-04-05populate the logical per physical exponent of the read cap 16 reply byDavid Gwynne
2010-04-05add support for READ_CAPACITY_16.David Gwynne
2010-04-05add support for ata disks with block sizes other than 512 bytes. i haventDavid Gwynne
2010-04-03byteswap the cmdset word properly so we enable the right features onDavid Gwynne
2010-04-03remove some debug outputDavid Gwynne
2010-04-03add support for emulating the disk characteristics and disk limits vpdDavid Gwynne
2010-03-23Change the scsi_cmd function member of scsi_adapter from int toKenneth R Westerback
2010-01-09Zap all setting of ITSDONE in drivers that don't look at it. NobodyKenneth R Westerback
2009-12-08the ata identify structure is stupid. its full of buffers you haveDavid Gwynne
2009-12-08krw and marco found another problem with my atascsi chanages.David Gwynne
2009-12-07oops, wrong version of previous diff.David Gwynne
2009-12-07get rid of the return codes from command submission, ata_cmd handlersDavid Gwynne
2009-10-22gc unused globalDavid Gwynne
2009-09-13Unchecked copyout() calls cause premature death in furry animals, soMiod Vallat
2009-02-16Extend the scsi_adapter minphys() callback to take a struct scsi_link *Miod Vallat
2008-09-25Initialize 'capacity' to 0 and use tabs to indent. "won't hurt" miod@.Kenneth R Westerback
2008-05-05Don't set the adaptor template link's flags and quirks when trying toKenneth R Westerback
2008-03-26plug a mem leak. the array of ports wasnt freed on detach.David Gwynne
2007-12-30dont freeze lock or set caching modes on ata devices that arent disks, itsDavid Gwynne
2007-12-29the scsi layer always had function pointers for asking the hba about aDavid Gwynne
2007-12-28provide vpd page 0, which lists which vpd pages we provide.David Gwynne
2007-12-28rename some functions to make it clear theyre used to emulate vpd responsesDavid Gwynne
2007-12-28implement emulation of vpd page 83, the device identification page. if theDavid Gwynne
2007-12-28massage the way vpds are defined. rename the page used for the devicesDavid Gwynne
2007-12-09unify synchronous scsi xfer completion handling. this started out as a fixDavid Gwynne
2007-12-09remove the nosleep argument to ata_get_xfer. it is a relic from when iDavid Gwynne
2007-12-06Ask for write cache and read look ahead to be turnedJonathan Gray
2007-11-28when we probe a port send an ata inquiry to the device and cacheDavid Gwynne
2007-11-28make ata controllers protect their own command lists so atascsi doesnt haveDavid Gwynne
2007-11-26implement atascsi_probe_dev and atascsi_detach_dev. they let a hba tellDavid Gwynne
2007-11-26drive port probes from the scsi midlayer now that it will ask the adapterDavid Gwynne
2007-11-23starting bits to implement hotplug of sili controllers. this adds the codeDavid Gwynne
2007-11-23use copyin and copyout to get the actual ata data in and out of the kernelDavid Gwynne
2007-11-23implement translation of the scsi vpd page for fetching a disks serialDavid Gwynne
2007-11-23t10 has a whole spec on doing SCSI to ATA translation called SAT. i wishDavid Gwynne
2007-11-16accept ATA ioctls so tools like atactl work on disks behind the atascsiDavid Gwynne