]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[libata] sata_mv: Fix 50xx irq mask
authorJeff Garzik <jeff@garzik.org>
Sun, 25 Feb 2007 09:19:45 +0000 (04:19 -0500)
committerJeff Garzik <jeff@garzik.org>
Mon, 26 Feb 2007 10:42:39 +0000 (05:42 -0500)
commitfb621e2fde735abab854586d52c96c5624bcb5b8
tree327cd1775d5d8903908c840f61ca433b63132ab4
parente728eabea110da90e69c05855e3a11174edb77ef
[libata] sata_mv: Fix 50xx irq mask

IRQ mask bits assumed a 60xx or newer generation chip, which is very
wrong for the 50xx series.  Luckily both generations shared the per-port
interrupt mask bits, leaving only the "misc chip features" bits to be
completely mismatched.

Fix 50xx by ensuring we only program bits that exist.

Signed-off-by: Jeff Garzik <jeff@garzik.org>
drivers/ata/sata_mv.c