diff options
author | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2013-05-30 01:17:38 +0200 |
---|---|---|
committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2013-05-30 01:17:38 +0200 |
commit | 932d5649e7402a5d46c0bdd5788b96153416af70 (patch) | |
tree | d8e6573c8ba24d565af4a2811233934ef65b8cb1 /Makefrag.am | |
parent | 0bd4a8ed0ea5295bd00de63d33253ad05548d71f (diff) |
Add LBA48 support to AHCI driver
* linux/dev/drivers/block/ahci.c (port): Extend `capacity' field type to
unsigned long long. Add `lba48' field. Make `identify' field unsigned.
(ahci_do_port_request): When `lba48' is true, use WIN_READDMA_EXT and
WIN_WRITEDMA_EXT commands.
(ahci_probe_port): Test lba48 flag, read capacity and set `lba48'
accordingly. Display size in GiB above 10GiB.
* linux/src/include/linux/hdreg.h (WIN_READDMA_EXT, WIN_WRITEDMA_EXT): New
macros
(hd_driveid): Add `command_set_2' and lba_capacity_2' fields.
Diffstat (limited to 'Makefrag.am')
0 files changed, 0 insertions, 0 deletions