NetBSD-Bugs archive

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

Re: kern/51797: iwm(4) does not work after if_iwm.c rev. 1.45



The following reply was made to PR kern/51797; it has been noted by GNATS.

From: Kimihiro Nonaka <nonakap%gmail.com@localhost>
To: Ryo ONODERA <ryo_on%yk.rim.or.jp@localhost>
Cc: "gnats-bugs%netbsd.org@localhost" <gnats-bugs%netbsd.org@localhost>
Subject: Re: kern/51797: iwm(4) does not work after if_iwm.c rev. 1.45
Date: Sun, 8 Jan 2017 18:57:04 +0900

 Hi,
 
 2017-01-08 18:48 GMT+09:00 Ryo ONODERA <ryo_on%yk.rim.or.jp@localhost>:
 
 > iwm0 at pci2 dev 0 function 0: vendor 8086 product 095a (rev. 0x59)
 > iwm0: interrupting at msi4 vec 0
 > iwm0: hw rev 0x210, fw ver 16.242414.0, address 5c:e0:c5:a8:88:ab
 
 Hmm, your machine has 7265D.
 Please try a following patch.
 
 Index: sys/dev/pci/if_iwm.c
 ===================================================================
 RCS file: /cvsroot/src/sys/dev/pci/if_iwm.c,v
 retrieving revision 1.51
 diff -u -p -r1.51 if_iwm.c
 --- sys/dev/pci/if_iwm.c    8 Jan 2017 08:29:23 -0000    1.51
 +++ sys/dev/pci/if_iwm.c    8 Jan 2017 09:51:55 -0000
 @@ -7373,9 +7373,7 @@ iwm_attach(device_t parent, device_t sel
          break;
      case PCI_PRODUCT_INTEL_WIFI_LINK_7265_1:
      case PCI_PRODUCT_INTEL_WIFI_LINK_7265_2:
 -        sc->sc_fwname = (sc->sc_hw_rev & IWM_CSR_HW_REV_TYPE_MSK) ==
 -            IWM_CSR_HW_REV_TYPE_7265D ?
 -            "iwlwifi-7265D-16.ucode": "iwlwifi-7265-16.ucode";
 +        sc->sc_fwname = "iwlwifi-7265-16.ucode";
          sc->host_interrupt_operation_mode = 0;
          sc->sc_device_family = IWM_DEVICE_FAMILY_7000;
          sc->sc_fwdmasegsz = IWM_FWDMASEGSZ;
 
 Regards,
 -- 
 Kimihiro Nonaka
 


Home | Main Index | Thread Index | Old Index