diff options
author | Thomas Schwinge <tschwinge@gnu.org> | 2006-02-20 19:04:31 +0000 |
---|---|---|
committer | Thomas Schwinge <tschwinge@gnu.org> | 2009-06-18 00:26:32 +0200 |
commit | b40d1da0855a87519b5764415aec6519025a8338 (patch) | |
tree | e7f52b1b1b0b9892576f2e05c059a07757fd9728 /i386/i386at/autoconf.c | |
parent | 9335c8094c3797c93876b6a9f9a3d0e3842ad651 (diff) | |
download | gnumach-b40d1da0855a87519b5764415aec6519025a8338.tar.gz gnumach-b40d1da0855a87519b5764415aec6519025a8338.tar.bz2 gnumach-b40d1da0855a87519b5764415aec6519025a8338.zip |
2006-02-20 Thomas Schwinge <tschwinge@gnu.org>
Remove unused and unsupported code. Consult the file
`DEVELOPMENT' for details. Partly based on suggestions by
Gianluca Guida <glguida@gmail.com>.
* 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 <fd.h> anymore and adopt all
users of NFD as if it were always defined to `0'.
* i386/i386at/conf.c: Likewise.
Diffstat (limited to 'i386/i386at/autoconf.c')
-rw-r--r-- | i386/i386at/autoconf.c | 26 |
1 files changed, 0 insertions, 26 deletions
diff --git a/i386/i386at/autoconf.c b/i386/i386at/autoconf.c index 77d825e6..583cde85 100644 --- a/i386/i386at/autoconf.c +++ b/i386/i386at/autoconf.c @@ -47,12 +47,6 @@ #define SPL_TTY (vm_offset_t)SPLTTY -#include <fd.h> -#if NFD > 0 -extern struct bus_driver fddriver; -extern int fdintr(); -#endif /* NFD */ - #include <aha.h> #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, |