summaryrefslogtreecommitdiff
path: root/sys/arch/sgi/xbow
diff options
context:
space:
mode:
authorVisa Hankala <visa@cvs.openbsd.org>2016-01-02 05:49:37 +0000
committerVisa Hankala <visa@cvs.openbsd.org>2016-01-02 05:49:37 +0000
commit3381f95a81464efe77ab4ce3fd8261b9b2bcd14f (patch)
tree213ffad577f3fd3d9cc9d6ea4519cb7957932ef1 /sys/arch/sgi/xbow
parentd94de2451bd5c0a9b1852a7b322e5e772f3c8f7d (diff)
Take the PHY of iec(4) out of reset before attaching the interface.
Otherwise the PHY goes undetected on the slave node of a dual-node Origin 200. The PHY gets enabled by diagnostic checks but only on the master node. As the attach code will now do the enabling, the checks can be disabled on reboot, making reboots faster especially on IP27. Tested on Origin 200 (IP27), Fuel (IP35 with iec), and Origin 350 (IP35 without iec). Diff from miod@, ok krw@
Diffstat (limited to 'sys/arch/sgi/xbow')
-rw-r--r--sys/arch/sgi/xbow/hub.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/arch/sgi/xbow/hub.h b/sys/arch/sgi/xbow/hub.h
index 8c36d562380..485ac09f6a2 100644
--- a/sys/arch/sgi/xbow/hub.h
+++ b/sys/arch/sgi/xbow/hub.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: hub.h,v 1.10 2015/12/25 09:22:00 visa Exp $ */
+/* $OpenBSD: hub.h,v 1.11 2016/01/02 05:49:36 visa Exp $ */
/*
* Copyright (c) 2009 Miodrag Vallat.
@@ -179,6 +179,8 @@
#define HUBMDBASE_IP27 0x00200000
#define HUBMDBASE_IP35 0x00780000
+#define HUBMD_LED0 0x00020050
+
/*
* HUB IO - Widget I/O