From b40d1da0855a87519b5764415aec6519025a8338 Mon Sep 17 00:00:00 2001 From: Thomas Schwinge Date: Mon, 20 Feb 2006 19:04:31 +0000 Subject: 2006-02-20 Thomas Schwinge Remove unused and unsupported code. Consult the file `DEVELOPMENT' for details. Partly based on suggestions by Gianluca Guida . * i386/bogus/fd.h: Remove file. * i386/i386at/fd.c: Likewise. * i386/i386at/fdreg.h: Likewise. * i386/i386at/nfd.c: Likewise. * i386/i386at/nfdreg.h: Likewise. * i386/Makefile.in (i386at-files): Remove `fd.c'. * i386/i386at/autoconf.c: Don't include anymore and adopt all users of NFD as if it were always defined to `0'. * i386/i386at/conf.c: Likewise. --- i386/i386at/autoconf.c | 26 -------------------------- 1 file changed, 26 deletions(-) (limited to 'i386/i386at/autoconf.c') diff --git a/i386/i386at/autoconf.c b/i386/i386at/autoconf.c index 77d825e..583cde8 100644 --- a/i386/i386at/autoconf.c +++ b/i386/i386at/autoconf.c @@ -47,12 +47,6 @@ #define SPL_TTY (vm_offset_t)SPLTTY -#include -#if NFD > 0 -extern struct bus_driver fddriver; -extern int fdintr(); -#endif /* NFD */ - #include #if NAHA > 0 extern struct bus_driver aha_driver; @@ -196,14 +190,6 @@ struct bus_ctlr bus_master_init[] = { {&eaha_driver, "eahac", 0, eaha_intr, 0xf000, 4, 0xf000, '?', 0, 0, SPL_FIVE, 12}, #endif /* NEAHA > 0 */ - -#if NFD > 0 - {&fddriver, "fdc", 0, fdintr, 0x3f2, 6, 0x3f2, - '?', 0, 0, SPL_FIVE, 6}, - - {&fddriver, "fdc", 1, fdintr, 0x372, 6, 0x372, - '?', 0, 0, SPL_FIVE, 10}, -#endif /* NFD > 0 */ #endif /* ! LINUX_DEV */ 0 @@ -277,18 +263,6 @@ struct bus_device bus_device_init[] = { { &eaha_driver, "tz", 7, 0, 0x0,0, 0, '?', 0, 0, 7, 0, }, #endif /* NEAHA > 0*/ -#if NFD > 0 - {&fddriver, "fd", 0, fdintr, 0x3f2, 6, 0x3f2, - '?', 0, 0, 0, 0, 0, 0, SPL_FIVE, 6}, - {&fddriver, "fd", 1, fdintr, 0x3f2, 6, 0x3f2, - '?', 0, 0, 1, 0, 0, 0, SPL_FIVE, 6}, - - {&fddriver, "fd", 2, fdintr, 0x372, 6, 0x372, - '?', 0, 1, 0, 0, 0, 0, SPL_FIVE, 10}, - {&fddriver, "fd", 3, fdintr, 0x372, 6, 0x372, - '?', 0, 1, 1, 0, 0, 0, SPL_FIVE, 10}, -#endif /* NFD > 0 */ - #if NPC586 > 0 /* For MACH Default */ {&pcdriver, "pc", 0, pc586intr, 0xd0000, 0, 0xd0000, -- cgit v1.2.3