Deleted Added
full compact
if_iwn.c (220894) if_iwn.c (220895)
1/*-
2 * Copyright (c) 2007-2009
3 * Damien Bergamini <damien.bergamini@free.fr>
4 * Copyright (c) 2008
5 * Benjamin Close <benjsc@FreeBSD.org>
6 * Copyright (c) 2008 Sam Leffler, Errno Consulting
7 *
8 * Permission to use, copy, modify, and distribute this software for any

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

19 */
20
21/*
22 * Driver for Intel WiFi Link 4965 and 1000/5000/6000 Series 802.11 network
23 * adapters.
24 */
25
26#include <sys/cdefs.h>
1/*-
2 * Copyright (c) 2007-2009
3 * Damien Bergamini <damien.bergamini@free.fr>
4 * Copyright (c) 2008
5 * Benjamin Close <benjsc@FreeBSD.org>
6 * Copyright (c) 2008 Sam Leffler, Errno Consulting
7 *
8 * Permission to use, copy, modify, and distribute this software for any

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

19 */
20
21/*
22 * Driver for Intel WiFi Link 4965 and 1000/5000/6000 Series 802.11 network
23 * adapters.
24 */
25
26#include <sys/cdefs.h>
27__FBSDID("$FreeBSD: head/sys/dev/iwn/if_iwn.c 220894 2011-04-20 17:43:20Z bschmidt $");
27__FBSDID("$FreeBSD: head/sys/dev/iwn/if_iwn.c 220895 2011-04-20 17:49:05Z bschmidt $");
28
29#include <sys/param.h>
30#include <sys/sockio.h>
31#include <sys/sysctl.h>
32#include <sys/mbuf.h>
33#include <sys/kernel.h>
34#include <sys/socket.h>
35#include <sys/systm.h>

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

73#include <dev/iwn/if_iwnvar.h>
74
75struct iwn_ident {
76 uint16_t vendor;
77 uint16_t device;
78 const char *name;
79};
80
28
29#include <sys/param.h>
30#include <sys/sockio.h>
31#include <sys/sysctl.h>
32#include <sys/mbuf.h>
33#include <sys/kernel.h>
34#include <sys/socket.h>
35#include <sys/systm.h>

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

73#include <dev/iwn/if_iwnvar.h>
74
75struct iwn_ident {
76 uint16_t vendor;
77 uint16_t device;
78 const char *name;
79};
80
81static const struct iwn_ident iwn_ident_table [] = {
82 { 0x8086, 0x4229, "Intel(R) PRO/Wireless 4965BGN" },
83 { 0x8086, 0x422D, "Intel(R) PRO/Wireless 4965BGN" },
84 { 0x8086, 0x4230, "Intel(R) PRO/Wireless 4965BGN" },
85 { 0x8086, 0x4233, "Intel(R) PRO/Wireless 4965BGN" },
86 { 0x8086, 0x4232, "Intel(R) PRO/Wireless 5100" },
87 { 0x8086, 0x4237, "Intel(R) PRO/Wireless 5100" },
88 { 0x8086, 0x423C, "Intel(R) PRO/Wireless 5150" },
89 { 0x8086, 0x423D, "Intel(R) PRO/Wireless 5150" },
90 { 0x8086, 0x4235, "Intel(R) PRO/Wireless 5300" },
91 { 0x8086, 0x4236, "Intel(R) PRO/Wireless 5300" },
92 { 0x8086, 0x423A, "Intel(R) PRO/Wireless 5350" },
93 { 0x8086, 0x423B, "Intel(R) PRO/Wireless 5350" },
94 { 0x8086, 0x0083, "Intel(R) PRO/Wireless 1000" },
95 { 0x8086, 0x0084, "Intel(R) PRO/Wireless 1000" },
96 { 0x8086, 0x008D, "Intel(R) PRO/Wireless 6000" },
97 { 0x8086, 0x008E, "Intel(R) PRO/Wireless 6000" },
98 { 0x8086, 0x4238, "Intel(R) PRO/Wireless 6000" },
99 { 0x8086, 0x4239, "Intel(R) PRO/Wireless 6000" },
100 { 0x8086, 0x422B, "Intel(R) PRO/Wireless 6000" },
101 { 0x8086, 0x422C, "Intel(R) PRO/Wireless 6000" },
102 { 0x8086, 0x0087, "Intel(R) PRO/Wireless 6250" },
103 { 0x8086, 0x0089, "Intel(R) PRO/Wireless 6250" },
104 { 0x8086, 0x0082, "Intel(R) PRO/Wireless 6205a" },
105 { 0x8086, 0x0085, "Intel(R) PRO/Wireless 6205a" },
106#ifdef notyet
107 { 0x8086, 0x008a, "Intel(R) PRO/Wireless 6205b" },
108 { 0x8086, 0x008b, "Intel(R) PRO/Wireless 6205b" },
109 { 0x8086, 0x008f, "Intel(R) PRO/Wireless 6205b" },
110 { 0x8086, 0x0090, "Intel(R) PRO/Wireless 6205b" },
111 { 0x8086, 0x0091, "Intel(R) PRO/Wireless 6205b" },
112#endif
81static const struct iwn_ident iwn_ident_table[] = {
82 { 0x8086, 0x0082, "Intel(R) Centrino(R) Advanced-N 6205" },
83 { 0x8086, 0x0083, "Intel(R) Centrino(R) Wireless-N 1000" },
84 { 0x8086, 0x0084, "Intel(R) Centrino(R) Wireless-N 1000" },
85 { 0x8086, 0x0085, "Intel(R) Centrino(R) Advanced-N 6205" },
86 { 0x8086, 0x0087, "Intel(R) Centrino(R) Advanced-N + WiMAX 6250" },
87 { 0x8086, 0x0089, "Intel(R) Centrino(R) Advanced-N + WiMAX 6250" },
88 { 0x8086, 0x008a, "Intel(R) Centrino(R) Wireless-N 1030" },
89 { 0x8086, 0x008b, "Intel(R) Centrino(R) Wireless-N 1030" },
90 { 0x8086, 0x0090, "Intel(R) Centrino(R) Advanced-N 6230" },
91 { 0x8086, 0x0091, "Intel(R) Centrino(R) Advanced-N 6230" },
92 { 0x8086, 0x4229, "Intel(R) Wireless WiFi Link 4965" },
93 { 0x8086, 0x422b, "Intel(R) Centrino(R) Ultimate-N 6300" },
94 { 0x8086, 0x422c, "Intel(R) Centrino(R) Advanced-N 6200" },
95 { 0x8086, 0x4230, "Intel(R) Wireless WiFi Link 4965" },
96 { 0x8086, 0x4232, "Intel(R) WiFi Link 5100" },
97 { 0x8086, 0x4235, "Intel(R) Ultimate N WiFi Link 5300" },
98 { 0x8086, 0x4236, "Intel(R) Ultimate N WiFi Link 5300" },
99 { 0x8086, 0x4237, "Intel(R) WiFi Link 5100" },
100 { 0x8086, 0x4238, "Intel(R) Centrino(R) Ultimate-N 6300" },
101 { 0x8086, 0x4239, "Intel(R) Centrino(R) Advanced-N 6200" },
102 { 0x8086, 0x423a, "Intel(R) WiMAX/WiFi Link 5350" },
103 { 0x8086, 0x423b, "Intel(R) WiMAX/WiFi Link 5350" },
104 { 0x8086, 0x423c, "Intel(R) WiMAX/WiFi Link 5150" },
105 { 0x8086, 0x423d, "Intel(R) WiMAX/WiFi Link 5150" },
113 { 0, 0, NULL }
114};
115
116static int iwn_probe(device_t);
117static int iwn_attach(device_t);
118static int iwn4965_attach(struct iwn_softc *, uint16_t);
119static int iwn5000_attach(struct iwn_softc *, uint16_t);
120static void iwn_radiotap_attach(struct iwn_softc *);

--- 6590 unchanged lines hidden ---
106 { 0, 0, NULL }
107};
108
109static int iwn_probe(device_t);
110static int iwn_attach(device_t);
111static int iwn4965_attach(struct iwn_softc *, uint16_t);
112static int iwn5000_attach(struct iwn_softc *, uint16_t);
113static void iwn_radiotap_attach(struct iwn_softc *);

--- 6590 unchanged lines hidden ---