summaryrefslogtreecommitdiff
path: root/sys/dev/mii
diff options
context:
space:
mode:
authorBrad Smith <brad@cvs.openbsd.org>2005-01-24 02:27:13 +0000
committerBrad Smith <brad@cvs.openbsd.org>2005-01-24 02:27:13 +0000
commit625e5f755aa1c0cef661d58e876915901de4ad05 (patch)
tree13448aa6d6bb0043aa7f1a8c1c5d9574f7bd3811 /sys/dev/mii
parent0f44ff8be8bf09b13633188dadd274f5493771f1 (diff)
more constants
Diffstat (limited to 'sys/dev/mii')
-rw-r--r--sys/dev/mii/brgphy.c18
1 files changed, 9 insertions, 9 deletions
diff --git a/sys/dev/mii/brgphy.c b/sys/dev/mii/brgphy.c
index 959c7b8c388..0a8ba6a1758 100644
--- a/sys/dev/mii/brgphy.c
+++ b/sys/dev/mii/brgphy.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: brgphy.c,v 1.19 2004/12/12 22:41:31 brad Exp $ */
+/* $OpenBSD: brgphy.c,v 1.20 2005/01/24 02:27:12 brad Exp $ */
/*
* Copyright (c) 2000
@@ -491,14 +491,14 @@ static const struct bcm_dspcode bcm5704_dspcode[] = {
};
static const struct bcm_dspcode bcm5750_dspcode[] = {
- { 0x18, 0x0c00 },
- { 0x17, 0x000a },
- { 0x15, 0x310b },
- { 0x17, 0x201f },
- { 0x15, 0x9506 },
- { 0x17, 0x401f },
- { 0x15, 0x14e2 },
- { 0x18, 0x0400 },
+ { BRGPHY_MII_AUXCTL, 0x0c00 },
+ { BRGPHY_MII_DSP_ADDR_REG, 0x000a },
+ { BRGPHY_MII_DSP_RW_PORT, 0x310b },
+ { BRGPHY_MII_DSP_ADDR_REG, 0x201f },
+ { BRGPHY_MII_DSP_RW_PORT, 0x9506 },
+ { BRGPHY_MII_DSP_ADDR_REG, 0x401f },
+ { BRGPHY_MII_DSP_RW_PORT, 0x14e2 },
+ { BRGPHY_MII_AUXCTL, 0x0400 },
{ 0, 0 },
};