if_iwm.c (4b49587c3dd54aed8eb103d838a89ca79484a9b6) if_iwm.c (6472fa9a9d6a40321d04bcf30f43d758ede4d594)
1/* $OpenBSD: if_iwm.c,v 1.167 2017/04/04 00:40:52 claudio Exp $ */
2
3/*
4 * Copyright (c) 2014 genua mbh <info@genua.de>
5 * Copyright (c) 2014 Fixup Software Ltd.
6 *
7 * Permission to use, copy, modify, and distribute this software for any
8 * purpose with or without fee is hereby granted, provided that the above

--- 5670 unchanged lines hidden (view full) ---

5679/*
5680 * Autoconf glue-sniffing
5681 */
5682#define PCI_VENDOR_INTEL 0x8086
5683#define PCI_PRODUCT_INTEL_WL_3160_1 0x08b3
5684#define PCI_PRODUCT_INTEL_WL_3160_2 0x08b4
5685#define PCI_PRODUCT_INTEL_WL_3165_1 0x3165
5686#define PCI_PRODUCT_INTEL_WL_3165_2 0x3166
1/* $OpenBSD: if_iwm.c,v 1.167 2017/04/04 00:40:52 claudio Exp $ */
2
3/*
4 * Copyright (c) 2014 genua mbh <info@genua.de>
5 * Copyright (c) 2014 Fixup Software Ltd.
6 *
7 * Permission to use, copy, modify, and distribute this software for any
8 * purpose with or without fee is hereby granted, provided that the above

--- 5670 unchanged lines hidden (view full) ---

5679/*
5680 * Autoconf glue-sniffing
5681 */
5682#define PCI_VENDOR_INTEL 0x8086
5683#define PCI_PRODUCT_INTEL_WL_3160_1 0x08b3
5684#define PCI_PRODUCT_INTEL_WL_3160_2 0x08b4
5685#define PCI_PRODUCT_INTEL_WL_3165_1 0x3165
5686#define PCI_PRODUCT_INTEL_WL_3165_2 0x3166
5687#define PCI_PRODUCT_INTEL_WL_3168_1 0x24fb
5687#define PCI_PRODUCT_INTEL_WL_7260_1 0x08b1
5688#define PCI_PRODUCT_INTEL_WL_7260_2 0x08b2
5689#define PCI_PRODUCT_INTEL_WL_7265_1 0x095a
5690#define PCI_PRODUCT_INTEL_WL_7265_2 0x095b
5691#define PCI_PRODUCT_INTEL_WL_8260_1 0x24f3
5692#define PCI_PRODUCT_INTEL_WL_8260_2 0x24f4
5693#define PCI_PRODUCT_INTEL_WL_8265_1 0x24fd
5694
5695static const struct iwm_devices {
5696 uint16_t device;
5697 const struct iwm_cfg *cfg;
5698} iwm_devices[] = {
5699 { PCI_PRODUCT_INTEL_WL_3160_1, &iwm3160_cfg },
5700 { PCI_PRODUCT_INTEL_WL_3160_2, &iwm3160_cfg },
5701 { PCI_PRODUCT_INTEL_WL_3165_1, &iwm3165_cfg },
5702 { PCI_PRODUCT_INTEL_WL_3165_2, &iwm3165_cfg },
5688#define PCI_PRODUCT_INTEL_WL_7260_1 0x08b1
5689#define PCI_PRODUCT_INTEL_WL_7260_2 0x08b2
5690#define PCI_PRODUCT_INTEL_WL_7265_1 0x095a
5691#define PCI_PRODUCT_INTEL_WL_7265_2 0x095b
5692#define PCI_PRODUCT_INTEL_WL_8260_1 0x24f3
5693#define PCI_PRODUCT_INTEL_WL_8260_2 0x24f4
5694#define PCI_PRODUCT_INTEL_WL_8265_1 0x24fd
5695
5696static const struct iwm_devices {
5697 uint16_t device;
5698 const struct iwm_cfg *cfg;
5699} iwm_devices[] = {
5700 { PCI_PRODUCT_INTEL_WL_3160_1, &iwm3160_cfg },
5701 { PCI_PRODUCT_INTEL_WL_3160_2, &iwm3160_cfg },
5702 { PCI_PRODUCT_INTEL_WL_3165_1, &iwm3165_cfg },
5703 { PCI_PRODUCT_INTEL_WL_3165_2, &iwm3165_cfg },
5704 { PCI_PRODUCT_INTEL_WL_3168_1, &iwm3168_cfg },
5703 { PCI_PRODUCT_INTEL_WL_7260_1, &iwm7260_cfg },
5704 { PCI_PRODUCT_INTEL_WL_7260_2, &iwm7260_cfg },
5705 { PCI_PRODUCT_INTEL_WL_7265_1, &iwm7265_cfg },
5706 { PCI_PRODUCT_INTEL_WL_7265_2, &iwm7265_cfg },
5707 { PCI_PRODUCT_INTEL_WL_8260_1, &iwm8260_cfg },
5708 { PCI_PRODUCT_INTEL_WL_8260_2, &iwm8260_cfg },
5709 { PCI_PRODUCT_INTEL_WL_8265_1, &iwm8265_cfg },
5710};

--- 753 unchanged lines hidden ---
5705 { PCI_PRODUCT_INTEL_WL_7260_1, &iwm7260_cfg },
5706 { PCI_PRODUCT_INTEL_WL_7260_2, &iwm7260_cfg },
5707 { PCI_PRODUCT_INTEL_WL_7265_1, &iwm7265_cfg },
5708 { PCI_PRODUCT_INTEL_WL_7265_2, &iwm7265_cfg },
5709 { PCI_PRODUCT_INTEL_WL_8260_1, &iwm8260_cfg },
5710 { PCI_PRODUCT_INTEL_WL_8260_2, &iwm8260_cfg },
5711 { PCI_PRODUCT_INTEL_WL_8265_1, &iwm8265_cfg },
5712};

--- 753 unchanged lines hidden ---