summaryrefslogtreecommitdiff
path: root/i386/i386at/autoconf.c
diff options
context:
space:
mode:
authorThomas Schwinge <tschwinge@gnu.org>2006-02-20 18:57:02 +0000
committerThomas Schwinge <tschwinge@gnu.org>2009-06-18 00:26:32 +0200
commit9335c8094c3797c93876b6a9f9a3d0e3842ad651 (patch)
tree7ed439b430e8efcf8163b3da7060b1ad8001a2e8 /i386/i386at/autoconf.c
parentecc4d9195afd20758ce10d8fd7bce7b7e28e0a26 (diff)
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/hd.h: Remove file. * i386/i386at/nhd.c: Likewise. * i386/i386at/nhdreg.h: Likewise. * i386/i386at/autoconf.c: Don't include <hd.h> anymore and adopt all users of NHD 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.c25
1 files changed, 0 insertions, 25 deletions
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 <hd.h>
-#if NHD > 0
-extern struct bus_driver hddriver;
-extern int hdintr();
-#endif /* NHD */
-
#include <fd.h>
#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, },