]> nv-tegra.nvidia Code Review - linux-2.6.git/commitdiff
sh: Add parport stub for SuperIO ports.
authorPaul Mundt <lethal@linux-sh.org>
Fri, 6 Jul 2007 22:28:11 +0000 (07:28 +0900)
committerPaul Mundt <lethal@linux-sh.org>
Fri, 6 Jul 2007 22:28:11 +0000 (07:28 +0900)
Some boards have SuperIOs with PC-style parports, toss in the stub so
these can be supported.

Signed-off-by: Paul Mundt <lethal@linux-sh.org>
include/asm-sh/parport.h [new file with mode: 0644]

diff --git a/include/asm-sh/parport.h b/include/asm-sh/parport.h
new file mode 100644 (file)
index 0000000..f67ba60
--- /dev/null
@@ -0,0 +1,16 @@
+/*
+ * Copyright (C) 1999, 2000  Tim Waugh <tim@cyberelk.demon.co.uk>
+ *
+ * This file should only be included by drivers/parport/parport_pc.c.
+ */
+#ifndef __ASM_SH_PARPORT_H
+#define __ASM_SH_PARPORT_H
+
+static int __devinit parport_pc_find_isa_ports(int autoirq, int autodma);
+
+static int __devinit parport_pc_find_nonpci_ports(int autoirq, int autodma)
+{
+       return parport_pc_find_isa_ports(autoirq, autodma);
+}
+
+#endif /* __ASM_SH_PARPORT_H */