patch-2.3.29 linux/include/asm-i386/io.h
Next file: linux/include/asm-i386/pgalloc-2level.h
Previous file: linux/include/asm-i386/highmem.h
Back to the patch index
Back to the overall index
- Lines: 34
- Date:
Tue Nov 23 12:55:56 1999
- Orig file:
v2.3.28/linux/include/asm-i386/io.h
- Orig date:
Thu Nov 11 20:11:51 1999
diff -u --recursive --new-file v2.3.28/linux/include/asm-i386/io.h linux/include/asm-i386/io.h
@@ -103,7 +103,6 @@
#ifdef __KERNEL__
-#include <asm/page.h>
#include <linux/vmalloc.h>
/*
@@ -227,6 +226,25 @@
out:
return retval;
}
+
+static inline int isa_check_signature(unsigned long io_addr,
+ const unsigned char *signature, int length)
+{
+ int retval = 0;
+ do {
+ if (isa_readb(io_addr) != *signature)
+ goto out;
+ io_addr++;
+ signature++;
+ length--;
+ } while (length);
+ retval = 1;
+out:
+ return retval;
+}
+
+
+
/* Nothing to do */
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)