diff options
author | yongari <yongari@FreeBSD.org> | 2008-12-11 01:41:38 +0000 |
---|---|---|
committer | yongari <yongari@FreeBSD.org> | 2008-12-11 01:41:38 +0000 |
commit | 1dec308af8929ef65cfa303fd404cd6faa839d74 (patch) | |
tree | 11ba1e8fe49c124d5013a330bb4bc0f665527443 /sys/pci | |
parent | 5bbe456ad75906a1eef534d8cf5c98e5552ae3c8 (diff) | |
download | FreeBSD-src-1dec308af8929ef65cfa303fd404cd6faa839d74.zip FreeBSD-src-1dec308af8929ef65cfa303fd404cd6faa839d74.tar.gz |
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
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 ec83954..229e971 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 }; |