]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Make some small tweaks:
authorwpaul <wpaul@FreeBSD.org>
Thu, 14 Oct 1999 21:49:17 +0000 (21:49 +0000)
committerwpaul <wpaul@FreeBSD.org>
Thu, 14 Oct 1999 21:49:17 +0000 (21:49 +0000)
commitd5a9edd818f17b4797550d261b5baf8e03dcdd05
tree92b650ab13ed04391bcefe5525935badf7532a39
parent37ab4f7a31956a5d39e3eb1f74da3865b7d0fd3e
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_xl.c
sys/pci/if_xlreg.h