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/dc499f05a111
branches:  trunk
changeset: 947956:dc499f05a111
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 23ebf12ab836 -r dc499f05a111 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