]> git.baikalelectronics.ru Git - kernel.git/commit
atiixp: SB700 contains more than one IDE channel
authorShane Huang <Shane.Huang@amd.com>
Thu, 11 Oct 2007 21:53:58 +0000 (23:53 +0200)
committerBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Thu, 11 Oct 2007 21:53:58 +0000 (23:53 +0200)
commit2e9c4ad792a3f55173cbb32538184231bbb17caa
tree5cb6f46a5938da115a8cbe4faa797215abaf336e
parent23a83e6e9fb9fe01fd385a88aabde6f4d1ddeee1
atiixp: SB700 contains more than one IDE channel

SB700 supports one physical IDE channel, but SB700 SATA controller
supports combined mode.  When the SATA combined mode is enabled,
two SATA ports (port4 and port5) share one IDE channel from IDE
controller, and PATA will share the other IDE channel.

Our previous patch adding SB700 IDE device ID only supports one
IDE channel, which contains bug.  The attached patch fixes the bug.

Signed-off-by: "Shane Huang" <Shane.Huang@amd.com>
Acked-by: Sergei Shtylyov <sshtylyov@ru.mvista.com>
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
drivers/ide/pci/atiixp.c