cs5520: add enablebits checking
commit24307ffabd5b39bad443641f54b12ee2ba7a38ac
authorBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Tue, 5 Aug 2008 16:17:03 +0000 (5 18:17 +0200)
committerBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Tue, 5 Aug 2008 16:17:03 +0000 (5 18:17 +0200)
tree136811bf9e04532543554bcf23dae9ccace7639d
parentaf744e3294d09d706c4eae26cffaaa68a8d40337
cs5520: add enablebits checking

Based on sparse comments in OpenFirmware code
(no Cx5510/Cx5520 datasheet here).

This fixes 2.6.26 regression reported by TAKADA
and caused by addition of warm-plug support.

Tested-by: TAKADA Yoshihito <takada@mbf.nifty.com>
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
drivers/ide/pci/cs5520.c