From 55c8e0faf57734b99ad8cfe033022058c61bca18 Mon Sep 17 00:00:00 2001 From: Miod Vallat Date: Sun, 17 Apr 2011 17:44:25 +0000 Subject: 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. --- sys/arch/sgi/xbow/xheart.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'sys/arch/sgi/xbow/xheart.c') 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; -- cgit v1.2.3