• David S. Miller's avatar
    [SPARC64]: Fix Tomatillo/Schizo IRQ handling. · 9001f285
    David S. Miller authored
    The code in schizo_irq_trans_init() should set irq_data->sync_reg
    to the location of the SYNC register if this is Tomatillo, and set
    it to zero otherwise.  But that is not what it is doing.
    
    As a result, non-Tomatillo systems were trying to access a
    non-existent register resulting in bus errors at the first
    PCI interrupt.
    
    Thanks to Roland Stigge for the bug report.
    Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
    9001f285
prom.c 38 KB