patch-2.4.4 linux/drivers/ide/alim15x3.c

Next file: linux/drivers/ide/ide-pci.c
Previous file: linux/drivers/char/tty_io.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.4.3/linux/drivers/ide/alim15x3.c linux/drivers/ide/alim15x3.c
@@ -640,6 +640,7 @@
 
 void __init ide_init_ali15x3 (ide_hwif_t *hwif)
 {
+#ifndef CONFIG_SPARC64
 	byte ideic, inmir;
 	byte irq_routing_table[] = { -1,  9, 3, 10, 4,  5, 7,  6,
 				      1, 11, 0, 12, 0, 14, 0, 15 };
@@ -672,6 +673,7 @@
 			hwif->irq = irq_routing_table[inmir];
 		}
 	}
+#endif /* CONFIG_SPARC64 */
 
 	hwif->tuneproc = &ali15x3_tune_drive;
 	hwif->drives[0].autotune = 1;

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)