MIPS/OCTEON/ata: Convert pata_octeon_cf.c to use device tree.
authorDavid Daney <david.daney@cavium.com>
Thu, 26 Apr 2012 18:10:28 +0000 (11:10 -0700)
committerRalf Baechle <ralf@linux-mips.org>
Thu, 13 Dec 2012 17:15:24 +0000 (18:15 +0100)
commit43f01da0f2794b464ade2ffe1f780c69d7ce7b75
treedcbf33bffe33aa06d967c451df48e0b78c32ebdb
parentf772cdb2bd544eeb3e83a8bb42629d155c1b53fd
MIPS/OCTEON/ata: Convert pata_octeon_cf.c to use device tree.

The patch needs to eliminate the definition of OCTEON_IRQ_BOOTDMA so
that the device tree code can map the interrupt, so in order to not
temporarily break things, we do a single patch to both the interrupt
registration code and the pata_octeon_cf driver.

Also rolled in is a conversion to use hrtimers and corrections to the
timing calculations.

Acked-by: Jeff Garzik <jgarzik@redhat.com>
Signed-off-by: David Daney <david.daney@cavium.com>
arch/mips/cavium-octeon/octeon-irq.c
arch/mips/cavium-octeon/octeon-platform.c
arch/mips/include/asm/mach-cavium-octeon/irq.h
arch/mips/include/asm/octeon/octeon.h
drivers/ata/pata_octeon_cf.c