patch-2.4.20 linux-2.4.20/include/asm-ia64/ide.h
Next file: linux-2.4.20/include/asm-ia64/ioctls.h
Previous file: linux-2.4.20/include/asm-ia64/hw_irq.h
Back to the patch index
Back to the overall index
- Lines: 40
- Date:
Thu Nov 28 15:53:15 2002
- Orig file:
linux-2.4.19/include/asm-ia64/ide.h
- Orig date:
Fri Aug 2 17:39:45 2002
diff -urN linux-2.4.19/include/asm-ia64/ide.h linux-2.4.20/include/asm-ia64/ide.h
@@ -27,8 +27,7 @@
#define ide__sti() __sti()
-static __inline__ int
-ide_default_irq (ide_ioreg_t base)
+static __inline__ int ide_default_irq(ide_ioreg_t base)
{
switch (base) {
case 0x1f0: return isa_irq_to_vector(14);
@@ -42,8 +41,7 @@
}
}
-static __inline__ ide_ioreg_t
-ide_default_io_base (int index)
+static __inline__ ide_ioreg_t ide_default_io_base(int index)
{
switch (index) {
case 0: return 0x1f0;
@@ -57,8 +55,7 @@
}
}
-static __inline__ void
-ide_init_hwif_ports (hw_regs_t *hw, ide_ioreg_t data_port, ide_ioreg_t ctrl_port, int *irq)
+static __inline__ void ide_init_hwif_ports(hw_regs_t *hw, ide_ioreg_t data_port, ide_ioreg_t ctrl_port, int *irq)
{
ide_ioreg_t reg = data_port;
int i;
@@ -77,8 +74,7 @@
hw->io_ports[IDE_IRQ_OFFSET] = 0;
}
-static __inline__ void
-ide_init_default_hwifs (void)
+static __inline__ void ide_init_default_hwifs(void)
{
#ifndef CONFIG_BLK_DEV_IDEPCI
hw_regs_t hw;
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)