Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/sbus #define the bit positions of the MIF I/O lines.
details: https://anonhg.NetBSD.org/src/rev/119805dd93d2
branches: trunk
changeset: 479757:119805dd93d2
user: pk <pk%NetBSD.org@localhost>
date: Mon Dec 20 22:19:11 1999 +0000
description:
#define the bit positions of the MIF I/O lines.
diffstat:
sys/dev/sbus/bereg.h | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diffs (20 lines):
diff -r b73a18b57071 -r 119805dd93d2 sys/dev/sbus/bereg.h
--- a/sys/dev/sbus/bereg.h Mon Dec 20 22:11:57 1999 +0000
+++ b/sys/dev/sbus/bereg.h Mon Dec 20 22:19:11 1999 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: bereg.h,v 1.2 1999/01/17 20:47:50 pk Exp $ */
+/* $NetBSD: bereg.h,v 1.3 1999/12/20 22:19:11 pk Exp $ */
/*-
* Copyright (c) 1999 The NetBSD Foundation, Inc.
@@ -290,8 +290,10 @@
#define MGMT_PAL_OENAB 0x00000002 /* output enable */
#define MGMT_PAL_MDIO 0x00000004 /* MDIO data/attached */
#define MGMT_PAL_EXT_MDIO MGMT_PAL_MDIO /* external mdio */
+#define MGMT_PAL_EXT_MDIO_SHIFT 2 /* position of ext mdio bit */
#define MGMT_PAL_TIMEO 0x00000008 /* tx enable timeout error */
#define MGMT_PAL_INT_MDIO MGMT_PAL_TIMEO /* internal mdio */
+#define MGMT_PAL_INT_MDIO_SHIFT 3 /* position of int mdio bit */
#define MGMT_PAL_BITS "\177\020" \
"b\0DLCLOCK\0b\1OENAB\0b\2EXT_MDIO\0" \
"b\3INT_MDIO\0\0"
Home |
Main Index |
Thread Index |
Old Index