• Olaf Hering's avatar
    [POWERPC] Advertise correct IDE mode on Pegasos2 · 556ecf9b
    Olaf Hering authored
    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: default avatarOlaf Hering <olaf@aepfle.de>
    Signed-off-by: default avatarPaul Mackerras <paulus@samba.org>
    556ecf9b
prom_init.c 66.3 KB