]> err.no Git - linux-2.6/blobdiff - include/asm-sparc/floppy.h
Fix up headers_install wrt devfs removal
[linux-2.6] / include / asm-sparc / floppy.h
index caf926116506a2d0980e1e13b30c6c600b02b120..c53b332c850a696c63dcd6bb0cd71ea8a2a32ccb 100644 (file)
 
 /* We don't need no stinkin' I/O port allocation crap. */
 #undef release_region
-#undef check_region
 #undef request_region
 #define release_region(X, Y)   do { } while(0)
-#define check_region(X, Y)     (0)
 #define request_region(X, Y, Z)        (1)
 
 /* References:
@@ -273,7 +271,8 @@ static int sun_fd_request_irq(void)
 
        if(!once) {
                once = 1;
-               error = request_fast_irq(FLOPPY_IRQ, floppy_hardint, SA_INTERRUPT, "floppy");
+               error = request_fast_irq(FLOPPY_IRQ, floppy_hardint,
+                                        IRQF_DISABLED, "floppy");
                return ((error == 0) ? 0 : -1);
        } else return 0;
 }