diff options
author | phk <phk@FreeBSD.org> | 1996-09-06 23:09:20 +0000 |
---|---|---|
committer | phk <phk@FreeBSD.org> | 1996-09-06 23:09:20 +0000 |
commit | bca885205da7f15208946f0896edc2eda3caff01 (patch) | |
tree | 35dad08bf59366e84921fd4aad9718c2f9426a1b /sys/isa/syscons.c | |
parent | 9640e2d9e8f825813ec445d294de60884ad82bc8 (diff) | |
download | FreeBSD-src-bca885205da7f15208946f0896edc2eda3caff01.zip FreeBSD-src-bca885205da7f15208946f0896edc2eda3caff01.tar.gz |
Remove devconf, it never grew up to be of any use.
Diffstat (limited to 'sys/isa/syscons.c')
-rw-r--r-- | sys/isa/syscons.c | 25 |
1 files changed, 1 insertions, 24 deletions
diff --git a/sys/isa/syscons.c b/sys/isa/syscons.c index 6a635ad..02218f9 100644 --- a/sys/isa/syscons.c +++ b/sys/isa/syscons.c @@ -25,7 +25,7 @@ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * - * $Id: syscons.c,v 1.163 1996/09/01 18:16:05 sos Exp $ + * $Id: syscons.c,v 1.164 1996/09/04 22:24:19 sos Exp $ */ #include "sc.h" @@ -46,7 +46,6 @@ #include <sys/syslog.h> #include <sys/errno.h> #include <sys/malloc.h> -#include <sys/devconf.h> #ifdef DEVFS #include <sys/devfsext.h> #endif @@ -302,27 +301,6 @@ gotack: return (IO_KBDSIZE); } -static struct kern_devconf kdc_sc[NSC] = { - 0, 0, 0, /* filled in by dev_attach */ - "sc", 0, { MDDT_ISA, 0, "tty" }, - isa_generic_externalize, 0, 0, ISA_EXTERNALLEN, - &kdc_isa0, /* parent */ - 0, /* parentdata */ - DC_BUSY, /* the console is almost always busy */ - "Graphics console", - DC_CLS_DISPLAY /* class */ -}; - -static inline void -sc_registerdev(struct isa_device *id) -{ - if(id->id_unit) - kdc_sc[id->id_unit] = kdc_sc[0]; - kdc_sc[id->id_unit].kdc_unit = id->id_unit; - kdc_sc[id->id_unit].kdc_isa = id; - dev_attach(&kdc_sc[id->id_unit]); -} - #if NAPM > 0 static int scresume(void *dummy) @@ -451,7 +429,6 @@ scattach(struct isa_device *dev) scrn_timer(); update_leds(scp->status); - sc_registerdev(dev); printf("sc%d: ", dev->id_unit); if (crtc_vga) |