summaryrefslogtreecommitdiff
path: root/sys/dev/ata/atascsi.c
AgeCommit message (Expand)Author
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
2007-03-20Request "descriptor processed" interrupts only for PIO requests (inquiry,Christopher Pascoe
2007-03-20Calculate the residual and copy it back to the scsi_xfer, so that RW actuallyChristopher Pascoe
2007-03-20Add support for issuing sector read/write commands.Christopher Pascoe
2007-03-20Instead of having a copy of every register that we will issue in the ata_cmd,Christopher Pascoe
2007-03-20Change API for struct ata_xfer allocation to move it into the device thatChristopher Pascoe
2007-03-13add timeouts on ata_xfersDavid Gwynne
2007-03-12ata counts sectors from 1, scsi counts from 0. adjust the value in theDavid Gwynne
2007-03-12parse the ata_identify to get a more correct value for the capacity of theDavid Gwynne
2007-03-12finish teh ata_identify struct.David Gwynne
2007-03-07Set ITSDONE otherwise the SCSI layer will sleep forever waiting for ourChristopher Pascoe
2007-03-06big changes to the completion path in ahci.cDavid Gwynne
2007-02-28when allocating an xfer, preinit several values according to the port itsDavid Gwynne
2007-02-28we allocate an array of pointers, so we should bzero an array of pointers,David Gwynne
2007-02-19actually init and destroy the shared ata stuff when an atascsi instanceDavid Gwynne
2007-02-19code to set up a global pool for allocating ata_xfers out of, and forDavid Gwynne
2007-02-19oops, i should have tried to compile the REQUEST_SENSE handling beforeDavid Gwynne