svn commit: r215506 - stable/8/sys/dev/usb/wlan

Andrew Thompson thompsa at FreeBSD.org
Fri Nov 19 01:58:12 UTC 2010


Author: thompsa
Date: Fri Nov 19 01:58:11 2010
New Revision: 215506
URL: http://svn.freebsd.org/changeset/base/215506

Log:
  MFC r207768
  
   Add dummy function for ic_update_mcast (a la if_urtw) to avoid console
   spam.

Modified:
  stable/8/sys/dev/usb/wlan/if_rum.c
Directory Properties:
  stable/8/sys/   (props changed)
  stable/8/sys/amd64/include/xen/   (props changed)
  stable/8/sys/cddl/contrib/opensolaris/   (props changed)
  stable/8/sys/contrib/dev/acpica/   (props changed)
  stable/8/sys/contrib/pf/   (props changed)
  stable/8/sys/dev/xen/xenpci/   (props changed)

Modified: stable/8/sys/dev/usb/wlan/if_rum.c
==============================================================================
--- stable/8/sys/dev/usb/wlan/if_rum.c	Fri Nov 19 01:52:34 2010	(r215505)
+++ stable/8/sys/dev/usb/wlan/if_rum.c	Fri Nov 19 01:58:11 2010	(r215506)
@@ -194,6 +194,7 @@ static void		rum_enable_tsf(struct rum_s
 static void		rum_update_slot(struct ifnet *);
 static void		rum_set_bssid(struct rum_softc *, const uint8_t *);
 static void		rum_set_macaddr(struct rum_softc *, const uint8_t *);
+static void		rum_update_mcast(struct ifnet *);
 static void		rum_update_promisc(struct ifnet *);
 static void		rum_setpromisc(struct rum_softc *);
 static const char	*rum_get_rf(int);
@@ -512,6 +513,7 @@ rum_attach(device_t self)
 
 	ic->ic_vap_create = rum_vap_create;
 	ic->ic_vap_delete = rum_vap_delete;
+	ic->ic_update_mcast = rum_update_mcast;
 
 	ieee80211_radiotap_attach(ic,
 	    &sc->sc_txtap.wt_ihdr, sizeof(sc->sc_txtap),
@@ -1814,6 +1816,17 @@ rum_update_promisc(struct ifnet *ifp)
 	RUM_UNLOCK(sc);
 }
 
+static void
+rum_update_mcast(struct ifnet *ifp)
+{
+	static int warning_printed;
+
+	if (warning_printed == 0) {
+		if_printf(ifp, "need to implement %s\n", __func__);
+		warning_printed = 1;
+	}
+}
+
 static const char *
 rum_get_rf(int rev)
 {


More information about the svn-src-all mailing list