summaryrefslogtreecommitdiff
path: root/sys/dev/ata
AgeCommit message (Expand)Author
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-06-20b_cylinder does not need to be set on the callpath down into drivers.Theo de Raadt
2007-06-18avoid modification race in DIOCRLDINFO; ok krw miodTheo de Raadt
2007-06-08all drivers should spoof version 1 labelsTheo de Raadt
2007-06-07strncpy -> strlcpy, plus a little spacing line up.Ray Lai
2007-06-06now that all partition size/offsets are potentially 64-bit, change theTheo de Raadt
2007-06-05use six new macros to access & store the 48-bit disklabel fields relatedTheo de Raadt
2007-06-01Don't initialize d_partitions[RAW_DISK] just before callingKenneth R Westerback
2007-05-31Kill old, no longer necessary kludge to try fooling readdisklabel()Kenneth R Westerback
2007-04-28Fix comments above DISKMINOR uses. DISKMINOR provides minor not majorKenneth R Westerback
2007-04-27Nuke WDUNIT/WDPART/etc. defines and just use standard DISKUNIT/DISKPART/etc.Kenneth R Westerback
2007-04-26Eliminate CPU_BIOS from userland and wd(4) by always using the BIOSKenneth 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-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