]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
scc_pata.c: do setup itself instead of ide_setup_pci_device()
authorAkira Iguchi <akira2.iguchi@toshiba.co.jp>
Thu, 17 Apr 2008 22:46:25 +0000 (00:46 +0200)
committerBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Thu, 17 Apr 2008 22:46:25 +0000 (00:46 +0200)
commit3d53ba87f079c078f608729120ada862cb0896e0
tree74b927e7ed36847dedb96a732c16e4fa62477b90
parente6bfa38a4803646e212ef542b957344e790c3733
scc_pata.c: do setup itself instead of ide_setup_pci_device()

scc_pata has the different BAR configuration and using ide_setup_pci_device()
is inappropriate.

(ide_setup_pci_device() expects a normal PCI IDE controller with
BAR0..BAR3 either non-existant or being primary/secondary port bases
in I/O space.)

This patch do all needed setup itself instead of calling ide_setup_pci_device().

[bart: minor checkpatch.pl fixes]

Signed-off-by: Kou Ishizaki <kou.ishizaki@toshiba.co.jp>
Signed-off-by: Akira Iguchi <akira2.iguchi@toshiba.co.jp>
Cc: Sergei Shtylyov <sshtylyov@ru.mvista.com>
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
drivers/ide/pci/scc_pata.c