summaryrefslogtreecommitdiffstats
path: root/include/asm-arm/arch-a5k/ide.h
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>1998-05-07 03:14:42 +0000
committerRalf Baechle <ralf@linux-mips.org>1998-05-07 03:14:42 +0000
commitdca50cc150304946afb790f00ead222736146e3e (patch)
treebdab0fb75bde086403c66b8769c0333262cb0635 /include/asm-arm/arch-a5k/ide.h
parentdcec8a13bf565e47942a1751a9cec21bec5648fe (diff)
Toxic waste.
Diffstat (limited to 'include/asm-arm/arch-a5k/ide.h')
-rw-r--r--include/asm-arm/arch-a5k/ide.h44
1 files changed, 0 insertions, 44 deletions
diff --git a/include/asm-arm/arch-a5k/ide.h b/include/asm-arm/arch-a5k/ide.h
deleted file mode 100644
index 3beb3c3aa..000000000
--- a/include/asm-arm/arch-a5k/ide.h
+++ /dev/null
@@ -1,44 +0,0 @@
-/*
- * linux/include/asm-arm/arch-a5k/ide.h
- *
- * Copyright (c) 1997 Russell King
- */
-
-static __inline__ int
-ide_default_irq(ide_ioreg_t base)
-{
- if (base == 0x1f0)
- return 11;
- return 0;
-}
-
-static __inline__ ide_ioreg_t
-ide_default_io_base(int index)
-{
- if (index == 0)
- return 0x1f0;
- return 0;
-}
-
-static __inline__ int
-ide_default_stepping(int index)
-{
- return 0;
-}
-
-static __inline__ void
-ide_init_hwif_ports (ide_ioreg_t *p, ide_ioreg_t base, int stepping, int *irq)
-{
- ide_ioreg_t port = base;
- ide_ioreg_t ctrl = base + 0x206;
- int i;
-
- i = 8;
- while (i--) {
- *p++ = port;
- port += 1 << stepping;
- }
- *p++ = ctrl;
- if (irq != NULL)
- irq = 0;
-}