From 9335c8094c3797c93876b6a9f9a3d0e3842ad651 Mon Sep 17 00:00:00 2001 From: Thomas Schwinge Date: Mon, 20 Feb 2006 18:57:02 +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/hd.h: Remove file. * i386/i386at/nhd.c: Likewise. * i386/i386at/nhdreg.h: Likewise. * i386/i386at/autoconf.c: Don't include anymore and adopt all users of NHD as if it were always defined to `0'. * i386/i386at/conf.c: Likewise. --- i386/i386at/autoconf.c | 25 ------------------------- 1 file changed, 25 deletions(-) (limited to 'i386/i386at/autoconf.c') diff --git a/i386/i386at/autoconf.c b/i386/i386at/autoconf.c index 8542a96..77d825e 100644 --- a/i386/i386at/autoconf.c +++ b/i386/i386at/autoconf.c @@ -47,12 +47,6 @@ #define SPL_TTY (vm_offset_t)SPLTTY -#include -#if NHD > 0 -extern struct bus_driver hddriver; -extern int hdintr(); -#endif /* NHD */ - #include #if NFD > 0 extern struct bus_driver fddriver; @@ -137,14 +131,6 @@ struct bus_ctlr bus_master_init[] = { adaptor alive flags spl pic */ #ifndef LINUX_DEV -#if NHD > 0 - {&hddriver, "hdc", 0, hdintr, 0x1f0, 8, 0x1f0, - '?', 0, 0, SPL_FIVE, 14}, - - {&hddriver, "hdc", 1, hdintr, 0x170, 8, 0x170, - '?', 0, 0, SPL_FIVE, 15}, -#endif /* NHD > 0 */ - #if NAHA > 0 {&aha_driver, "ahac", 0, aha_intr, 0x330, 4, 0x330, '?', 0, 0, SPL_FIVE, 11}, @@ -230,17 +216,6 @@ struct bus_device bus_device_init[] = { adaptor alive ctlr slave flags *mi *next sysdep sysdep */ #ifndef LINUX_DEV -#if NHD > 0 - {&hddriver, "hd", 0, hdintr, 0x104, 8, 0x1f0, - '?', 0, 0, 0, 0, 0, 0, SPL_FIVE, 14}, - {&hddriver, "hd", 1, hdintr, 0x118, 8, 0x1f0, - '?', 0, 0, 1, 0, 0, 0, SPL_FIVE, 14}, - {&hddriver, "hd", 2, hdintr, 0x104, 8, 0x170, /*??*/ - '?', 0, 1, 0, 0, 0, 0, SPL_FIVE, 15}, - {&hddriver, "hd", 3, hdintr, 0x118, 8, 0x170, - '?', 0, 1, 1, 0, 0, 0, SPL_FIVE, 15}, -#endif /* NHD > 0 */ - #if NAHA > 0 { &aha_driver, "rz", 0, 0, 0x0,0, 0, '?', 0, 0, 0, 0, }, { &aha_driver, "rz", 1, 0, 0x0,0, 0, '?', 0, 0, 1, 0, }, -- cgit v1.2.3