summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Schwinge <tschwinge@gnu.org>2006-02-20 19:29:00 +0000
committerThomas Schwinge <tschwinge@gnu.org>2009-06-18 00:26:33 +0200
commit886c5cc034a87a2123cee87aa8ea757b096c8755 (patch)
tree908dccaa14f9fc5e18cb1dfdc83021907ac20f54
parentc8075f5570ee013830075e74d2bc06bb52f88194 (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/wt.h: Remove file. * i386/i386at/autoconf.c: Don't include <wt.h> anymore and adopt all users of NWT as if it were always defined to `0'. * i386/i386at/conf.c: Likewise.
-rw-r--r--ChangeLog5
-rw-r--r--i386/bogus/wt.h1
-rw-r--r--i386/i386at/autoconf.c15
-rw-r--r--i386/i386at/conf.c13
4 files changed, 5 insertions, 29 deletions
diff --git a/ChangeLog b/ChangeLog
index d64b671..8c3c01b 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -4,6 +4,11 @@
`DEVELOPMENT' for details. Partly based on suggestions by
Gianluca Guida <glguida@gmail.com>.
+ * i386/bogus/wt.h: Remove file.
+ * i386/i386at/autoconf.c: Don't include <wt.h> anymore and adopt all
+ users of NWT as if it were always defined to `0'.
+ * i386/i386at/conf.c: Likewise.
+
* i386/bogus/hpp.h: Remove file.
* i386/bogus/ul.h: Likewise.
* i386/bogus/wd.h: Likewise.
diff --git a/i386/bogus/wt.h b/i386/bogus/wt.h
deleted file mode 100644
index 79b5e9c..0000000
--- a/i386/bogus/wt.h
+++ /dev/null
@@ -1 +0,0 @@
-#define NWT 0
diff --git a/i386/i386at/autoconf.c b/i386/i386at/autoconf.c
index caf4bd5..b8771e8 100644
--- a/i386/i386at/autoconf.c
+++ b/i386/i386at/autoconf.c
@@ -71,12 +71,6 @@ extern struct bus_driver lprdriver;
extern int lprintr();
#endif /* NLPR */
-#include <wt.h>
-#if NWT > 0
-extern struct bus_driver wtdriver;
-extern int wtintr();
-#endif /* NWT */
-
struct bus_ctlr bus_master_init[] = {
/* driver name unit intr address len phys_address
@@ -240,15 +234,6 @@ struct bus_device bus_device_init[] = {
{&lprdriver, "lpr", 0, lprintr, 0x3bc, 3, 0x3bc,
'?', 0, -1, -1, 0, 0, 0, SPL_TTY, 7},
#endif /* NLPR > 0 */
-
-#if NWT > 0
- {&wtdriver, "wt", 0, wtintr, 0x300, 2, 0x300,
- '?', 0, -1, -1, 0, 0, 0, SPL_FIVE, 5},
- {&wtdriver, "wt", 0, wtintr, 0x288, 2, 0x288,
- '?', 0, -1, -1, 0, 0, 0, SPL_FIVE, 5},
- {&wtdriver, "wt", 0, wtintr, 0x388, 2, 0x388,
- '?', 0, -1, -1, 0, 0, 0, SPL_FIVE, 5},
-#endif /* NWT > 0 */
#endif /* ! LINUX_DEV */
0
diff --git a/i386/i386at/conf.c b/i386/i386at/conf.c
index 179c9db..a7d420f 100644
--- a/i386/i386at/conf.c
+++ b/i386/i386at/conf.c
@@ -48,12 +48,6 @@ int cd_open(), cd_close(), cd_read(), cd_write();
#endif /*NAHA > 0*/
-#include <wt.h>
-#if NWT > 0
-extern int wtopen(), wtread(), wtwrite(), wtclose();
-#define wtname "wt"
-#endif /* NWT > 0 */
-
#include <par.h>
#if NPAR > 0
extern int paropen(), paroutput(), pargetstat(), parsetstat(),
@@ -163,13 +157,6 @@ struct dev_ops dev_name_list[] =
#endif /*NAHA > 0*/
-#if NWT > 0
- { wtname, wtopen, wtclose, wtread,
- wtwrite, nulldev, nulldev, nomap,
- nodev, nulldev, nulldev, 0,
- nodev },
-#endif /* NWT > 0 */
-
#if NPAR > 0
{ parname, paropen, nulldev, nulldev,
paroutput, pargetstat, parsetstat, nomap,