aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/ata/pata_of_platform.c
Commit message (Collapse)AuthorAge
* powerpc: Fix no interrupt handling in pata_of_platformAnton Vorontsov2008-10-10
| | | | | | | | | | | | | When no interrupt is specified the pata_of_platform fills the irq_res resource with -1, which is wrong to do for two reasons: 1. By definition, 'no irq' should be IRQ 0, not some negative integer; 2. pata_platform checks for irq_res.start > 0, but since irq_res.start is unsigned type, the check will be true for `-1'. Reported-by: Steven A. Falco <sfalco@harris.com> Signed-off-by: Anton Vorontsov <avorontsov@ru.mvista.com> Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
* Rename: linux/pata_platform.h to linux/ata_platform.hJeff Garzik2008-02-06
| | | | Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
* [POWERPC] pasemi: Move electra-ide to pata_of_platformOlof Johansson2008-01-15
| | | | | | | Move electra-ide glue over to the new pata_of_platform framework, and add the quirks needed to that driver. Signed-off-by: Olof Johansson <olof@lixom.net>
* libata: pata_of_platform: OF-Platform PATA device driverAnton Vorontsov2008-01-15
This driver nicely wraps around pata_platform library functions, and provides OF platform bus bindings to the PATA devices. Also add || PPC to the PATA_PLATFORM's "depends on" Kconfig entry, needed for PA Semi Electra. Signed-off-by: Anton Vorontsov <avorontsov@ru.mvista.com> Signed-off-by: Olof Johansson <olof@lixom.net>