]> git.baikalelectronics.ru Git - 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)
commitd3902e7d4126db3b30104e2a3a419dc18d930239
treef3245e91c30e0c1e12a169af637373a8b5ff670a
parent00ce6321cbe8f9ee86926f21b9f1a5f2cb5ff8c1
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