diff options
author | yongari <yongari@FreeBSD.org> | 2008-12-11 01:26:18 +0000 |
---|---|---|
committer | yongari <yongari@FreeBSD.org> | 2008-12-11 01:26:18 +0000 |
commit | 5bbe456ad75906a1eef534d8cf5c98e5552ae3c8 (patch) | |
tree | 07820321ba398631141310a3231d640b84df49cb /sys/pci | |
parent | e65de9d9824d3b5379b9f57139d753a1d566f921 (diff) | |
download | FreeBSD-src-5bbe456ad75906a1eef534d8cf5c98e5552ae3c8.zip FreeBSD-src-5bbe456ad75906a1eef534d8cf5c98e5552ae3c8.tar.gz |
Newer RealTek controllers requires setting stop request bit to
terminate active Tx/Rx operation.
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 6eb1ea9..ec83954 100644 --- a/sys/pci/if_rlreg.h +++ b/sys/pci/if_rlreg.h @@ -308,6 +308,7 @@ #define RL_CMD_TX_ENB 0x0004 #define RL_CMD_RX_ENB 0x0008 #define RL_CMD_RESET 0x0010 +#define RL_CMD_STOPREQ 0x0080 /* * Twister register values. These are completely undocumented and derived @@ -883,6 +884,7 @@ struct rl_softc { #define RL_FLAG_DESCV2 0x0040 #define RL_FLAG_MACSTAT 0x0080 #define RL_FLAG_FASTETHER 0x0100 +#define RL_FLAG_CMDSTOP 0x0200 #define RL_FLAG_LINK 0x8000 }; |