summaryrefslogtreecommitdiff
path: root/sys/arch/sgi/xbow/xheart.c
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2011-04-17 17:44:25 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2011-04-17 17:44:25 +0000
commit55c8e0faf57734b99ad8cfe033022058c61bca18 (patch)
tree6fb1225bc3a76fc550a545a2efabbfddb87a4297 /sys/arch/sgi/xbow/xheart.c
parent618b21ca0a27729ae0bf4226c533540e758a3ab4 (diff)
On IP27 systems, fill the array of node hub widget numbers early, so that all
hubs are known during autoconf. Then, pick the most populated 2GB window as our DMA memory window. xbridge(4) can thus program the correct settings regardless of the order in which the xbow(4) attach.
Diffstat (limited to 'sys/arch/sgi/xbow/xheart.c')
-rw-r--r--sys/arch/sgi/xbow/xheart.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/arch/sgi/xbow/xheart.c b/sys/arch/sgi/xbow/xheart.c
index 6212ba0102f..5cf2916462a 100644
--- a/sys/arch/sgi/xbow/xheart.c
+++ b/sys/arch/sgi/xbow/xheart.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: xheart.c,v 1.21 2011/04/05 14:43:11 miod Exp $ */
+/* $OpenBSD: xheart.c,v 1.22 2011/04/17 17:44:24 miod Exp $ */
/*
* Copyright (c) 2008 Miodrag Vallat.
@@ -134,7 +134,6 @@ xheart_attach(struct device *parent, struct device *self, void *aux)
oba.oba_flags = ONEWIRE_SCAN_NOW | ONEWIRE_NO_PERIODIC_SCAN;
config_found(self, &oba, onewirebus_print);
- xbow_node_hub_widget[0/*xaa->xaa_nasid*/] = xaa->xaa_widget;
xbow_intr_address = 0x80;
xbow_intr_widget_intr_register = xheart_intr_register;
xbow_intr_widget_intr_establish = xheart_intr_establish;