summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sys/dev/sn/if_sn.c5
-rw-r--r--sys/dev/sn/if_sn_isa.c3
2 files changed, 4 insertions, 4 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;
diff --git a/sys/dev/sn/if_sn_isa.c b/sys/dev/sn/if_sn_isa.c
index f6c549d..0922d44 100644
--- a/sys/dev/sn/if_sn_isa.c
+++ b/sys/dev/sn/if_sn_isa.c
@@ -60,9 +60,10 @@ static int sn_isa_attach (device_t);
static int
sn_isa_probe (device_t dev)
{
+#if 0
if (sn_probe(dev, 0) != 0)
return (0);
-
+#endif
return (ENXIO);
}
OpenPOWER on IntegriCloud