Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/landisk/conf PCI busses do not attach directly to m...



details:   https://anonhg.NetBSD.org/src/rev/51d2c8af6a28
branches:  trunk
changeset: 378737:51d2c8af6a28
user:      thorpej <thorpej%NetBSD.org@localhost>
date:      Sun Apr 25 13:33:27 2021 +0000

description:
PCI busses do not attach directly to mainbus (they attach to shpcic,
which in turn attaches to mainbus), so there is no need for mainbus
to carry the "pcibus" interface attribute.

Fixes kern/56126.

diffstat:

 sys/arch/landisk/conf/files.landisk |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r e4ceee6ba2e5 -r 51d2c8af6a28 sys/arch/landisk/conf/files.landisk
--- a/sys/arch/landisk/conf/files.landisk       Sun Apr 25 13:22:49 2021 +0000
+++ b/sys/arch/landisk/conf/files.landisk       Sun Apr 25 13:33:27 2021 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: files.landisk,v 1.6 2017/06/22 20:11:17 uwe Exp $
+#      $NetBSD: files.landisk,v 1.7 2021/04/25 13:33:27 thorpej Exp $
 
 # maxpartitions must be first item in files.${MACHINE}
 maxpartitions 16
@@ -35,7 +35,7 @@ file dev/md_root.c                            memory_disk_hooks
 # System bus types
 #
 
-device mainbus {}: pcibus
+device mainbus { }
 attach mainbus at root
 file   arch/landisk/landisk/mainbus.c          mainbus
 



Home | Main Index | Thread Index | Old Index