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/b7139454b9c6
branches:  trunk
changeset: 986385:b7139454b9c6
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 5b16cfd8a3f1 -r b7139454b9c6 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
@@ -622,6 +622,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