NetBSD Problem Report #48150

From www@NetBSD.org  Fri Aug 23 13:32:48 2013
Return-Path: <www@NetBSD.org>
Received: from mail.netbsd.org (mail.netbsd.org [149.20.53.66])
	(using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))
	(Client CN "mail.NetBSD.org", Issuer "Postmaster NetBSD.org" (verified OK))
	by mollari.NetBSD.org (Postfix) with ESMTPS id 50EA67194D
	for <gnats-bugs@gnats.NetBSD.org>; Fri, 23 Aug 2013 13:32:48 +0000 (UTC)
Message-Id: <20130823133247.017C47198F@mollari.NetBSD.org>
Date: Fri, 23 Aug 2013 13:32:47 +0000 (UTC)
From: noriyuki.koizumi@gmail.com
Reply-To: noriyuki.koizumi@gmail.com
To: gnats-bugs@NetBSD.org
Subject: add support for Intel Centrino Advanced-N 6235 Wi-Fi controller
X-Send-Pr-Version: www-1.0

>Number:         48150
>Category:       kern
>Synopsis:       add support for Intel Centrino Advanced-N 6235 Wi-Fi controller
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    kern-bug-people
>State:          closed
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Fri Aug 23 13:35:00 +0000 2013
>Closed-Date:    Mon Aug 26 02:49:00 +0000 2013
>Last-Modified:  Thu Dec 04 05:55:02 +0000 2014
>Originator:     Noriyuki Koizumi
>Release:        NetBSD/amd64 -current
>Organization:
>Environment:
NetBSD d2700dc.collie.mydns.jp 6.99.23 NetBSD 6.99.23 (GENERIC) #1: Sat Aug 17 15:54:36 JST 2013  root@d2700dc.collie.mydns.jp:/export/NetBSD/current/obj/amd64/sys/arch/amd64/compile/GENERIC amd64
>Description:
support for Intel Centrino Advanced-N 6235 Wi-Fi controller appears to be missing in NetBSD.

vendor 0x8086 product 0x088e (miscellaneous network, revision 0x19) at pci1 dev 0 function 0 not configured


>How-To-Repeat:
boot kernel on hardware with Intel Centrino Advanced-N 6235 Wi-Fi controller.
>Fix:
apply this patch.

Index: sys/dev/pci/if_iwn.c
===================================================================
RCS file: /cvsroot/src/sys/dev/pci/if_iwn.c,v
retrieving revision 1.67
diff -u -r1.67 if_iwn.c
--- sys/dev/pci/if_iwn.c        28 Jul 2013 11:46:24 -0000      1.67
+++ sys/dev/pci/if_iwn.c        23 Aug 2013 07:11:28 -0000
@@ -102,6 +102,7 @@
        PCI_PRODUCT_INTEL_WIFI_LINK_6005_2X2_2,
        PCI_PRODUCT_INTEL_WIFI_LINK_6230_1,
        PCI_PRODUCT_INTEL_WIFI_LINK_6230_2,
+       PCI_PRODUCT_INTEL_WIFI_LINK_6235,
 };
 
 /*
@@ -731,7 +732,8 @@
                if (pid == PCI_PRODUCT_INTEL_WIFI_LINK_1030_1 ||
                    pid == PCI_PRODUCT_INTEL_WIFI_LINK_1030_2 ||
                    pid == PCI_PRODUCT_INTEL_WIFI_LINK_6230_1 ||
-                   pid == PCI_PRODUCT_INTEL_WIFI_LINK_6230_2) {
+                   pid == PCI_PRODUCT_INTEL_WIFI_LINK_6230_2 ||
+                   pid == PCI_PRODUCT_INTEL_WIFI_LINK_6235) {
                        sc->fwname = "iwlwifi-6000g2b-6.ucode";
                        ops->config_bt_coex = iwn_config_bt_coex_adv1;
                }
Index: sys/dev/pci/pcidevs
===================================================================
RCS file: /cvsroot/src/sys/dev/pci/pcidevs,v
retrieving revision 1.1159
diff -u -r1.1159 pcidevs
--- sys/dev/pci/pcidevs 17 Jul 2013 19:49:11 -0000      1.1159
+++ sys/dev/pci/pcidevs 23 Aug 2013 07:11:29 -0000
@@ -2544,6 +2544,7 @@
 product INTEL GDT_RAID2                0x061f  GDT RAID
 product INTEL WIFI_LINK_2230_1 0x0887  Centrino Wireless-N 2230
 product INTEL WIFI_LINK_2230_2 0x0888  Centrino Wireless-N 2230
+product INTEL WIFI_LINK_6235   0x088e  Centrino Advanced-N 6235
 product INTEL 80960RM          0x0962  i960 RM PCI-PCI
 product INTEL 80960RN          0x0964  i960 RN PCI-PCI
 product INTEL HASWELL_HOST_DRAM        0x0c00  Haswell Host Bridge, DRAM


rebuild kernel and boot from new kernel.

iwn0 at pci1 dev 0 function 0: Intel Centrino Advanced-N 6235 (rev. 0x19)
iwn0: interrupting at ioapic0 pin 16
iwn0: MIMO 2T2R, AGN, address 44:85:00:00:b8:06
iwn0: 11a rates: 6Mbps 9Mbps 12Mbps 18Mbps 24Mbps 36Mbps 48Mbps 54Mbps
iwn0: 11b rates: 1Mbps 2Mbps 5.5Mbps 11Mbps
iwn0: 11g rates: 1Mbps 2Mbps 5.5Mbps 11Mbps 6Mbps 9Mbps 12Mbps 18Mbps 24Mbps 36Mbps 48Mbps 54Mbps

>Release-Note:

>Audit-Trail:
From: "Christos Zoulas" <christos@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc: 
Subject: PR/48150 CVS commit: src/sys/dev/pci
Date: Fri, 23 Aug 2013 12:49:53 -0400

 Module Name:	src
 Committed By:	christos
 Date:		Fri Aug 23 16:49:53 UTC 2013

 Modified Files:
 	src/sys/dev/pci: if_iwn.c pcidevs

 Log Message:
 PR/48150: Noriyuki Koizumi: Add support for Intel Centrino Advanced-N 6235
 Wi-Fi controller


 To generate a diff of this commit:
 cvs rdiff -u -r1.67 -r1.68 src/sys/dev/pci/if_iwn.c
 cvs rdiff -u -r1.1159 -r1.1160 src/sys/dev/pci/pcidevs

 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.

State-Changed-From-To: open->closed
State-Changed-By: snj@NetBSD.org
State-Changed-When: Mon, 26 Aug 2013 02:49:00 +0000
State-Changed-Why:
christos committed this.  Thanks!


From: "Soren Jacobsen" <snj@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc: 
Subject: PR/48150 CVS commit: [netbsd-6] src/sys/dev/pci
Date: Thu, 4 Dec 2014 05:54:04 +0000

 Module Name:	src
 Committed By:	snj
 Date:		Thu Dec  4 05:54:04 UTC 2014

 Modified Files:
 	src/sys/dev/pci [netbsd-6]: pcidevs

 Log Message:
 Pull up following revision(s) (requested by msaitoh in ticket #1202):
 	sys/dev/pci/pcidevs: revisions 1.1160-1.1161, 1.1163-1.1171,
 				       1.1173-1.1177, 1.1183-1.1194,
 				       1.1196, 1.1198-1.1205 via patch
 Add some PCI devices to pcidevs:
 - PR/48180: Christian Groessler: Add Oxford Semi OXuPCI952 dual serial
   PCI card.
 - Add DIGI Neo 8-port serial(PCIe) and OXFORD OXPCIe952 Parallel.
 - Add some Intel devices mainly taken from "Mobile 4th Generation Intel Core
   Processor Family I/O" datasheet.
 - Add some Intel Core internal devices.
 - Add Intel Quark X1000 devices.
 - Add devices of Intel Atom S1200 series from the datasheet.
 - Add some Intel E600 and EG20T devices.
 - Add some Intel X38 devices.
 - Add some Intel devices (Sandy Bridge, 6702PXH, X38 and Pineview)
 - Add some Intel Ivy Bridge devices.
 - Add Intel 3200 Host and PCIe.
 - Add Intel EP80579 devices from OpenBSD.
 - Add Intel Bay Trail devices.
 - Add Intel Atom Z36xx and Z37xx devices.
 - Add Intel Xeon E3-1200 v3 Host Bridge, DRAM.
 - Add Intel DH89xx's SMBus controller.
 - Add Intel Z68 LPC.
 - Add yet another Intel 82599 device.
 - Add Intel X540-AT2.
 - Add some Intel gigabit Ethernet devices.
 - PR/48150: Noriyuki Koizumi: Add Intel Centrino Advanced-N 6235 Wi-Fi
   controller.
 - Add some Intel Wi-Fi devices.
 - Add entries for Atheros AR9462 and a new flavour of Intel Haswell
   Integrated Graphics Device.
 - Add Radeon HD6320 Graphics.
 - Add ASMedia ASM1042 xHCI USB3 controller.
 - Add Realtek RTL8402 PCI-E Card Reader.
 - Add some Realtek devices.
 - Add DIGI Neo 8-port serial(PCIe) and OXFORD OXPCIe952 Parallel.
 - Add ASPEED Graphics family.
 - Add ASPEED AST1150 PCIe-to-PCI bridge.
 - Add GeForce 210 High Definition Audio Controller.
 - Add GeForce GT 640M.
 - Add some Armada 370 IDs.
 - Add some new Attansic ethernet devices.
 - Add ITE IT8213.
 - Add some HP iLO devices.
 - Add Matrox MGA G200eH.
 - Add Samsung Electronics XP941 M.2 SSD.


 To generate a diff of this commit:
 cvs rdiff -u -r1.1102.2.14 -r1.1102.2.15 src/sys/dev/pci/pcidevs

 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.

>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2007 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.