diff options
author | mjacob <mjacob@FreeBSD.org> | 2000-06-16 06:28:31 +0000 |
---|---|---|
committer | mjacob <mjacob@FreeBSD.org> | 2000-06-16 06:28:31 +0000 |
commit | a7ab185a1767324b14d3d98bb6c15df789826a15 (patch) | |
tree | c26a8e3357188f31f5107f249fe1194a04ed4c33 /sys/pci/if_wxvar.h | |
parent | a916ed2bd76dedfa8f866ef60cb59170eecb48dd (diff) | |
download | FreeBSD-src-a7ab185a1767324b14d3d98bb6c15df789826a15.zip FreeBSD-src-a7ab185a1767324b14d3d98bb6c15df789826a15.tar.gz |
Fix this driver to (finally) work with switches. Some more black
magic from the linux driver.
Diffstat (limited to 'sys/pci/if_wxvar.h')
-rw-r--r-- | sys/pci/if_wxvar.h | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/sys/pci/if_wxvar.h b/sys/pci/if_wxvar.h index 2779e61..3288a24 100644 --- a/sys/pci/if_wxvar.h +++ b/sys/pci/if_wxvar.h @@ -235,11 +235,12 @@ typedef struct wx_softc { /* * misc goodies */ - u_int32_t : 18, + u_int32_t : 17, wx_no_flow : 1, wx_ilos : 1, wx_no_ilos : 1, wx_debug : 1, + ane_failed : 1, linkup : 1, all_mcasts : 1, revision : 8; /* chip revision */ @@ -322,3 +323,9 @@ typedef struct wx_softc { #endif #define R_NXT_IDX(x) ((x + RXINCR) & (WX_MAX_RDESC - 1)) #define R_PREV_IDX(x) ((x - RXINCR) & (WX_MAX_RDESC - 1)) + +/* + * Link Up timeout, in milliseconds. + */ + +#define WX_LINK_UP_TIMEOUT 500 |