[PATCH] cleanup floppy.h

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



AUTO_DMA and FLOPPY_MOTOR_MASK in include/asm-*/floppy.h are dead
symbols - remove them.

Signed-off-by: Jan Beulich <[email protected]>

 include/asm-alpha/floppy.h   |    2 --
 include/asm-arm/floppy.h     |    2 --
 include/asm-i386/floppy.h    |    4 ----
 include/asm-m68k/floppy.h    |    3 ---
 include/asm-mips/floppy.h    |    2 --
 include/asm-parisc/floppy.h  |    4 ----
 include/asm-powerpc/floppy.h |    2 --
 include/asm-ppc/floppy.h     |    2 --
 include/asm-sh/floppy.h      |    4 ----
 include/asm-sparc/floppy.h   |    2 --
 include/asm-sparc64/floppy.h |    4 ----
 include/asm-x86_64/floppy.h  |    4 ----
 12 files changed, 35 deletions(-)

--- linux-2.6.23-rc3/include/asm-alpha/floppy.h	2006-09-20 05:42:06.000000000 +0200
+++ 2.6.23-rc3-kill-auto-dma/include/asm-alpha/floppy.h	2007-07-12 12:18:23.000000000 +0200
@@ -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.
--- linux-2.6.23-rc3/include/asm-arm/floppy.h	2007-08-13 09:00:59.000000000 +0200
+++ 2.6.23-rc3-kill-auto-dma/include/asm-arm/floppy.h	2007-07-12 12:18:29.000000000 +0200
@@ -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)
 
 /*
--- linux-2.6.23-rc3/include/asm-i386/floppy.h	2006-11-29 22:57:37.000000000 +0100
+++ 2.6.23-rc3-kill-auto-dma/include/asm-i386/floppy.h	2007-07-12 12:18:41.000000000 +0200
@@ -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 */
--- linux-2.6.23-rc3/include/asm-m68k/floppy.h	2006-11-29 22:57:37.000000000 +0100
+++ 2.6.23-rc3-kill-auto-dma/include/asm-m68k/floppy.h	2007-07-12 12:18:55.000000000 +0200
@@ -31,9 +31,6 @@ asmlinkage irqreturn_t floppy_hardint(in
 #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()
 
--- linux-2.6.23-rc3/include/asm-mips/floppy.h	2004-04-04 05:36:14.000000000 +0200
+++ 2.6.23-rc3-kill-auto-dma/include/asm-mips/floppy.h	2007-07-12 12:19:03.000000000 +0200
@@ -32,8 +32,6 @@ static inline void fd_cacheflush(char * 
 #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
--- linux-2.6.23-rc3/include/asm-parisc/floppy.h	2006-09-20 05:42:06.000000000 +0200
+++ 2.6.23-rc3-kill-auto-dma/include/asm-parisc/floppy.h	2007-07-12 12:19:10.000000000 +0200
@@ -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 */
--- linux-2.6.23-rc3/include/asm-powerpc/floppy.h	2007-08-13 09:01:04.000000000 +0200
+++ 2.6.23-rc3-kill-auto-dma/include/asm-powerpc/floppy.h	2007-07-12 12:19:16.000000000 +0200
@@ -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.
  */
--- linux-2.6.23-rc3/include/asm-ppc/floppy.h	2006-11-29 22:57:37.000000000 +0100
+++ 2.6.23-rc3-kill-auto-dma/include/asm-ppc/floppy.h	2007-07-12 12:19:23.000000000 +0200
@@ -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.
  */
--- linux-2.6.23-rc3/include/asm-sh/floppy.h	2007-08-13 09:01:05.000000000 +0200
+++ 2.6.23-rc3-kill-auto-dma/include/asm-sh/floppy.h	2007-07-12 12:19:31.000000000 +0200
@@ -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 */
--- linux-2.6.23-rc3/include/asm-sparc/floppy.h	2007-08-13 09:01:05.000000000 +0200
+++ 2.6.23-rc3-kill-auto-dma/include/asm-sparc/floppy.h	2007-07-12 12:19:41.000000000 +0200
@@ -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)
 
--- linux-2.6.23-rc3/include/asm-sparc64/floppy.h	2007-08-13 09:01:06.000000000 +0200
+++ 2.6.23-rc3-kill-auto-dma/include/asm-sparc64/floppy.h	2007-07-12 12:20:40.000000000 +0200
@@ -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_i
 		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.
--- linux-2.6.23-rc3/include/asm-x86_64/floppy.h	2006-11-29 22:57:37.000000000 +0100
+++ 2.6.23-rc3-kill-auto-dma/include/asm-x86_64/floppy.h	2007-07-12 12:17:48.000000000 +0200
@@ -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 */


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux