git: if_iwm - Simplify device id matching code a bit.
Imre Vadasz
ivadasz at crater.dragonflybsd.org
Sun Sep 25 12:09:11 PDT 2016
commit 35f0e6c86c1654323d6b19f7a077f4ab8ac85868
Author: Imre Vadász <imre at vdsz.com>
Date: Sun Sep 25 20:59:55 2016 +0200
if_iwm - Simplify device id matching code a bit.
* Just add the struct iwm_cfg pointers to the iwm_devices array, to get
rid of the large switch clause.
Summary of changes:
sys/dev/netif/iwm/if_iwm.c | 69 ++++++++++++++++++++++------------------------
1 file changed, 33 insertions(+), 36 deletions(-)
http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/35f0e6c86c1654323d6b19f7a077f4ab8ac85868
--
DragonFly BSD source repository
More information about the Commits
mailing list