From d5a9edd818f17b4797550d261b5baf8e03dcdd05 Mon Sep 17 00:00:00 2001 From: wpaul Date: Thu, 14 Oct 1999 21:49:17 +0000 Subject: 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. --- sys/pci/if_xlreg.h | 1 + 1 file changed, 1 insertion(+) (limited to 'sys/pci/if_xlreg.h') 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; -- cgit v1.1