2 * This file is subject to the terms and conditions of the GNU General Public
3 * License. See the file "COPYING" in the main directory of this archive
6 * Dummy file for machines without standard floppy drives.
8 * Copyright (C) 1998 by Ralf Baechle
10 #include <linux/init.h>
11 #include <linux/kernel.h>
13 #include <asm/floppy.h>
16 * How to access the FDC's registers.
18 static void no_fd_dummy(void)
20 panic("no_fd_dummy called - shouldn't happen");
23 static unsigned long no_fd_getfdaddr1(void)
25 return (unsigned long)-1; /* No FDC nowhere ... */
28 static unsigned long no_fd_drive_type(unsigned long n)
33 struct fd_ops no_fd_ops = {
35 * How to access the floppy controller's ports
40 * How to access the floppy DMA functions.