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: Ryo ONODERA <ryo_on%yk.rim.or.jp@localhost>
To: nonakap%gmail.com@localhost
Cc: gnats-bugs%netbsd.org@localhost
Subject: Re: kern/51797: iwm(4) does not work after if_iwm.c rev. 1.45
Date: Sun, 08 Jan 2017 19:09:36 +0900 (JST)
Hi,
From: Kimihiro Nonaka <nonakap%gmail.com@localhost>, 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.
Hmm... It is not supported yet accoring to your commit log.
> 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;
With your patch, I have gotten as follows.
# wpa_supplicant -i iwm0 -c configfile
iwm0: device timeout
iwm0: device timeout
(infinite loop)
"iwm0: fatal firmware error" disappears. However it does not work yet.
Thank you.
> Regards,
> --
> Kimihiro Nonaka
P.S.
I will test latest NetBSD/amd64-current kernel on my Vaio Pro 11 later.
It has iwm(4) device inside.
--
Ryo ONODERA // ryo_on%yk.rim.or.jp@localhost
PGP fingerprint = 82A2 DC91 76E0 A10A 8ABB FD1B F404 27FA C7D1 15F3
Home |
Main Index |
Thread Index |
Old Index