sata_nv: enable hotplug interrupt and fix some readl/readw mismatches
authorRobert Hancock <hancockr@shaw.ca>
Tue, 20 Feb 2007 01:03:27 +0000 (19:03 -0600)
committerJeff Garzik <jeff@garzik.org>
Wed, 21 Feb 2007 09:58:19 +0000 (04:58 -0500)
commit5ce0cf6fafd02fb4c43fc1a1bee6069d6c0a36b1
tree84eee16be9e5c5b6c08240beda89627e9f114e09
parent721449bf0d51213fe3abf0ac3e3561ef9ea7827a
sata_nv: enable hotplug interrupt and fix some readl/readw mismatches

We already have code that handles hotplug interrupt indications in ADMA
mode, this turns on the control flag that actually enables these interrupts.
Also fixes some cases in the same functions where a 16-bit register was read
using a readl instead of a readw.

Signed-off-by: Robert Hancock <hancockr@shaw.ca>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
drivers/ata/sata_nv.c