Changeset View
Changeset View
Standalone View
Standalone View
sys/dev/malo/if_malo.c
Show All 12 Lines | |||||
#include <net80211/ieee80211_var.h> | #include <net80211/ieee80211_var.h> | ||||
#include <net80211/ieee80211_regdomain.h> | #include <net80211/ieee80211_regdomain.h> | ||||
#include <net/bpf.h> | #include <net/bpf.h> | ||||
#include <dev/malo/if_malo.h> | #include <dev/malo/if_malo.h> | ||||
SYSCTL_NODE(_hw, OID_AUTO, malo, CTLFLAG_RD, 0, | SYSCTL_NODE(_hw, OID_AUTO, malo, CTLFLAG_RD | CTLFLAG_MPSAFE, 0, | ||||
"Marvell 88w8335 driver parameters"); | "Marvell 88w8335 driver parameters"); | ||||
static int malo_txcoalesce = 8; /* # tx pkts to q before poking f/w*/ | static int malo_txcoalesce = 8; /* # tx pkts to q before poking f/w*/ | ||||
SYSCTL_INT(_hw_malo, OID_AUTO, txcoalesce, CTLFLAG_RWTUN, &malo_txcoalesce, | SYSCTL_INT(_hw_malo, OID_AUTO, txcoalesce, CTLFLAG_RWTUN, &malo_txcoalesce, | ||||
0, "tx buffers to send at once"); | 0, "tx buffers to send at once"); | ||||
static int malo_rxbuf = MALO_RXBUF; /* # rx buffers to allocate */ | static int malo_rxbuf = MALO_RXBUF; /* # rx buffers to allocate */ | ||||
SYSCTL_INT(_hw_malo, OID_AUTO, rxbuf, CTLFLAG_RWTUN, &malo_rxbuf, | SYSCTL_INT(_hw_malo, OID_AUTO, rxbuf, CTLFLAG_RWTUN, &malo_rxbuf, | ||||
0, "rx buffers allocated"); | 0, "rx buffers allocated"); | ||||
Show All 12 Lines |