Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/i386/i386 add entry for viaenv



details:   https://anonhg.NetBSD.org/src/rev/4e41d1563a2e
branches:  trunk
changeset: 485894:4e41d1563a2e
user:      joda <joda%NetBSD.org@localhost>
date:      Mon May 08 16:42:36 2000 +0000

description:
add entry for viaenv

diffstat:

 sys/arch/i386/i386/conf.c |  7 ++++++-
 1 files changed, 6 insertions(+), 1 deletions(-)

diffs (32 lines):

diff -r a4e43e2b4e46 -r 4e41d1563a2e sys/arch/i386/i386/conf.c
--- a/sys/arch/i386/i386/conf.c Mon May 08 16:40:42 2000 +0000
+++ b/sys/arch/i386/i386/conf.c Mon May 08 16:42:36 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: conf.c,v 1.123 2000/05/07 08:32:50 veego Exp $ */
+/*     $NetBSD: conf.c,v 1.124 2000/05/08 16:42:36 joda Exp $  */
 
 /*-
  * Copyright (c) 1998 The NetBSD Foundation, Inc.
@@ -139,10 +139,14 @@
        (dev_type_write((*))) enodev, dev_init(c,n,ioctl), \
        (dev_type_stop((*))) enodev, 0, seltrue, \
        (dev_type_mmap((*))) enodev }
+#define cdev_viaenv_init(c,n) cdev_lm78_init(c,n)
 
 #include "lm.h"
 cdev_decl(lm);
 
+#include "viaenv.h"
+cdev_decl(viaenv_);
+
 cdev_decl(cn);
 cdev_decl(ctty);
 #define        mmread  mmrw
@@ -391,6 +395,7 @@
        cdev_disk_init(NCA, ca),        /* 69: Compaq array */
        cdev_usbdev_init(NURIO,urio),   /* 70: Diamond Rio 500 */
        cdev_bktr_init(NBKTR, bktr),    /* 71: Bt848 video capture device */
+       cdev_viaenv_init(NVIAENV, viaenv_),/* 72: VIA VT82C686A hwmon */
 };
 int    nchrdev = sizeof(cdevsw) / sizeof(cdevsw[0]);
 



Home | Main Index | Thread Index | Old Index