aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorJan Beulich <jbeulich@novell.com>2007-10-17 02:27:33 -0400
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2007-10-17 11:42:55 -0400
commit9c6cdad7fee1630941cdd9d74ec310632a9e5c93 (patch)
tree5eb411a0c78d78cdda67465e8bc027f84d267641 /include
parent2e9c47cd4d451c57868c898672802eec9867ae1e (diff)
cleanup floppy.h
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>
Diffstat (limited to 'include')
-rw-r--r--include/asm-alpha/floppy.h2
-rw-r--r--include/asm-arm/floppy.h2
-rw-r--r--include/asm-m68k/floppy.h3
-rw-r--r--include/asm-mips/floppy.h2
-rw-r--r--include/asm-parisc/floppy.h4
-rw-r--r--include/asm-powerpc/floppy.h2
-rw-r--r--include/asm-ppc/floppy.h2
-rw-r--r--include/asm-sh/floppy.h4
-rw-r--r--include/asm-sparc/floppy.h2
-rw-r--r--include/asm-sparc64/floppy.h4
-rw-r--r--include/asm-x86/floppy_32.h4
-rw-r--r--include/asm-x86/floppy_64.h4
12 files changed, 0 insertions, 35 deletions
diff --git a/include/asm-alpha/floppy.h b/include/asm-alpha/floppy.h
index 6a9f02af9529..0be50413b2b5 100644
--- a/include/asm-alpha/floppy.h
+++ b/include/asm-alpha/floppy.h
@@ -91,8 +91,6 @@ static int FDC2 = -1;
91#define N_FDC 2 91#define N_FDC 2
92#define N_DRIVE 8 92#define N_DRIVE 8
93 93
94#define FLOPPY_MOTOR_MASK 0xf0
95
96/* 94/*
97 * Most Alphas have no problems with floppy DMA crossing 64k borders, 95 * Most Alphas have no problems with floppy DMA crossing 64k borders,
98 * except for certain ones, like XL and RUFFIAN. 96 * except for certain ones, like XL and RUFFIAN.
diff --git a/include/asm-arm/floppy.h b/include/asm-arm/floppy.h
index d595c15166a4..41a5e9d6bb69 100644
--- a/include/asm-arm/floppy.h
+++ b/include/asm-arm/floppy.h
@@ -128,8 +128,6 @@ static inline void fd_scandrives (void)
128#define N_FDC 1 128#define N_FDC 1
129#define N_DRIVE 4 129#define N_DRIVE 4
130 130
131#define FLOPPY_MOTOR_MASK 0xf0
132
133#define CROSS_64KB(a,s) (0) 131#define CROSS_64KB(a,s) (0)
134 132
135/* 133/*
diff --git a/include/asm-m68k/floppy.h b/include/asm-m68k/floppy.h
index 45dc908932a3..697d50393dd0 100644
--- a/include/asm-m68k/floppy.h
+++ b/include/asm-m68k/floppy.h
@@ -31,9 +31,6 @@ asmlinkage irqreturn_t floppy_hardint(int irq, void *dev_id);
31#define FLOPPY0_TYPE (MACH_IS_Q40 ? 6 : 4) 31#define FLOPPY0_TYPE (MACH_IS_Q40 ? 6 : 4)
32#define FLOPPY1_TYPE 0 32#define FLOPPY1_TYPE 0
33 33
34#define FLOPPY_MOTOR_MASK 0xf0
35
36
37/* basically PC init + set use_virtual_dma */ 34/* basically PC init + set use_virtual_dma */
38#define FDC1 m68k_floppy_init() 35#define FDC1 m68k_floppy_init()
39 36
diff --git a/include/asm-mips/floppy.h b/include/asm-mips/floppy.h
index a62d0990c8ae..992d232adc83 100644
--- a/include/asm-mips/floppy.h
+++ b/include/asm-mips/floppy.h
@@ -34,8 +34,6 @@ static inline void fd_cacheflush(char * addr, long size)
34#define N_FDC 1 /* do you *really* want a second controller? */ 34#define N_FDC 1 /* do you *really* want a second controller? */
35#define N_DRIVE 8 35#define N_DRIVE 8
36 36
37#define FLOPPY_MOTOR_MASK 0xf0
38
39/* 37/*
40 * The DMA channel used by the floppy controller cannot access data at 38 * The DMA channel used by the floppy controller cannot access data at
41 * addresses >= 16MB 39 * addresses >= 16MB
diff --git a/include/asm-parisc/floppy.h b/include/asm-parisc/floppy.h
index da2f9c157143..4ca69f558fae 100644
--- a/include/asm-parisc/floppy.h
+++ b/include/asm-parisc/floppy.h
@@ -266,10 +266,6 @@ static int FDC2 = -1;
266#define N_FDC 1 266#define N_FDC 1
267#define N_DRIVE 8 267#define N_DRIVE 8
268 268
269#define FLOPPY_MOTOR_MASK 0xf0
270
271#define AUTO_DMA
272
273#define EXTRA_FLOPPY_PARAMS 269#define EXTRA_FLOPPY_PARAMS
274 270
275#endif /* __ASM_PARISC_FLOPPY_H */ 271#endif /* __ASM_PARISC_FLOPPY_H */
diff --git a/include/asm-powerpc/floppy.h b/include/asm-powerpc/floppy.h
index 34146f0eea63..24bd34c57e9d 100644
--- a/include/asm-powerpc/floppy.h
+++ b/include/asm-powerpc/floppy.h
@@ -202,8 +202,6 @@ static int FDC2 = -1;
202#define N_FDC 2 /* Don't change this! */ 202#define N_FDC 2 /* Don't change this! */
203#define N_DRIVE 8 203#define N_DRIVE 8
204 204
205#define FLOPPY_MOTOR_MASK 0xf0
206
207/* 205/*
208 * The PowerPC has no problems with floppy DMA crossing 64k borders. 206 * The PowerPC has no problems with floppy DMA crossing 64k borders.
209 */ 207 */
diff --git a/include/asm-ppc/floppy.h b/include/asm-ppc/floppy.h
index ae316e6d2ca9..7d9b3f430d92 100644
--- a/include/asm-ppc/floppy.h
+++ b/include/asm-ppc/floppy.h
@@ -166,8 +166,6 @@ static int FDC2 = -1;
166#define N_FDC 2 /* Don't change this! */ 166#define N_FDC 2 /* Don't change this! */
167#define N_DRIVE 8 167#define N_DRIVE 8
168 168
169#define FLOPPY_MOTOR_MASK 0xf0
170
171/* 169/*
172 * The PowerPC has no problems with floppy DMA crossing 64k borders. 170 * The PowerPC has no problems with floppy DMA crossing 64k borders.
173 */ 171 */
diff --git a/include/asm-sh/floppy.h b/include/asm-sh/floppy.h
index 3b59b3af777b..942ade98757b 100644
--- a/include/asm-sh/floppy.h
+++ b/include/asm-sh/floppy.h
@@ -263,10 +263,6 @@ static int FDC2 = -1;
263#define N_FDC 2 263#define N_FDC 2
264#define N_DRIVE 8 264#define N_DRIVE 8
265 265
266#define FLOPPY_MOTOR_MASK 0xf0
267
268#define AUTO_DMA
269
270#define EXTRA_FLOPPY_PARAMS 266#define EXTRA_FLOPPY_PARAMS
271 267
272#endif /* __ASM_SH_FLOPPY_H */ 268#endif /* __ASM_SH_FLOPPY_H */
diff --git a/include/asm-sparc/floppy.h b/include/asm-sparc/floppy.h
index acd06d8ff70a..5da1eef0f706 100644
--- a/include/asm-sparc/floppy.h
+++ b/include/asm-sparc/floppy.h
@@ -77,8 +77,6 @@ static struct sun_floppy_ops sun_fdops;
77#define fd_dma_mem_free(addr,size) (vfree((void *)(addr))) 77#define fd_dma_mem_free(addr,size) (vfree((void *)(addr)))
78#endif 78#endif
79 79
80#define FLOPPY_MOTOR_MASK 0x10
81
82/* XXX This isn't really correct. XXX */ 80/* XXX This isn't really correct. XXX */
83#define get_dma_residue(x) (0) 81#define get_dma_residue(x) (0)
84 82
diff --git a/include/asm-sparc64/floppy.h b/include/asm-sparc64/floppy.h
index 1783239c7b40..c47f58d6c15c 100644
--- a/include/asm-sparc64/floppy.h
+++ b/include/asm-sparc64/floppy.h
@@ -84,8 +84,6 @@ static struct sun_floppy_ops sun_fdops;
84#define fd_free_irq() sun_fdops.fd_free_irq() 84#define fd_free_irq() sun_fdops.fd_free_irq()
85#define fd_eject(drive) sun_fdops.fd_eject(drive) 85#define fd_eject(drive) sun_fdops.fd_eject(drive)
86 86
87static int FLOPPY_MOTOR_MASK = 0x10;
88
89/* Super paranoid... */ 87/* Super paranoid... */
90#undef HAVE_DISABLE_HLT 88#undef HAVE_DISABLE_HLT
91 89
@@ -622,7 +620,6 @@ isa_done:
622 sun_fdops.fd_eject = sun_pci_fd_eject; 620 sun_fdops.fd_eject = sun_pci_fd_eject;
623 621
624 fdc_status = (unsigned long) &sun_fdc->status_82077; 622 fdc_status = (unsigned long) &sun_fdc->status_82077;
625 FLOPPY_MOTOR_MASK = 0xf0;
626 623
627 allowed_drive_mask = 0; 624 allowed_drive_mask = 0;
628 sun_floppy_types[0] = 0; 625 sun_floppy_types[0] = 0;
@@ -729,7 +726,6 @@ static unsigned long __init sun_floppy_init(void)
729 sun_fdops.fd_eject = sun_pci_fd_eject; 726 sun_fdops.fd_eject = sun_pci_fd_eject;
730 727
731 fdc_status = (unsigned long) &sun_fdc->status_82077; 728 fdc_status = (unsigned long) &sun_fdc->status_82077;
732 FLOPPY_MOTOR_MASK = 0xf0;
733 729
734 /* 730 /*
735 * XXX: Find out on which machines this is really needed. 731 * XXX: Find out on which machines this is really needed.
diff --git a/include/asm-x86/floppy_32.h b/include/asm-x86/floppy_32.h
index 44ef2f55a8e9..99583b39d216 100644
--- a/include/asm-x86/floppy_32.h
+++ b/include/asm-x86/floppy_32.h
@@ -275,10 +275,6 @@ static int FDC2 = -1;
275#define N_FDC 2 275#define N_FDC 2
276#define N_DRIVE 8 276#define N_DRIVE 8
277 277
278#define FLOPPY_MOTOR_MASK 0xf0
279
280#define AUTO_DMA
281
282#define EXTRA_FLOPPY_PARAMS 278#define EXTRA_FLOPPY_PARAMS
283 279
284#endif /* __ASM_I386_FLOPPY_H */ 280#endif /* __ASM_I386_FLOPPY_H */
diff --git a/include/asm-x86/floppy_64.h b/include/asm-x86/floppy_64.h
index 6ea13c3806f3..d993380dcb47 100644
--- a/include/asm-x86/floppy_64.h
+++ b/include/asm-x86/floppy_64.h
@@ -274,10 +274,6 @@ static int FDC2 = -1;
274#define N_FDC 2 274#define N_FDC 2
275#define N_DRIVE 8 275#define N_DRIVE 8
276 276
277#define FLOPPY_MOTOR_MASK 0xf0
278
279#define AUTO_DMA
280
281#define EXTRA_FLOPPY_PARAMS 277#define EXTRA_FLOPPY_PARAMS
282 278
283#endif /* __ASM_X86_64_FLOPPY_H */ 279#endif /* __ASM_X86_64_FLOPPY_H */