Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src-draft/trunk]: src/sys/dev/pci Name the ic.



details:   https://anonhg.NetBSD.org/src-all/rev/e048cda6b36d
branches:  trunk
changeset: 952046:e048cda6b36d
user:      Nathanial Sloss <nat%netbsd.org@localhost>
date:      Tue May 12 03:58:31 2020 +1000

description:
Name the ic.

diffstat:

 sys/dev/pci/if_iwn.c |  1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diffs (11 lines):

diff -r af014c30820f -r e048cda6b36d sys/dev/pci/if_iwn.c
--- a/sys/dev/pci/if_iwn.c      Tue May 12 03:57:20 2020 +1000
+++ b/sys/dev/pci/if_iwn.c      Tue May 12 03:58:31 2020 +1000
@@ -549,6 +549,7 @@
            sc->ntxchains, sc->nrxchains, sc->eeprom_domain,
            ether_sprintf(ic->ic_macaddr));
 
+       ic->ic_name = "iwn";
        ic->ic_softc = sc;
        ic->ic_phytype = IEEE80211_T_OFDM;      /* not only, but not used */
        ic->ic_opmode = IEEE80211_M_STA;        /* default to BSS mode */



Home | Main Index | Thread Index | Old Index