diff options
author | Pyun YongHyeon <yongari@FreeBSD.org> | 2008-12-11 01:41:38 +0000 |
---|---|---|
committer | Pyun YongHyeon <yongari@FreeBSD.org> | 2008-12-11 01:41:38 +0000 |
commit | 0596d7e65dd3c2289f21192bf02a8aa47f6cef4c (patch) | |
tree | 11ba1e8fe49c124d5013a330bb4bc0f665527443 /sys/pci | |
parent | ead8fc669e7ff8974f11468cb8521a9e8b3356dc (diff) | |
download | src-0596d7e65dd3c2289f21192bf02a8aa47f6cef4c.tar.gz src-0596d7e65dd3c2289f21192bf02a8aa47f6cef4c.zip |
Don't access undocumented register 0x82 on controllers that
have no such register. While here clear undocumented PHY
register 0x0B for RTL8110S.
Obtained from: RealTek FreeBSD driver
Notes
Notes:
svn path=/head/; revision=185901
Diffstat (limited to 'sys/pci')
-rw-r--r-- | sys/pci/if_rlreg.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/pci/if_rlreg.h b/sys/pci/if_rlreg.h index ec83954f8a73..229e9712bb84 100644 --- a/sys/pci/if_rlreg.h +++ b/sys/pci/if_rlreg.h @@ -885,6 +885,8 @@ struct rl_softc { #define RL_FLAG_MACSTAT 0x0080 #define RL_FLAG_FASTETHER 0x0100 #define RL_FLAG_CMDSTOP 0x0200 +#define RL_FLAG_PHY8169 0x0400 +#define RL_FLAG_PHY8110S 0x0800 #define RL_FLAG_LINK 0x8000 }; |