summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordrahn <drahn@openbsd.org>2006-10-16 21:28:09 +0000
committerdrahn <drahn@openbsd.org>2006-10-16 21:28:09 +0000
commitdc923f08aa000c5699216ad6394290550778221c (patch)
treeffb0bb64a2521a94ac993107525d25b51212f3e0
parentyes this looks like debug, however it allows the kernel to load. ??? (diff)
downloadwireguard-openbsd-dc923f08aa000c5699216ad6394290550778221c.tar.xz
wireguard-openbsd-dc923f08aa000c5699216ad6394290550778221c.zip
busname should be set.
-rw-r--r--sys/arch/sh/dev/shpcic.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/arch/sh/dev/shpcic.c b/sys/arch/sh/dev/shpcic.c
index fe94c98fb50..879de522477 100644
--- a/sys/arch/sh/dev/shpcic.c
+++ b/sys/arch/sh/dev/shpcic.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: shpcic.c,v 1.2 2006/10/07 20:52:40 miod Exp $ */
+/* $OpenBSD: shpcic.c,v 1.3 2006/10/16 21:28:09 drahn Exp $ */
/* $NetBSD: shpcic.c,v 1.10 2005/12/24 20:07:32 perry Exp $ */
/*
@@ -239,6 +239,7 @@ shpcic_attach(struct device *parent, struct device *self, void *aux)
/* PCI bus */
memset(&pba, 0, sizeof(pba));
+ pba.pba_busname = "pci";
pba.pba_iot = shpcic_get_bus_io_tag();
pba.pba_memt = shpcic_get_bus_mem_tag();
pba.pba_dmat = shpcic_get_bus_dma_tag();