Changeset View
Changeset View
Standalone View
Standalone View
sys/dev/firewire/if_fwip.c
Show All 12 Lines | |||||
static int fwipdebug = 0; | static int fwipdebug = 0; | ||||
static int broadcast_channel = 0xc0 | 0x1f; /* tag | channel(XXX) */ | static int broadcast_channel = 0xc0 | 0x1f; /* tag | channel(XXX) */ | ||||
static int tx_speed = 2; | static int tx_speed = 2; | ||||
static int rx_queue_len = FWMAXQUEUE; | static int rx_queue_len = FWMAXQUEUE; | ||||
static MALLOC_DEFINE(M_FWIP, "if_fwip", "IP over FireWire interface"); | static MALLOC_DEFINE(M_FWIP, "if_fwip", "IP over FireWire interface"); | ||||
SYSCTL_INT(_debug, OID_AUTO, if_fwip_debug, CTLFLAG_RW, &fwipdebug, 0, ""); | SYSCTL_INT(_debug, OID_AUTO, if_fwip_debug, CTLFLAG_RW, &fwipdebug, 0, ""); | ||||
SYSCTL_DECL(_hw_firewire); | SYSCTL_DECL(_hw_firewire); | ||||
static SYSCTL_NODE(_hw_firewire, OID_AUTO, fwip, CTLFLAG_RD, 0, | static SYSCTL_NODE(_hw_firewire, OID_AUTO, fwip, CTLFLAG_RD | CTLFLAG_MPSAFE, 0, | ||||
"Firewire ip subsystem"); | "Firewire ip subsystem"); | ||||
SYSCTL_INT(_hw_firewire_fwip, OID_AUTO, rx_queue_len, CTLFLAG_RWTUN, &rx_queue_len, | SYSCTL_INT(_hw_firewire_fwip, OID_AUTO, rx_queue_len, CTLFLAG_RWTUN, &rx_queue_len, | ||||
0, "Length of the receive queue"); | 0, "Length of the receive queue"); | ||||
#ifdef DEVICE_POLLING | #ifdef DEVICE_POLLING | ||||
static poll_handler_t fwip_poll; | static poll_handler_t fwip_poll; | ||||
static int | static int | ||||
Show All 12 Lines |