summaryrefslogtreecommitdiff
path: root/sys/dev/ata/atascsi.c
AgeCommit message (Expand)Author
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
2007-10-01More easy bzero() -> M_ZERO. Use 'p = malloc(sizeof(*p) ...' whereKenneth R Westerback
2007-04-22when an ata command returns an error, dont fill dmesg with messages aboutDavid Gwynne
2007-04-12Do a security freeze lock like we do in wd(4) to deal with systemsJonathan Gray
2007-04-10endian fixes for the read capacity handling.David Gwynne
2007-03-24Complete the right scsi_xfer when processing a disk sync request.Christopher Pascoe
2007-03-23Track the ATA xfer's state more closely - may help us identify why someChristopher Pascoe
2007-03-23Really clear the device register on the flush cache command. Last commitChristopher Pascoe
2007-03-23Clear the device register on the flush cache command, in case somethingChristopher Pascoe
2007-03-23Catch timed out disk commands.Christopher Pascoe
2007-03-22Let atascsi issue NCQ commands if the controller supports it.Christopher Pascoe
2007-03-21A polled xfer has completed and been put by the time ata_cmd returns, soChristopher Pascoe
2007-03-21atascsi sends h2d fis's, not d2h.David Gwynne
2007-03-21replace the array of u_int8_ts for the fis/registers with a struct to makeDavid Gwynne
2007-03-20Be sure to reset ata_xfer flags for all PACKET transfers, otherwise weChristopher Pascoe
2007-03-20Basic FLUSH CACHE support.Christopher Pascoe
2007-03-20Tag ATAPI transfers that have no data phase correctly, otherwise the commandChristopher Pascoe
2007-03-20Oops, remove some unused variables and unmangle a command name.Christopher Pascoe
2007-03-20Cap the device size we present to 2TB, just in case someone attachesChristopher Pascoe
2007-03-20Move common completion handling into ata_exec itself. Removes a double freeChristopher Pascoe
2007-03-20Add support for ATA PACKET commands. This should make ATAPI cdrom drives,Christopher Pascoe
2007-03-20move ata command definitions from atascsi.c to atascsi.hDavid Gwynne
2007-03-20nothing from wdc, wd, or any of the existing ata stuff pls. this gets ridDavid Gwynne