diff options
author | Kenneth R Westerback <krw@cvs.openbsd.org> | 2007-01-30 02:35:17 +0000 |
---|---|---|
committer | Kenneth R Westerback <krw@cvs.openbsd.org> | 2007-01-30 02:35:17 +0000 |
commit | 44970e00614f9753d7c8051d3f48ab817d20a4a8 (patch) | |
tree | 90ec6e54f7b2714a39ce8ec5e7952f9ba4553fe1 /sys/dev/mii/brgphyreg.h | |
parent | b2e2e133dc739e8fb632e812f2bebfb89c609b03 (diff) |
Rough in more support for 5787/5755 chips so far known to not work or
unreported in the wild. In this case add a PHY workaround for an eventual
mobile version of the chipset. No change to existing functionality.
From Michael Chan (mchan@broadcom), via Linux tg3 and brad.
Diffstat (limited to 'sys/dev/mii/brgphyreg.h')
-rw-r--r-- | sys/dev/mii/brgphyreg.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/sys/dev/mii/brgphyreg.h b/sys/dev/mii/brgphyreg.h index 396e6d1e7b3..a03a9daa1d6 100644 --- a/sys/dev/mii/brgphyreg.h +++ b/sys/dev/mii/brgphyreg.h @@ -1,4 +1,4 @@ -/* $OpenBSD: brgphyreg.h,v 1.8 2003/10/22 09:39:29 jmc Exp $ */ +/* $OpenBSD: brgphyreg.h,v 1.9 2007/01/30 02:35:16 krw Exp $ */ /* * Copyright (c) 2000 @@ -263,6 +263,9 @@ #define BRGPHY_IMR_LNK_CHG 0x0002 /* Link status change */ #define BRGPHY_IMR_CRCERR 0x0001 /* CEC error */ +#define BRGPHY_TEST1 0x1E +#define BRGPHY_TEST1_TRIM_EN 0x0010 + #define BRGPHY_INTRS \ ~(BRGPHY_IMR_LNK_CHG|BRGPHY_IMR_LSP_CHG|BRGPHY_IMR_DUP_CHG) |