Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/ppbus Catch up with other networking changes (John D...
details: https://anonhg.NetBSD.org/src/rev/69bb9272f706
branches: trunk
changeset: 815256:69bb9272f706
user: christos <christos%NetBSD.org@localhost>
date: Sun May 08 03:11:33 2016 +0000
description:
Catch up with other networking changes (John D. Baker)
diffstat:
sys/dev/ppbus/if_plip.c | 10 +++++-----
1 files changed, 5 insertions(+), 5 deletions(-)
diffs (45 lines):
diff -r d2ce2df520f3 -r 69bb9272f706 sys/dev/ppbus/if_plip.c
--- a/sys/dev/ppbus/if_plip.c Sun May 08 01:28:09 2016 +0000
+++ b/sys/dev/ppbus/if_plip.c Sun May 08 03:11:33 2016 +0000
@@ -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 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 @@
/* 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 @@
}
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);
Home |
Main Index |
Thread Index |
Old Index