patch-2.4.9 linux/include/asm-arm/arch-sa1100/ide.h
Next file: linux/include/asm-arm/arch-sa1100/irq.h
Previous file: linux/include/asm-arm/arch-sa1100/huw_webpanel.h
Back to the patch index
Back to the overall index
- Lines: 19
- Date:
Sun Aug 12 17:36:24 2001
- Orig file:
v2.4.8/linux/include/asm-arm/arch-sa1100/ide.h
- Orig date:
Thu Feb 8 16:32:44 2001
diff -u --recursive --new-file v2.4.8/linux/include/asm-arm/arch-sa1100/ide.h linux/include/asm-arm/arch-sa1100/ide.h
@@ -112,15 +112,15 @@
hw_regs_t hw;
/* Enable GPIO as interrupt line */
- GPDR &= ~GPIO_GPIO1;
- set_GPIO_IRQ_edge(GPIO_GPIO1, GPIO_RISING_EDGE);
+ GPDR &= ~LART_GPIO_IDE;
+ set_GPIO_IRQ_edge(LART_GPIO_IDE, GPIO_RISING_EDGE);
/* set PCMCIA interface timing */
MECR = 0x00060006;
/* init the interface */
ide_init_hwif_ports(&hw, PCMCIA_IO_0_BASE + 0x0000, PCMCIA_IO_0_BASE + 0x1000, NULL);
- hw.irq = IRQ_GPIO1;
+ hw.irq = LART_IRQ_IDE;
ide_register_hw(&hw, NULL);
#endif
}
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)