diff options
author | marius <marius@FreeBSD.org> | 2010-11-26 21:52:33 +0000 |
---|---|---|
committer | marius <marius@FreeBSD.org> | 2010-11-26 21:52:33 +0000 |
commit | 076339bd792e4566a9ad29e5407a9969b777d547 (patch) | |
tree | 58fd644866c839228c62c1dacb1cdaa76a863357 /sys/dev/fxp/if_fxpreg.h | |
parent | cc1749b2f91640b1ed8401d77d23844869d84203 (diff) | |
download | FreeBSD-src-076339bd792e4566a9ad29e5407a9969b777d547.zip FreeBSD-src-076339bd792e4566a9ad29e5407a9969b777d547.tar.gz |
Fix and implement missing parts of flow control support. This also removes
the dev.fxp.%d.noflow tunable as the same effect can now be achieved with
ifconfig(8) by setting the flowcontrol media option as desired (besides
the tunable never having a chance to actually enable flow control support
so far).
In joint forces with: yongari
Diffstat (limited to 'sys/dev/fxp/if_fxpreg.h')
-rw-r--r-- | sys/dev/fxp/if_fxpreg.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/dev/fxp/if_fxpreg.h b/sys/dev/fxp/if_fxpreg.h index d46b49a..bb6a88b 100644 --- a/sys/dev/fxp/if_fxpreg.h +++ b/sys/dev/fxp/if_fxpreg.h @@ -45,7 +45,8 @@ #define FXP_CSR_FLASHCONTROL 12 /* flash control (2 bytes) */ #define FXP_CSR_EEPROMCONTROL 14 /* eeprom control (2 bytes) */ #define FXP_CSR_MDICONTROL 16 /* mdi control (4 bytes) */ -#define FXP_CSR_FLOWCONTROL 0x19 /* flow control (2 bytes) */ +#define FXP_CSR_FC_THRESH 0x19 /* flow control (1 byte) */ +#define FXP_CSR_FC_STATUS 0x1A /* flow control status (1 byte) */ #define FXP_CSR_PMDR 0x1B /* power management driver (1 byte) */ #define FXP_CSR_GENCONTROL 0x1C /* general control (1 byte) */ |