version 1.79, 2022/03/03 05:56:09 |
version 1.80, 2022/03/03 05:56:18 |
Line 82 static void cdce_uno_rx_loop(struct usbn |
|
Line 82 static void cdce_uno_rx_loop(struct usbn |
|
uint32_t); |
uint32_t); |
static unsigned cdce_uno_tx_prepare(struct usbnet *, struct mbuf *, |
static unsigned cdce_uno_tx_prepare(struct usbnet *, struct mbuf *, |
struct usbnet_chain *); |
struct usbnet_chain *); |
static int cdce_uno_init(struct ifnet *); |
|
|
|
static const struct usbnet_ops cdce_ops = { |
static const struct usbnet_ops cdce_ops = { |
.uno_tx_prepare = cdce_uno_tx_prepare, |
.uno_tx_prepare = cdce_uno_tx_prepare, |
.uno_rx_loop = cdce_uno_rx_loop, |
.uno_rx_loop = cdce_uno_rx_loop, |
.uno_init = cdce_uno_init, |
|
}; |
}; |
|
|
static int |
static int |
Line 255 cdce_attach(device_t parent, device_t se |
|
Line 253 cdce_attach(device_t parent, device_t se |
|
0, NULL); |
0, NULL); |
} |
} |
|
|
static int |
|
cdce_uno_init(struct ifnet *ifp) |
|
{ |
|
|
|
return 0; |
|
} |
|
|
|
static void |
static void |
cdce_uno_rx_loop(struct usbnet * un, struct usbnet_chain *c, uint32_t total_len) |
cdce_uno_rx_loop(struct usbnet * un, struct usbnet_chain *c, uint32_t total_len) |
{ |
{ |