A thinko.... request_region() says if you succeeded or not.

--- linux-2.4.0-test/include/asm-sparc/floppy.h.dist-2.4.0-test8-pre4   Tue Sep  5 
15:31:34 2000
+++ linux-2.4.0-test/include/asm-sparc/floppy.h Tue Sep  5 15:26:40 2000
@@ -21,7 +21,7 @@
 #undef request_region
 #define release_region(X, Y)   do { } while(0)
 #define check_region(X, Y)     (0)
-#define request_region(X, Y, Z)        do { } while(0)
+#define request_region(X, Y, Z)        (1)
 
 /* References:
  * 1) Netbsd Sun floppy driver.
-- 
Dr. Horst H. von Brand                       mailto:[EMAIL PROTECTED]
Departamento de Informatica                     Fono: +56 32 654431
Universidad Tecnica Federico Santa Maria              +56 32 654239
Casilla 110-V, Valparaiso, Chile                Fax:  +56 32 797513
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
Please read the FAQ at http://www.tux.org/lkml/

Reply via email to