From 886c5cc034a87a2123cee87aa8ea757b096c8755 Mon Sep 17 00:00:00 2001 From: Thomas Schwinge Date: Mon, 20 Feb 2006 19:29:00 +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/wt.h: Remove file. * i386/i386at/autoconf.c: Don't include anymore and adopt all users of NWT as if it were always defined to `0'. * i386/i386at/conf.c: Likewise. --- i386/bogus/wt.h | 1 - i386/i386at/autoconf.c | 15 --------------- i386/i386at/conf.c | 13 ------------- 3 files changed, 29 deletions(-) delete mode 100644 i386/bogus/wt.h (limited to 'i386') 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 -#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 -#if NWT > 0 -extern int wtopen(), wtread(), wtwrite(), wtclose(); -#define wtname "wt" -#endif /* NWT > 0 */ - #include #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, -- cgit v1.2.3