summaryrefslogtreecommitdiff
path: root/sys/dev/ic/smc91cxx.c
diff options
context:
space:
mode:
authorBrad Smith <brad@cvs.openbsd.org>2008-10-03 20:25:30 +0000
committerBrad Smith <brad@cvs.openbsd.org>2008-10-03 20:25:30 +0000
commitaff24f90414fd25a51d776d03fbd689999311d25 (patch)
treef2634d9150f5f12a8766f5ff501bb2cc86b3e4fb /sys/dev/ic/smc91cxx.c
parent9cc9fb410777526def4f80ff1537f29048389ae1 (diff)
Use ether_ioctl().
Diffstat (limited to 'sys/dev/ic/smc91cxx.c')
-rw-r--r--sys/dev/ic/smc91cxx.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/sys/dev/ic/smc91cxx.c b/sys/dev/ic/smc91cxx.c
index 1fc4c581cbf..00ad6a60b52 100644
--- a/sys/dev/ic/smc91cxx.c
+++ b/sys/dev/ic/smc91cxx.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: smc91cxx.c,v 1.28 2008/09/10 14:01:22 blambert Exp $ */
+/* $OpenBSD: smc91cxx.c,v 1.29 2008/10/03 20:25:29 brad Exp $ */
/* $NetBSD: smc91cxx.c,v 1.11 1998/08/08 23:51:41 mycroft Exp $ */
/*-
@@ -1116,8 +1116,7 @@ smc91cxx_ioctl(ifp, cmd, data)
break;
default:
- error = EINVAL;
- break;
+ error = ether_ioctl(ifp, &sc->sc_arpcom, cmd, data);
}
splx(s);