]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitf41caab026cd2fc26e14073f687c009854a741ce
treeaf04196b29f9ee7644e6e274dde8fa106a2b7abc
parent77053de928b18f2d5f911509b435897b70883ecf
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 99f3904 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