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
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>
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
)
34 struct fd_ops no_fd_ops
= {
36 * How to access the floppy controller's ports
41 * How to access the floppy DMA functions.