]> err.no Git - linux-2.6/commit
pata_via: add VX800 flag; add function for fixing h/w bugs
authorJosephChan@via.com.tw <JosephChan@via.com.tw>
Wed, 30 Jul 2008 19:32:48 +0000 (12:32 -0700)
committerJeff Garzik <jgarzik@redhat.com>
Thu, 31 Jul 2008 05:39:31 +0000 (01:39 -0400)
commitbfce5e0179ad059035df28558724ff60af708e09
tree0b00598e38e57559f48983ee22039e589278fbcb
parente8389f0c44652ee63d95bc0a7f8d565ac25dac77
pata_via: add VX800 flag; add function for fixing h/w bugs

Add flag VIA_SATA_PATA for vx800, VX800 uses the same
chipset(0x0581/0x5324) as CX700, which has 1 PATA channel(Master/Slave)
and 1 SATA channel(Master/Slave) Add function <via_ata_tf_load>.  This is
to fix the internal bug of VIA chipsets, which will reset the device
register after changing the IEN bit in CTL register

Signed-off-by: Joseph Chan <josephchan@via.com.tw>
Cc: Tejun Heo <tj@kernel.org>
Cc: Alan Cox <alan@lxorguk.ukuu.org.uk>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
drivers/ata/pata_via.c