via82cxxx: workaround h/w bugs
authorBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Mon, 18 Jan 2010 07:20:00 +0000 (07:20 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 19 Jan 2010 09:41:58 +0000 (01:41 -0800)
commitf931a5d5785d7b7c44871bd7ad2762e29dfddf29
treeaf04196b29f9ee7644e6e274dde8fa106a2b7abc
parenta13e4865fac374f2edf2666b66f2f88e527db2b7
via82cxxx: workaround h/w bugs

Add custom struct ide_tp_ops instance to fix the internal bug of some VIA
chipsets which will reset the device register after changing the nIEN bit
in the device control register.

Based on commit bfce5e0 for pata_via host driver.

Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/ide/via82cxxx.c