patch-2.4.22 linux-2.4.22/include/asm-sh/parport.h
Next file: linux-2.4.22/include/asm-sh/pci-sh7751.h
Previous file: linux-2.4.22/include/asm-sh/mmzone.h
Back to the patch index
Back to the overall index
- Lines: 23
- Date:
2003-08-25 04:44:44.000000000 -0700
- Orig file:
linux-2.4.21/include/asm-sh/parport.h
- Orig date:
1969-12-31 16:00:00.000000000 -0800
diff -urN linux-2.4.21/include/asm-sh/parport.h linux-2.4.22/include/asm-sh/parport.h
@@ -0,0 +1,22 @@
+/*
+ * parport.h: SuperH-specific parport initialisation
+ *
+ * This file should only be included by drivers/parport/parport_pc.c.
+ *
+ */
+
+#ifndef _ASM_SH_PARPORT_H
+#define _ASM_SH_PARPORT_H
+
+#include <asm/machvec.h>
+
+static int __devinit parport_pc_find_nonpci_ports (int autoirq, int autodma)
+{
+ if (MACH_HS7729PCI)
+ return !!parport_pc_probe_port(0x378, 0, 5,
+ PARPORT_DMA_NONE, NULL);
+
+ return 0;
+}
+
+#endif /* _ASM_SH_PARPORT_H */
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)