summaryrefslogtreecommitdiff
path: root/sys/arch/landisk
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2006-10-23 20:16:13 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2006-10-23 20:16:13 +0000
commitae9fa2fa712f4b08638be9d04ecedbe864dc7b27 (patch)
tree9bf5f69642b3cebe8dad4fec37004198ef1eb052 /sys/arch/landisk
parentefdd66a9df33af18b4181462dd9b00342fcd3d66 (diff)
Attach shb before shpcic, to get us a clock earlier.
Diffstat (limited to 'sys/arch/landisk')
-rw-r--r--sys/arch/landisk/landisk/mainbus.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/sys/arch/landisk/landisk/mainbus.c b/sys/arch/landisk/landisk/mainbus.c
index 1f13ad4e9a8..a8ad1222df7 100644
--- a/sys/arch/landisk/landisk/mainbus.c
+++ b/sys/arch/landisk/landisk/mainbus.c
@@ -90,6 +90,11 @@ mainbus_attach(struct device *parent, struct device *self, void *aux)
mba.mba_ca.ca_node = 0;
config_found(self, &mba, mainbus_print);
+ /* SH bus */
+ memset(&mba, 0, sizeof(mba));
+ mba.mba_mba.ma_name = "shb";
+ config_found(self, &mba, mainbus_print);
+
#if NPCI > 0
/* SH PCIC */
memset(&mba, 0, sizeof(mba));
@@ -97,11 +102,6 @@ mainbus_attach(struct device *parent, struct device *self, void *aux)
config_found(self, &mba, mainbus_print);
#endif
- /* SH bus */
- memset(&mba, 0, sizeof(mba));
- mba.mba_mba.ma_name = "shb";
- config_found(self, &mba, mainbus_print);
-
#if NOBIO > 0
/* on-board I/O */
memset(&mba, 0, sizeof(mba));