]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commit
[POWERPC] Advertise correct IDE mode on Pegasos2
authorOlaf Hering <olaf@aepfle.de>
Fri, 17 Aug 2007 18:27:17 +0000 (04:27 +1000)
committerPaul Mackerras <paulus@samba.org>
Wed, 22 Aug 2007 05:21:46 +0000 (15:21 +1000)
commit556ecf9be66f4d493e19bc71a7ce84366d512b71
tree1d03d69ba1324ab5155cd9baf0f857699751846e
parent2ba4573cdaf98b0f3acb8795a66f412c1c41284a
[POWERPC] Advertise correct IDE mode on Pegasos2

The built-in IDE controller is configured in legacy mode, but the PCI
registers advertise native mode.  Force the PCI class into legacy
mode. This allows pata_via to access two drives.

The Pegasos specific irq enforcement in the via82cxxx driver must stay
because there is apparently no generic way to setup irq per channel.

Tested on Pegasos2 with firmware version 20040810, and two IDE disks.

Signed-off-by: Olaf Hering <olaf@aepfle.de>
Signed-off-by: Paul Mackerras <paulus@samba.org>
arch/powerpc/kernel/prom_init.c
arch/powerpc/platforms/chrp/pci.c