summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFederico G. Schwindt <fgsch@cvs.openbsd.org>2002-06-07 06:26:29 +0000
committerFederico G. Schwindt <fgsch@cvs.openbsd.org>2002-06-07 06:26:29 +0000
commitac3e0382335b77557c0a8169ac0d1037725e07af (patch)
tree61014f16e36b80984c514b5279ff9f495a806347
parent4c2d6dce56cc022a439b9909a1e137317bed1f27 (diff)
use IF_INPUT macro for us as well.
-rw-r--r--sys/dev/usb/if_upl.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/usb/if_upl.c b/sys/dev/usb/if_upl.c
index d6b566156b3..04d6f593bb9 100644
--- a/sys/dev/usb/if_upl.c
+++ b/sys/dev/usb/if_upl.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_upl.c,v 1.7 2002/05/07 18:29:18 nate Exp $ */
+/* $OpenBSD: if_upl.c,v 1.8 2002/06/07 06:26:28 fgsch Exp $ */
/* $NetBSD: if_upl.c,v 1.15 2001/06/14 05:44:27 itojun Exp $ */
/*
* Copyright (c) 2000 The NetBSD Foundation, Inc.
@@ -596,7 +596,7 @@ upl_rxeof(usbd_xfer_handle xfer, usbd_private_handle priv, usbd_status status)
DPRINTFN(10,("%s: %s: deliver %d\n", USBDEVNAME(sc->sc_dev),
__FUNCTION__, m->m_len));
-#if defined(__NetBSD__)
+#if defined(__NetBSD__) || defined(__OpenBSD__)
IF_INPUT(ifp, m);
#else
upl_input(ifp, m);