1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-22 11:17:19 +00:00

Replace magic numbers with corresponding definitions.

This commit is contained in:
Jung-uk Kim 2007-02-12 19:33:22 +00:00
parent f4ad756aef
commit 7ca000fd87
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=166665

View File

@ -574,14 +574,14 @@ brgphy_fixup_ber_bug(struct mii_softc *sc)
int reg;
u_int16_t val;
} 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 },
};
int i;