diff options
author | emaste <emaste@FreeBSD.org> | 2010-10-08 01:03:30 +0000 |
---|---|---|
committer | emaste <emaste@FreeBSD.org> | 2010-10-08 01:03:30 +0000 |
commit | 6258b1869bfe71886b640353c5938ba493c75615 (patch) | |
tree | d6f52ffeb8a2486fed785df1f2f76c762085fa27 | |
parent | a3f660853385a7931dbd3ec6d30de7fcdc90ab8a (diff) | |
download | FreeBSD-src-6258b1869bfe71886b640353c5938ba493c75615.zip FreeBSD-src-6258b1869bfe71886b640353c5938ba493c75615.tar.gz |
In r207768 I silenced a console warning from rum(4). There was legitimate
opposition to the change, since really we need to implement missing
functionality in drivers or the 802.3 layer.
For now, restore a reminder message for a missing rum_update_mcast, but
print it only once.
-rw-r--r-- | sys/dev/usb/wlan/if_rum.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/sys/dev/usb/wlan/if_rum.c b/sys/dev/usb/wlan/if_rum.c index d3cb788..53b4b37 100644 --- a/sys/dev/usb/wlan/if_rum.c +++ b/sys/dev/usb/wlan/if_rum.c @@ -1819,8 +1819,12 @@ rum_update_promisc(struct ifnet *ifp) static void rum_update_mcast(struct ifnet *ifp) { + static int warning_printed; - /* XXX do nothing? */ + if (warning_printed == 0) { + if_printf(ifp, "need to implement %s\n", __func__); + warning_printed = 1; + } } static const char * |