summaryrefslogtreecommitdiff
path: root/i386/i386at/conf.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/conf.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/conf.c')
-rw-r--r--i386/i386at/conf.c38
1 files changed, 0 insertions, 38 deletions
diff --git a/i386/i386at/conf.c b/i386/i386at/conf.c
index 40df714..704d24f 100644
--- a/i386/i386at/conf.c
+++ b/i386/i386at/conf.c
@@ -36,19 +36,6 @@ extern int timeopen(), timeclose();
extern vm_offset_t timemmap();
#define timename "time"
-#include <hd.h>
-#if NHD > 0
-extern int hdopen(), hdclose(), hdread(), hdwrite();
-extern int hdgetstat(), hdsetstat(), hddevinfo();
-#define hdname "hd"
-
-#if 0
-extern int pchdopen(),pchdread(),pchdwrite(),pchdgetstat(),pchdsetstat();
-#define pchdname "pchd"
-#endif
-
-#endif /* NHD > 0 */
-
#include <aha.h>
#if NAHA > 0
int rz_open(), rz_close(), rz_read(), rz_write();
@@ -214,13 +201,6 @@ struct dev_ops dev_name_list[] =
nodev },
#ifndef LINUX_DEV
-#if NHD > 0
- { hdname, hdopen, hdclose, hdread,
- hdwrite, hdgetstat, hdsetstat, nomap,
- nodev, nulldev, nulldev, 1024,
- hddevinfo },
-#endif /* NHD > 0 */
-
#if NAHA > 0
{ rzname, rz_open, rz_close, rz_read,
rz_write, rz_get_status, rz_set_status, nomap,
@@ -367,24 +347,6 @@ struct dev_ops dev_name_list[] =
nodev, nulldev, nulldev, 0,
nodev },
-#if 0
-#if NHD > 0
- { pchdname, pchdopen, hdclose, pchdread,
- pchdwrite, pchdgetstat, pchdsetstat, nomap,
- nodev, nulldev, nulldev, 16,
- hddevinfo },
-#endif /* NHD > 0 */
-#endif
-
-#if 0
-#if NHD > 0
- { hdname, hdopen, hdclose, hdread,
- hdwrite, hdgetstat, hdsetstat, nomap,
- nodev, nulldev, nulldev, 16,
- hddevinfo },
-#endif /* NHD > 0 */
-#endif /* Kevin doesn't know why this was here. */
-
#ifdef MACH_KMSG
{ kmsgname, kmsgopen, kmsgclose, kmsgread,
nodev, kmsggetstat, nodev, nomap,