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

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)