[ARM] pata_icside: fix the FIXMEs
authorRussell King <rmk@dyn-67.arm.linux.org.uk>
Mon, 6 Aug 2007 15:10:54 +0000 (16:10 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Mon, 6 Aug 2007 15:10:54 +0000 (16:10 +0100)
commiteba84481c7424f03c792d753fe02d9d6d3609fe0
tree495d687f2cdf25411f3a21efaf323a18c1ece1f3
parentb8b786098b98f3b08dc8ab7cccf3963976b10336
[ARM] pata_icside: fix the FIXMEs

Alan Cox suggested that the solution to the FIXMEs in pata_icside is
to use a private postreset method to detect the lack of devices on a
port, and in such a case, disable the interrupt for the port.

This patch implements such a method, and removes the hard coded
disable of port 0.  Tested as working.

Acked-by: Jeff Garzik <jeff@garzik.org>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
drivers/ata/pata_icside.c