NetBSD-Bugs archive

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

Re: kern/49663: iwm(4) error with PCI_PRODUCT_INTEL_WIFI_LINK_7260_1



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

From: Ryo ONODERA <ryo_on%yk.rim.or.jp@localhost>
To: nonakap%gmail.com@localhost, gnats-bugs%netbsd.org@localhost
Cc: 
Subject: Re: kern/49663: iwm(4) error with
 PCI_PRODUCT_INTEL_WIFI_LINK_7260_1
Date: Sat, 21 Feb 2015 09:06:31 +0900 (JST)

 Hi,
 
 My iwm(4) device works fine under ArchLinux/x86_64 2015.02.01
 and OpenBSD/amd64 current (5.7).
 
 And with following patch for OpenBSD,
 iwm(4) under OpenBSD became not to work at all,
 MAC address is all zero, and iwm(4) does not report WiFi connection
 as active.
 
 Index: if_iwm.c
 ===================================================================
 RCS file: /cvs/src/sys/dev/pci/if_iwm.c,v
 retrieving revision 1.20
 diff -u -p -u -r1.20 if_iwm.c
 --- if_iwm.c	20 Feb 2015 14:08:18 -0000	1.20
 +++ if_iwm.c	21 Feb 2015 00:04:48 -0000
 @@ -6475,7 +6475,7 @@ iwm_attach(struct device *parent, struct
  	}
  
  	/* Install interrupt handler. */
 -	if (pci_intr_map_msi(pa, &ih) && pci_intr_map(pa, &ih)) {
 +	if (pci_intr_map(pa, &ih)) {
  		printf("%s: can't map interrupt\n", DEVNAME(sc));
  		return;
  	}
 
 Thank you.
 
 --
 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