19 |
|
*/ |
20 |
|
|
21 |
|
#include <sys/cdefs.h> |
22 |
< |
__FBSDID("$FreeBSD: stable/10/sys/dev/usb/wlan/if_run.c 292183 2015-12-14 09:24:40Z hselasky $"); |
22 |
> |
__FBSDID("$FreeBSD: stable/10/sys/dev/usb/wlan/if_run.c 343821 2019-02-06 02:18:11Z avos $"); |
23 |
|
|
24 |
|
/*- |
25 |
|
* Ralink Technology RT2700U/RT2800U/RT3000U/RT3900E chipset driver. |
43 |
|
#include <sys/firmware.h> |
44 |
|
#include <sys/kdb.h> |
45 |
|
|
46 |
– |
#include <machine/bus.h> |
47 |
– |
#include <machine/resource.h> |
48 |
– |
#include <sys/rman.h> |
49 |
– |
|
46 |
|
#include <net/bpf.h> |
47 |
|
#include <net/if.h> |
48 |
|
#include <net/if_arp.h> |
1988 |
|
static struct ieee80211_node * |
1989 |
|
run_node_alloc(struct ieee80211vap *vap, const uint8_t mac[IEEE80211_ADDR_LEN]) |
1990 |
|
{ |
1991 |
< |
return malloc(sizeof (struct run_node), M_DEVBUF, M_NOWAIT | M_ZERO); |
1991 |
> |
return malloc(sizeof (struct run_node), M_80211_NODE, |
1992 |
> |
M_NOWAIT | M_ZERO); |
1993 |
|
} |
1994 |
|
|
1995 |
|
static int |