aboutsummaryrefslogtreecommitdiff
path: root/sys/i386/isa/if_zp.c
diff options
context:
space:
mode:
authorMatthew N. Dodd <mdodd@FreeBSD.org>1999-08-18 22:14:24 +0000
committerMatthew N. Dodd <mdodd@FreeBSD.org>1999-08-18 22:14:24 +0000
commit4b31e9d6a74391876f6e2c83d241491224e49193 (patch)
tree6edae49092709c4d1a11ba6c4dc817afbb1104c6 /sys/i386/isa/if_zp.c
parentf04626ff2274035a25143b49034557db4a35dbf7 (diff)
Make these actually compile. I got a little delete happy pruning includes
and used 'command' instead of 'cmd' in a few cases. Also clear up some unused variables. Pointed out by: phk
Notes
Notes: svn path=/head/; revision=50026
Diffstat (limited to 'sys/i386/isa/if_zp.c')
-rw-r--r--sys/i386/isa/if_zp.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/sys/i386/isa/if_zp.c b/sys/i386/isa/if_zp.c
index ba2485a0cc67..a7059fae30aa 100644
--- a/sys/i386/isa/if_zp.c
+++ b/sys/i386/isa/if_zp.c
@@ -34,7 +34,7 @@
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*
* From: if_ep.c,v 1.9 1994/01/25 10:46:29 deraadt Exp $
- * $Id: if_zp.c,v 1.52 1999/07/06 19:22:55 des Exp $
+ * $Id: if_zp.c,v 1.53 1999/08/18 06:12:00 mdodd Exp $
*/
/*-
* TODO:
@@ -128,8 +128,12 @@ static char const zpdummy[] = "code to use the includes of card.h and pcic.h";
#include <sys/sockio.h>
#include <sys/syslog.h>
+#include <net/ethernet.h>
#include <net/if.h>
+#include <netinet/in.h>
+#include <netinet/if_ether.h>
+
#if NBPF > 0
#include <net/bpf.h>
#endif
@@ -1007,7 +1011,7 @@ zpioctl(ifp, cmd, data)
case SIOCSIFADDR:
case SIOCGIFADDR:
case SIOCSIFMTU:
- error = ether_ioctl(ifp, command, data);
+ error = ether_ioctl(ifp, cmd, data);
break;
case SIOCSIFFLAGS: