Deleted Added
full compact
if_vx.c (62593) if_vx.c (63090)
1/*
2 * Copyright (c) 1994 Herb Peyerl <hpeyerl@novatel.ca>
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright

--- 13 unchanged lines hidden (view full) ---

22 * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
23 * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
24 * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
25 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
26 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
27 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
28 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
29 *
1/*
2 * Copyright (c) 1994 Herb Peyerl <hpeyerl@novatel.ca>
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright

--- 13 unchanged lines hidden (view full) ---

22 * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
23 * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
24 * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
25 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
26 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
27 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
28 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
29 *
30 * $FreeBSD: head/sys/dev/vx/if_vx.c 62593 2000-07-04 18:43:32Z itojun $
30 * $FreeBSD: head/sys/dev/vx/if_vx.c 63090 2000-07-13 22:54:34Z archie $
31 *
32 */
33
34/*
35 * Created from if_ep.c driver by Fred Gray (fgray@rice.edu) to support
36 * the 3c590 family.
37 */
38

--- 166 unchanged lines hidden (view full) ---

205 ifp->if_flags = IFF_BROADCAST | IFF_SIMPLEX | IFF_MULTICAST;
206 ifp->if_output = ether_output;
207 ifp->if_start = vxstart;
208 ifp->if_ioctl = vxioctl;
209 ifp->if_init = vxinit;
210 ifp->if_watchdog = vxwatchdog;
211 ifp->if_softc = sc;
212
31 *
32 */
33
34/*
35 * Created from if_ep.c driver by Fred Gray (fgray@rice.edu) to support
36 * the 3c590 family.
37 */
38

--- 166 unchanged lines hidden (view full) ---

205 ifp->if_flags = IFF_BROADCAST | IFF_SIMPLEX | IFF_MULTICAST;
206 ifp->if_output = ether_output;
207 ifp->if_start = vxstart;
208 ifp->if_ioctl = vxioctl;
209 ifp->if_init = vxinit;
210 ifp->if_watchdog = vxwatchdog;
211 ifp->if_softc = sc;
212
213 if_attach(ifp);
214 ether_ifattach(ifp);
213 ether_ifattach(ifp, ETHER_BPF_SUPPORTED);
215
214
216 bpfattach(ifp, DLT_EN10MB, sizeof(struct ether_header));
217
218 sc->tx_start_thresh = 20; /* probably a good starting point. */
219
220 vxstop(sc);
221
222 return 1;
223}
224
225

--- 845 unchanged lines hidden ---
215 sc->tx_start_thresh = 20; /* probably a good starting point. */
216
217 vxstop(sc);
218
219 return 1;
220}
221
222

--- 845 unchanged lines hidden ---