diff options
| author | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2014-02-23 11:57:45 -0500 |
|---|---|---|
| committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2014-02-23 11:57:45 -0500 |
| commit | c3f3e29ecd36052bfa4b01cd5d782c04836ae37a (patch) | |
| tree | f5a999b1819901ccc2f0a1b1905a8d10bed9b283 /kern | |
| parent | 8d03c760d386d656ab5c0d976fbce30206501eac (diff) | |
AHCI driver cleanups
* linux/dev/drivers/block/ahci.c (struct port): Add id and is_cd fields.
(ahci_end_request): Only print error if quiet flag of the request is not
set.
(ahci_do_port_request): Upgrade sector parameter to 64 bit. Include
those bits in the LBA48 request.
(ahci_do_request): Upgrade sector count to 64bit. Only print errors if
quiet flag of the request is not set.
(ahci_probe_port): Move identify code...
(ahci_identify): ... to new function. Handle WIN_PIDENTIFY case to
recognize ATAPI devices.
(ahci_probe_port): Also try WIN_PIDENTIFY command.
(ahci_geninit): Avoid checking partition table on empty devices.
Diffstat (limited to 'kern')
0 files changed, 0 insertions, 0 deletions
