]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitaa08f5933781e9c1bb73b36480ce736471b04c47
tree84eee16be9e5c5b6c08240beda89627e9f114e09
parentdb49d0cd1051d9091d42dc59488dbe75766913c1
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