Source-Changes-HG archive

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

[src/trunk]: src/sys/dev/sbus Support for the ` Magma 2+1HS Sp' (from mouse o...



details:   https://anonhg.NetBSD.org/src/rev/09c80b2521b7
branches:  trunk
changeset: 521056:09c80b2521b7
user:      pk <pk%NetBSD.org@localhost>
date:      Tue Jan 22 17:00:47 2002 +0000

description:
Support for the ` Magma 2+1HS Sp' (from mouse on port-sparc):
        - add sbus node name field to board info structure

diffstat:

 sys/dev/sbus/magmareg.h |  7 ++++---
 1 files changed, 4 insertions(+), 3 deletions(-)

diffs (21 lines):

diff -r 0e2220474f35 -r 09c80b2521b7 sys/dev/sbus/magmareg.h
--- a/sys/dev/sbus/magmareg.h   Tue Jan 22 16:59:30 2002 +0000
+++ b/sys/dev/sbus/magmareg.h   Tue Jan 22 17:00:47 2002 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: magmareg.h,v 1.3 2000/03/23 07:01:43 thorpej Exp $     */
+/*     $NetBSD: magmareg.h,v 1.4 2002/01/22 17:00:47 pk Exp $  */
 /* magmareg.h
  *
  *  Copyright (c) 1998 Iain Hibbert
@@ -69,8 +69,9 @@
  * Supported Card Types
  */
 struct magma_board_info {
-       char *mb_name;                  /* cardname to match against */
-       char *mb_realname;              /* english card name */
+       const char *mb_sbusname;        /* sbus_attach_args.sa_name */
+       const char *mb_name;            /* cardname to match against */
+       const char *mb_realname;        /* english card name */
        int mb_nser;                    /* number of serial ports */
        int mb_npar;                    /* number of parallel ports */
        int mb_ncd1400;                 /* number of CD1400 chips */



Home | Main Index | Thread Index | Old Index