freebsd-dev/sys/dev/gem
Robert Watson eb956cd041 Use if_maddr_rlock()/if_maddr_runlock() rather than IF_ADDR_LOCK()/
IF_ADDR_UNLOCK() across network device drivers when accessing the
per-interface multicast address list, if_multiaddrs.  This will
allow us to change the locking strategy without affecting our driver
programming interface or binary interface.

For two wireless drivers, remove unnecessary locking, since they
don't actually access the multicast address list.

Approved by:	re (kib)
MFC after:	6 weeks
2009-06-26 11:45:06 +00:00
..
if_gem_pci.c - Initialize the ifnet structure, especially if_dname, before probing 2009-06-23 20:36:59 +00:00
if_gem_sbus.c - Initialize the ifnet structure, especially if_dname, before probing 2009-06-23 20:36:59 +00:00
if_gem.c Use if_maddr_rlock()/if_maddr_runlock() rather than IF_ADDR_LOCK()/ 2009-06-26 11:45:06 +00:00
if_gemreg.h - Initialize the ifnet structure, especially if_dname, before probing 2009-06-23 20:36:59 +00:00
if_gemvar.h Revert the part of r194763 which added a dying flag and instead 2009-06-24 19:04:08 +00:00