Module Name: src
Committed By: christos
Date: Sun May 8 03:11:34 UTC 2016
Modified Files:
src/sys/dev/ppbus: if_plip.c
Log Message:
Catch up with other networking changes (John D. Baker)
To generate a diff of this commit:
cvs rdiff -u -r1.26 -r1.27 src/sys/dev/ppbus/if_plip.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/dev/ppbus/if_plip.c
diff -u src/sys/dev/ppbus/if_plip.c:1.26 src/sys/dev/ppbus/if_plip.c:1.27
--- src/sys/dev/ppbus/if_plip.c:1.26 Wed Apr 20 05:01:03 2016
+++ src/sys/dev/ppbus/if_plip.c Sat May 7 23:11:33 2016
@@ -1,4 +1,4 @@
-/* $NetBSD: if_plip.c,v 1.26 2016/04/20 09:01:03 knakahara Exp $ */
+/* $NetBSD: if_plip.c,v 1.27 2016/05/08 03:11:33 christos Exp $ */
/*-
* Copyright (c) 1997 Poul-Henning Kamp
@@ -31,7 +31,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: if_plip.c,v 1.26 2016/04/20 09:01:03 knakahara Exp $");
+__KERNEL_RCSID(0, "$NetBSD: if_plip.c,v 1.27 2016/05/08 03:11:33 christos Exp $");
/*
* Parallel port TCP/IP interfaces added. I looked at the driver from
@@ -194,7 +194,7 @@ static void lpinittables(void);
static void lpfreetables(void);
static int lpioctl(struct ifnet *, u_long, void *);
static int lpoutput(struct ifnet *, struct mbuf *, const struct sockaddr *,
- struct rtentry *);
+ const struct rtentry *);
static void lpstart(struct ifnet *);
static void lp_intr(void *);
@@ -699,7 +699,7 @@ lpoutbyte(u_char byte, int spin, device_
/* Queue a packet for delivery */
static int
lpoutput(struct ifnet *ifp, struct mbuf *m, const struct sockaddr *dst,
- struct rtentry *rt)
+ const struct rtentry *rt)
{
struct lp_softc * sc = ifp->if_softc;
device_t dev = sc->ppbus_dev.sc_dev;
@@ -731,7 +731,7 @@ lpoutput(struct ifnet *ifp, struct mbuf
}
IFQ_CLASSIFY(&ifp->if_snd, m, dst->sa_family);
- IFQ_ENQUEUE(&ifp->if_snd, m, NULL, err);
+ IFQ_ENQUEUE(&ifp->if_snd, m, err);
if(err == 0) {
if((ifp->if_flags & IFF_OACTIVE) == 0)
lpstart(ifp);