/* * SN1 Platform specific error Support * * Copyright (C) 2001 Silicon Graphics, Inc. * Copyright (C) 2001 Alan Mayer (ajm@sgi.com) */ #include #include #include #include #include #include #include #include #include #include void snia_error_intr_handler(int irq, void *devid, struct pt_regs *pt_regs) { unsigned long long intpend_val; unsigned long long bit; switch (irq) { case SGI_UART_IRQ: // This isn't really an error interrupt. We're just // here because we have to do something with them. // This is probably wrong, and this code will be // removed. intpend_val = LOCAL_HUB_L(PI_INT_PEND0); if ( (bit = ~(1L<