]> bbs.cooldavid.org Git - net-next-2.6.git/commitdiff
cleanup floppy.h
authorJan Beulich <jbeulich@novell.com>
Wed, 17 Oct 2007 06:27:33 +0000 (23:27 -0700)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Wed, 17 Oct 2007 15:42:55 +0000 (08:42 -0700)
AUTO_DMA and FLOPPY_MOTOR_MASK in include/asm-*/floppy.h are dead symbols -
remove them.

Signed-off-by: Jan Beulich <jbeulich@novell.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
12 files changed:
include/asm-alpha/floppy.h
include/asm-arm/floppy.h
include/asm-m68k/floppy.h
include/asm-mips/floppy.h
include/asm-parisc/floppy.h
include/asm-powerpc/floppy.h
include/asm-ppc/floppy.h
include/asm-sh/floppy.h
include/asm-sparc/floppy.h
include/asm-sparc64/floppy.h
include/asm-x86/floppy_32.h
include/asm-x86/floppy_64.h

index 6a9f02af95294b4995e61dfc514b88433fd4f6ff..0be50413b2b5007ff2343d0be0b94d1d6dc378c3 100644 (file)
@@ -91,8 +91,6 @@ static int FDC2 = -1;
 #define N_FDC 2
 #define N_DRIVE 8
 
-#define FLOPPY_MOTOR_MASK 0xf0
-
 /*
  * Most Alphas have no problems with floppy DMA crossing 64k borders,
  * except for certain ones, like XL and RUFFIAN.
index d595c15166a42754944109c8ea47b8b454039142..41a5e9d6bb694999ad426a2a6526a0556e00f1d7 100644 (file)
@@ -128,8 +128,6 @@ static inline void fd_scandrives (void)
 #define N_FDC 1
 #define N_DRIVE 4
 
-#define FLOPPY_MOTOR_MASK 0xf0
-
 #define CROSS_64KB(a,s) (0)
 
 /*
index 45dc908932a3993a8295dd0a27575b07415b640a..697d50393dd07d8db81b73e22544aa3fc325d24d 100644 (file)
@@ -31,9 +31,6 @@ asmlinkage irqreturn_t floppy_hardint(int irq, void *dev_id);
 #define FLOPPY0_TYPE (MACH_IS_Q40 ? 6 : 4)
 #define FLOPPY1_TYPE 0
 
-#define FLOPPY_MOTOR_MASK 0xf0
-
-
 /* basically PC init + set use_virtual_dma */
 #define  FDC1 m68k_floppy_init()
 
index a62d0990c8ae8cfb526c1fd97b72282e62236579..992d232adc8383bb95dc988fa53ec068b86bc292 100644 (file)
@@ -34,8 +34,6 @@ static inline void fd_cacheflush(char * addr, long size)
 #define N_FDC 1                        /* do you *really* want a second controller? */
 #define N_DRIVE 8
 
-#define FLOPPY_MOTOR_MASK 0xf0
-
 /*
  * The DMA channel used by the floppy controller cannot access data at
  * addresses >= 16MB
index da2f9c1571430e8a6a52e1c7b402eeea5205e31d..4ca69f558fae648f2be584e4f89490fd2c338417 100644 (file)
@@ -266,10 +266,6 @@ static int FDC2 = -1;
 #define N_FDC 1
 #define N_DRIVE 8
 
-#define FLOPPY_MOTOR_MASK 0xf0
-
-#define AUTO_DMA
-
 #define EXTRA_FLOPPY_PARAMS
 
 #endif /* __ASM_PARISC_FLOPPY_H */
index 34146f0eea63c7af99dd9687478c1d1b329da5b0..24bd34c57e9d020bac9f24dc3be933db06e6e019 100644 (file)
@@ -202,8 +202,6 @@ static int FDC2 = -1;
 #define N_FDC 2                        /* Don't change this! */
 #define N_DRIVE 8
 
-#define FLOPPY_MOTOR_MASK 0xf0
-
 /*
  * The PowerPC has no problems with floppy DMA crossing 64k borders.
  */
index ae316e6d2ca99650cd42eb57ae9903f3c3672c4c..7d9b3f430d929594343b7518f78131161aa47795 100644 (file)
@@ -166,8 +166,6 @@ static int FDC2 = -1;
 #define N_FDC 2                        /* Don't change this! */
 #define N_DRIVE 8
 
-#define FLOPPY_MOTOR_MASK 0xf0
-
 /*
  * The PowerPC has no problems with floppy DMA crossing 64k borders.
  */
index 3b59b3af777bb16214072e4cb732230c295dbbbd..942ade98757bb4f551736e28988ebd0cf658f50c 100644 (file)
@@ -263,10 +263,6 @@ static int FDC2 = -1;
 #define N_FDC 2
 #define N_DRIVE 8
 
-#define FLOPPY_MOTOR_MASK 0xf0
-
-#define AUTO_DMA
-
 #define EXTRA_FLOPPY_PARAMS
 
 #endif /* __ASM_SH_FLOPPY_H */
index acd06d8ff70a040ba5063ca99b93689c231f24eb..5da1eef0f706b77c703b96cfa895caa1b437927d 100644 (file)
@@ -77,8 +77,6 @@ static struct sun_floppy_ops sun_fdops;
 #define fd_dma_mem_free(addr,size) (vfree((void *)(addr)))
 #endif
 
-#define FLOPPY_MOTOR_MASK         0x10
-
 /* XXX This isn't really correct. XXX */
 #define get_dma_residue(x)        (0)
 
index 1783239c7b405a18003ea2b2372c73b18effbe1e..c47f58d6c15c7aa4b01c47a9ff0610971f864b86 100644 (file)
@@ -84,8 +84,6 @@ static struct sun_floppy_ops sun_fdops;
 #define fd_free_irq()             sun_fdops.fd_free_irq()
 #define fd_eject(drive)           sun_fdops.fd_eject(drive)
 
-static int FLOPPY_MOTOR_MASK = 0x10;
-
 /* Super paranoid... */
 #undef HAVE_DISABLE_HLT
 
@@ -622,7 +620,6 @@ isa_done:
        sun_fdops.fd_eject = sun_pci_fd_eject;
 
         fdc_status = (unsigned long) &sun_fdc->status_82077;
-       FLOPPY_MOTOR_MASK = 0xf0;
 
        allowed_drive_mask = 0;
        sun_floppy_types[0] = 0;
@@ -729,7 +726,6 @@ static unsigned long __init sun_floppy_init(void)
                sun_fdops.fd_eject = sun_pci_fd_eject;
 
                fdc_status = (unsigned long) &sun_fdc->status_82077;
-               FLOPPY_MOTOR_MASK = 0xf0;
 
                /*
                 * XXX: Find out on which machines this is really needed.
index 44ef2f55a8e9c0970e789d007be7108d2ce0fb5f..99583b39d2163e27e90c88cbec0450af786c46f2 100644 (file)
@@ -275,10 +275,6 @@ static int FDC2 = -1;
 #define N_FDC 2
 #define N_DRIVE 8
 
-#define FLOPPY_MOTOR_MASK 0xf0
-
-#define AUTO_DMA
-
 #define EXTRA_FLOPPY_PARAMS
 
 #endif /* __ASM_I386_FLOPPY_H */
index 6ea13c3806f3c70ae922731ac14c47375099d15e..d993380dcb47f9102534e6e71e79aacf01c0b648 100644 (file)
@@ -274,10 +274,6 @@ static int FDC2 = -1;
 #define N_FDC 2
 #define N_DRIVE 8
 
-#define FLOPPY_MOTOR_MASK 0xf0
-
-#define AUTO_DMA
-
 #define EXTRA_FLOPPY_PARAMS
 
 #endif /* __ASM_X86_64_FLOPPY_H */