summaryrefslogtreecommitdiff
path: root/sys/dev/ata
AgeCommit message (Expand)Author
2007-04-10endian fixes for the read capacity handling.David Gwynne
2007-04-10Sort ATA commands by value.Jonathan Gray
2007-04-08Use CMD_OK instead of 0, no binary change, from mickeyPedro Martelletto
2007-04-05device signatures appear to be common to sata controllers too.David Gwynne
2007-04-04some registers are shared amongst various sata controllers, so stickDavid Gwynne
2007-04-02Read log page 10h to determine the NCQ error, instead of aborting allChristopher Pascoe
2007-03-27OK, I understand why jsg wanted the disk_unbusy() in wdretry(), and heTheo de Raadt
2007-03-25wdc retries (including after suspends) caused a disk to remain busy whenTheo de Raadt
2007-03-25kill extra space in output with diskerr(); ok jsgTheo de Raadt
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-21Add support for issuing NCQ commands via AHCI.Christopher 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-20add missing FLUSH_CACHE commands.David Gwynne
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-20reorder slightly. ata bits before atascsiDavid Gwynne
2007-03-20Add timeout handling for ATA commands.Christopher Pascoe
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-13we need a resid tooDavid Gwynne
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-28stash a pointer to the atascsi instance in ata_port structs. the completionDavid Gwynne
2007-02-28we allocate an array of pointers, so we should bzero an array of pointers,David Gwynne
2007-02-19precomp -> features as per ATA specJonathan Gray
2007-02-19i think ata_xfers should look more like this. stash the number of the portDavid 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