]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
ata: Report 16/32bit PIO as best we can
authorAlan Cox <alan@lxorguk.ukuu.org.uk>
Thu, 9 Apr 2009 16:31:17 +0000 (17:31 +0100)
committerJeff Garzik <jgarzik@redhat.com>
Thu, 16 Apr 2009 19:28:23 +0000 (15:28 -0400)
commite3cf95dd6d352954b663d2934110d6e30af2406d
treef3245e91c30e0c1e12a169af637373a8b5ff670a
parent62afe5d744047df8ff15a369f4c1ebad71c937d4
ata: Report 16/32bit PIO as best we can

The legacy old IDE ioctl API for this is a bit primitive so we try
and map stuff sensibly onto it.

- Set PIO over DMA devices to report 32bit
- Add ability to change the PIO32 settings if the controller permits it
- Add that functionality into the sff drivers
- Add that functionality into the VLB legacy driver
- Turn on the 32bit PIO on the ninja32 and add support there

Signed-off-by: Alan Cox <alan@linux.intel.com>
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
drivers/ata/libata-scsi.c
drivers/ata/libata-sff.c
drivers/ata/pata_legacy.c
drivers/ata/pata_ninja32.c
include/linux/libata.h