Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/luna68k/luna68k Fix device name for xpbus at mainbu...



details:   https://anonhg.NetBSD.org/src/rev/7a19edfd144f
branches:  trunk
changeset: 374249:7a19edfd144f
user:      tsutsui <tsutsui%NetBSD.org@localhost>
date:      Thu Apr 13 11:44:10 2023 +0000

description:
Fix device name for xpbus at mainbus for LUNA-II, missed on psgpam merge.

Fortunately harmless because xpbus_match() doesn't check ma_name in
mainbus_attach_args.

diffstat:

 sys/arch/luna68k/luna68k/mainbus.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 9d2e1cd905d8 -r 7a19edfd144f sys/arch/luna68k/luna68k/mainbus.c
--- a/sys/arch/luna68k/luna68k/mainbus.c        Thu Apr 13 08:30:40 2023 +0000
+++ b/sys/arch/luna68k/luna68k/mainbus.c        Thu Apr 13 11:44:10 2023 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: mainbus.c,v 1.19 2023/01/15 05:08:33 tsutsui Exp $ */
+/* $NetBSD: mainbus.c,v 1.20 2023/04/13 11:44:10 tsutsui Exp $ */
 
 /*-
  * Copyright (c) 2000 The NetBSD Foundation, Inc.
@@ -31,7 +31,7 @@
 
 #include <sys/cdefs.h>
 
-__KERNEL_RCSID(0, "$NetBSD: mainbus.c,v 1.19 2023/01/15 05:08:33 tsutsui Exp $");
+__KERNEL_RCSID(0, "$NetBSD: mainbus.c,v 1.20 2023/04/13 11:44:10 tsutsui Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -55,7 +55,7 @@ static const struct mainbus_attach_args 
        { "lcd",    0x4d000000, -1 },   /* Sharp LM16X212 LCD module */
        { "le",     0xf1000000, 3 },    /* Am7990 */
        { "sio",    0x51000000, 6 },    /* uPD7201A */
-       { "xp",     0x71000000, 1 },    /* HD647180XP */
+       { "xpbus",  0x71000000, -1 },   /* HD647180XP */
        { "fb",     0xc1100000, -1 },   /* BrookTree RAMDAC */
        { "spc",    0xe1000000, 2 },    /* internal MB89352 */
        { "spc",    0xe1000040, 2 },    /* external MB89352 */



Home | Main Index | Thread Index | Old Index