summaryrefslogtreecommitdiffstats
path: root/sys/dev/sn/if_sn.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/sn/if_sn.c')
-rw-r--r--sys/dev/sn/if_sn.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/sys/dev/sn/if_sn.c b/sys/dev/sn/if_sn.c
index 7f0750f..4bf1553 100644
--- a/sys/dev/sn/if_sn.c
+++ b/sys/dev/sn/if_sn.c
@@ -228,8 +228,7 @@ sn_attach(device_t dev)
ifp->if_ioctl = snioctl;
ifp->if_watchdog = snwatchdog;
ifp->if_init = sninit;
- ifp->if_snd.ifq_maxlen = 8;
-
+ ifp->if_snd.ifq_maxlen = IFQ_MAXLEN;
ifp->if_timer = 0;
if_attach(ifp);
@@ -1287,7 +1286,7 @@ sn_activate(device_t dev)
0, ~0, 1, RF_ACTIVE);
if (!sc->irq_res) {
#ifdef SN_DEBUG
- deivce_printf(dev, "Cannot allocate irq\n");
+ device_printf(dev, "Cannot allocate irq\n");
#endif
sn_deactivate(dev);
return ENOMEM;
OpenPOWER on IntegriCloud