Ok. I didn't make 2.4.0 in 2000. Tough. I tried, but we had some
[davej-history.git] / arch / mips / lib / floppy-no.c
blobfd1b47db14e64b17826002235d56c7118772e6b1
1 /* $Id: floppy-no.c,v 1.1 1998/05/07 18:38:32 ralf Exp $
3 * This file is subject to the terms and conditions of the GNU General Public
4 * License. See the file "COPYING" in the main directory of this archive
5 * for more details.
7 * Dummy file for machines without standard floppy drives.
9 * Copyright (C) 1998 by Ralf Baechle
11 #include <linux/init.h>
12 #include <linux/kernel.h>
13 #include <linux/mm.h>
14 #include <asm/floppy.h>
17 * How to access the FDC's registers.
19 static void no_fd_dummy(void)
21 panic("no_fd_dummy called - shouldn't happen");
24 static unsigned long no_fd_getfdaddr1(void)
26 return (unsigned long)-1; /* No FDC nowhere ... */
29 static unsigned long no_fd_drive_type(unsigned long n)
31 return 0;
34 struct fd_ops no_fd_ops = {
36 * How to access the floppy controller's ports
38 (void *) no_fd_dummy,
39 (void *) no_fd_dummy,
41 * How to access the floppy DMA functions.
43 (void *) no_fd_dummy,
44 (void *) no_fd_dummy,
45 (void *) no_fd_dummy,
46 (void *) no_fd_dummy,
47 (void *) no_fd_dummy,
48 (void *) no_fd_dummy,
49 (void *) no_fd_dummy,
50 (void *) no_fd_dummy,
51 (void *) no_fd_dummy,
52 (void *) no_fd_dummy,
53 (void *) no_fd_dummy,
54 no_fd_getfdaddr1,
55 (void *) no_fd_dummy,
56 (void *) no_fd_dummy,
57 no_fd_drive_type