aboutsummaryrefslogtreecommitdiffstats
path: root/src/hw/ata.h
Commit message (Collapse)AuthorAgeFilesLines
* ahci: set transfer mode according to the capabilities of connected driveGerd Hoffmann2016-02-291-0/+5
| | | | | | | | | | Use case: cf cards behind sata-ide bridge, which might not support the default transfer mode. Based on a patch by Werner Zeh <werner.zeh@siemens.com>, with some minor tweaks applied. Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
* ata: Make sure "chanid" is relative to PCI device for bootorder fileKevin O'Connor2015-07-141-0/+1
| | | | | | | | | | | | When specifying drives in the bootorder file, the "drive@x" parameter should be relative to the given PCI device and not relative to the total number of ATA controllers in the machine. This patch separates the tracking of "chanid" (channel number relative to a given PCI devices) from the "ataid" (channel number relative to the total number of ATA channels). Reported-by: Jonathan A. Kollasch <jakllsch@kollasch.net> Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* block: Rename process_XXX_op() functions to XXX_process_op()Kevin O'Connor2015-07-141-2/+1
| | | | | | Rename disk driver dispatch functions to a consistent naming style. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* ata: Handle ATA ATAPI drives directly via 'struct disk_op_s' requestsKevin O'Connor2015-07-141-1/+1
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* Remove ioport.h; disperse its contents to other header files.Kevin O'Connor2013-09-281-0/+5
| | | | | | | Move the inb(), insb(), etc. code from ioport.h to x86.h. Move the PORT_* definitions to their appropriate hardware files. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* Split disk.h into block.h and std/disk.h.Kevin O'Connor2013-09-181-2/+2
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* Move code centered around specific hardware devices to src/hw/Kevin O'Connor2013-09-021-0/+153
Move many C files from the src/ directory to the new src/hw/ directory. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>