Source-Changes-HG archive

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

[src/trunk]: src/sys Added IRIX /dev/usema and dev/usemaclone (void driver fo...



details:   https://anonhg.NetBSD.org/src/rev/6adf612903d7
branches:  trunk
changeset: 526001:6adf612903d7
user:      manu <manu%NetBSD.org@localhost>
date:      Tue Apr 23 06:48:46 2002 +0000

description:
Added IRIX /dev/usema and dev/usemaclone (void driver for now, will be
filled later)

diffstat:

 sys/arch/sgimips/sgimips/conf.c |  4 +++-
 sys/conf/files                  |  3 ++-
 sys/sys/conf.h                  |  3 ++-
 3 files changed, 7 insertions(+), 3 deletions(-)

diffs (59 lines):

diff -r 57fe6d30191e -r 6adf612903d7 sys/arch/sgimips/sgimips/conf.c
--- a/sys/arch/sgimips/sgimips/conf.c   Tue Apr 23 06:34:11 2002 +0000
+++ b/sys/arch/sgimips/sgimips/conf.c   Tue Apr 23 06:48:46 2002 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: conf.c,v 1.15 2002/03/16 16:55:58 martin Exp $ */
+/*     $NetBSD: conf.c,v 1.16 2002/04/23 06:48:47 manu Exp $   */
 
 /*
  * Copyright (c) 1992, 1993
@@ -102,6 +102,7 @@
 cdev_decl(clockctl);
 
 cdev_decl(irix_kmem);
+cdev_decl(irix_usema);
 
 struct bdevsw bdevsw[] =
 {
@@ -205,6 +206,7 @@
        cdev_clockctl_init(NCLOCKCTL, clockctl),/* 60: clockctl pseudo device */
 #ifdef COMPAT_IRIX
        cdev_irix_kmem_init(1,irix_kmem),       /* 61: IRIX kmem emulator */
+       cdev_irix_usema_init(1,irix_usema),     /* 62: IRIX usema emulator */
 #else
        cdev_notdef(),                  /* 61: */
 #endif
diff -r 57fe6d30191e -r 6adf612903d7 sys/conf/files
--- a/sys/conf/files    Tue Apr 23 06:34:11 2002 +0000
+++ b/sys/conf/files    Tue Apr 23 06:48:46 2002 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: files,v 1.521 2002/04/22 21:05:22 ad Exp $
+#      $NetBSD: files,v 1.522 2002/04/23 06:48:47 manu Exp $
 
 #      @(#)files.newconf       7.5 (Berkeley) 5/10/93
 
@@ -871,6 +871,7 @@
 defpseudo sequencer
 defpseudo clockctl
 defpseudo irix_kmem
+defpseudo irix_usema
 
 # ISDN userland pseudo devices
 #
diff -r 57fe6d30191e -r 6adf612903d7 sys/sys/conf.h
--- a/sys/sys/conf.h    Tue Apr 23 06:34:11 2002 +0000
+++ b/sys/sys/conf.h    Tue Apr 23 06:48:46 2002 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: conf.h,v 1.100 2002/03/16 16:56:06 martin Exp $        */
+/*     $NetBSD: conf.h,v 1.101 2002/04/23 06:48:46 manu Exp $  */
 
 /*-
  * Copyright (c) 1990, 1993
@@ -416,6 +416,7 @@
 
 /* open, close, read, write, ioctl, poll */
 #define cdev_vc_nb_init(c,n)   cdev__ocrwip_init(c,n)
+#define cdev_irix_usema_init(c,n)      cdev__ocrwip_init(c,n)
 
 /* open, close, read, write, ioctl, stop, poll */
 #define        cdev_esh_init(c,n)      cdev__ocrwisp_init(c,n)



Home | Main Index | Thread Index | Old Index