diff options
author | Federico G. Schwindt <fgsch@cvs.openbsd.org> | 2001-06-25 04:05:52 +0000 |
---|---|---|
committer | Federico G. Schwindt <fgsch@cvs.openbsd.org> | 2001-06-25 04:05:52 +0000 |
commit | 4adf18f7131d3e1444e46c6c799d21dcf9331d79 (patch) | |
tree | 2a3cb7b788625fe873187e4e7595a19acf80a41b /sys/dev/usb/usb_port.h | |
parent | 5a87a559ec775f196e6bd9bceea8f9384140850a (diff) |
ether_input_mbuf() conversion.
Diffstat (limited to 'sys/dev/usb/usb_port.h')
-rw-r--r-- | sys/dev/usb/usb_port.h | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/sys/dev/usb/usb_port.h b/sys/dev/usb/usb_port.h index 4f561eb86cc..ec564ed14ce 100644 --- a/sys/dev/usb/usb_port.h +++ b/sys/dev/usb/usb_port.h @@ -1,4 +1,4 @@ -/* $OpenBSD: usb_port.h,v 1.26 2001/06/24 21:29:05 mickey Exp $ */ +/* $OpenBSD: usb_port.h,v 1.27 2001/06/25 04:05:51 fgsch Exp $ */ /* $NetBSD: usb_port.h,v 1.42 2001/03/28 19:00:39 ichiro Exp $ */ /* $FreeBSD: src/sys/dev/usb/usb_port.h,v 1.21 1999/11/17 22:33:47 n_hibma Exp $ */ @@ -252,13 +252,7 @@ typedef int usb_malloc_type; #define Ether_ifattach(ifp, eaddr) ether_ifattach(ifp) #define if_deactivate(x) -#define IF_INPUT(ifp, m) do { \ - struct ether_header *eh; \ - \ - eh = mtod(m, struct ether_header *); \ - m_adj(m, sizeof(struct ether_header)); \ - ether_input((ifp), (eh), (m)); \ -} while (0) +#define IF_INPUT(ifp, m) ether_input_mbuf((ifp), (m)) #define usbpoll usbselect #define uhidpoll uhidselect |