Hi all,

current kernel without patch:

5:0:0: Atheros unknown
        0x0000: Vendor ID: 168c Product ID: ff1c
        0x0004: Command: 0000 Status: 0010
        0x0008: Class: 02 Subclass: 00 Interface: 00 Revision: 01
        0x000c: BIST: 00 Header Type: 00 Latency Timer: 00 Cache Line Size:
00
        0x0010: BAR mem 64bit addr: 0x0000000000000000/0x00010000
        0x0018: BAR empty (00000000)
        0x001c: BAR empty (00000000)
        0x0020: BAR empty (00000000)
        0x0024: BAR empty (00000000)
        0x0028: Cardbus CIS: 00000000
        0x002c: Subsystem Vendor ID: 0000 Product ID: 0000
        0x0030: Expansion ROM Base Address: 00000000
        0x0038: 00000000
        0x003c: Interrupt Pin: 01 Line: ff Min Gnt: 00 Max Lat: 00
        0x0040: Capability 0x01: Power Management
        0x0050: Capability 0x05: Message Signaled Interrupts (MSI)
        0x0060: Capability 0x10: PCI Express
                Link Speed: 2.5 / 2.5 GT/s Link Width: x1 / x1
        0x0090: Capability 0x11: Extended Message Signaled Interrupts (MSI-X)

current kernel with patch:


         5:0:0: Atheros AR9281
                  0x0000: Vendor ID: 168c Product ID: 002a
                  0x0004: Command: 0006 Status: 0010
                  0x0008: Class: 02 Subclass: 80 Interface: 00 Revision: 01
                  0x000c: BIST: 00 Header Type: 00 Latency Timer: 00
        Cache Line
        Size: 00
                  0x0010: BAR mem 64bit addr: 0x00000000f7e00000/0x00010000
                  0x0018: BAR empty (00000000)
                  0x001c: BAR empty (00000000)
                  0x0020: BAR empty (00000000)
                  0x0024: BAR empty (00000000)
                  0x0028: Cardbus CIS: 00000000
                  0x002c: Subsystem Vendor ID: 168c Product ID: 3099
                  0x0030: Expansion ROM Base Address: 00000000
                  0x0038: 00000000
                  0x003c: Interrupt Pin: 01 Line: ff Min Gnt: 00 Max Lat: 00
                  0x0040: Capability 0x01: Power Management
                  0x0050: Capability 0x05: Message Signaled Interrupts (MSI)
                  0x0060: Capability 0x10: PCI Express
                          Link Speed: 2.5 / 2.5 GT/s Link Width: x1 / x1
                  0x0090: Capability 0x11: Extended Message Signaled
        Interrupts
        (MSI-X)

Hope someone can commit the new product id.
Connecting to a WLAN network works and also hostap mode.

Thank you very much.

Cheers,
Mathias


Index: if_athn_pci.c
===================================================================
RCS file: /cvs/src/sys/dev/pci/if_athn_pci.c,v
retrieving revision 1.14
diff -u -p -r1.14 if_athn_pci.c
--- if_athn_pci.c       6 Dec 2013 21:03:03 -0000       1.14
+++ if_athn_pci.c       1 Jun 2014 19:09:11 -0000
@@ -94,6 +94,7 @@ static const struct pci_matchid athn_pci
        { PCI_VENDOR_ATHEROS, PCI_PRODUCT_ATHEROS_AR9160 },
        { PCI_VENDOR_ATHEROS, PCI_PRODUCT_ATHEROS_AR9280 },
        { PCI_VENDOR_ATHEROS, PCI_PRODUCT_ATHEROS_AR9281 },
+       { PCI_VENDOR_ATHEROS, PCI_PRODUCT_ATHEROS_AR9281_2 },
        { PCI_VENDOR_ATHEROS, PCI_PRODUCT_ATHEROS_AR9285 },
        { PCI_VENDOR_ATHEROS, PCI_PRODUCT_ATHEROS_AR2427 },
        { PCI_VENDOR_ATHEROS, PCI_PRODUCT_ATHEROS_AR9227 },
Index: pcidevs
===================================================================
RCS file: /cvs/src/sys/dev/pci/pcidevs,v
retrieving revision 1.1728
diff -u -p -r1.1728 pcidevs
--- pcidevs     20 May 2014 15:02:24 -0000      1.1728
+++ pcidevs     1 Jun 2014 19:09:22 -0000
@@ -1840,6 +1840,7 @@ product ATHEROS AR5211_DEFAULT    0x1112  AR
 product ATHEROS AR5212_FPGA    0xf013  AR5212
 product ATHEROS AR5211_FPGA11B 0xf11b  AR5211Ref
 product ATHEROS AR5211_LEGACY  0xff12  AR5211Ref
+product ATHEROS AR9281_2       0xff1c  AR9281

 /* Atmel products */
 product ATMEL AT76C506         0x0506  AT76C506

Reply via email to