summaryrefslogtreecommitdiffstats
path: root/sys/pci/if_xlreg.h
diff options
context:
space:
mode:
authorwpaul <wpaul@FreeBSD.org>1999-10-14 21:49:17 +0000
committerwpaul <wpaul@FreeBSD.org>1999-10-14 21:49:17 +0000
commitd5a9edd818f17b4797550d261b5baf8e03dcdd05 (patch)
tree92b650ab13ed04391bcefe5525935badf7532a39 /sys/pci/if_xlreg.h
parent37ab4f7a31956a5d39e3eb1f74da3865b7d0fd3e (diff)
downloadFreeBSD-src-d5a9edd818f17b4797550d261b5baf8e03dcdd05.zip
FreeBSD-src-d5a9edd818f17b4797550d261b5baf8e03dcdd05.tar.gz
Make some small tweaks:
- When setting/clearing promisc mode, just update the filter, don't reset the whole interface. - Call xl_init() in xl_ifmedia_upd() when setting miibus media modes. This fixes a problem with the 3c905B-COMBO where switching from 10base5/AUI or 10base2/BNC to a 10/100 mode doesn't always work right. - Attempt to reset the interface in xl_init() so that we know we're getting the receive and transmit rings reset properly.
Diffstat (limited to 'sys/pci/if_xlreg.h')
-rw-r--r--sys/pci/if_xlreg.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/pci/if_xlreg.h b/sys/pci/if_xlreg.h
index c504ccc..69948d2 100644
--- a/sys/pci/if_xlreg.h
+++ b/sys/pci/if_xlreg.h
@@ -565,6 +565,7 @@ struct xl_softc {
u_int16_t xl_caps;
u_int8_t xl_stats_no_timeout;
u_int16_t xl_tx_thresh;
+ int xl_if_flags;
struct xl_list_data *xl_ldata;
struct xl_chain_data xl_cdata;
struct callout_handle xl_stat_ch;
OpenPOWER on IntegriCloud