Deleted Added
full compact
if_bfe.c (129708) if_bfe.c (129709)
1/*
2 * Copyright (c) 2003 Stuart Walsh<stu@ipng.org.uk>
3 * and Duncan Barclay<dmlb@dmlb.org>
4 */
5
6/*
7 * Redistribution and use in source and binary forms, with or without
8 * modification, are permitted provided that the following conditions

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

23 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
24 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
25 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
26 * SUCH DAMAGE.
27 */
28
29
30#include <sys/cdefs.h>
1/*
2 * Copyright (c) 2003 Stuart Walsh<stu@ipng.org.uk>
3 * and Duncan Barclay<dmlb@dmlb.org>
4 */
5
6/*
7 * Redistribution and use in source and binary forms, with or without
8 * modification, are permitted provided that the following conditions

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

23 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
24 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
25 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
26 * SUCH DAMAGE.
27 */
28
29
30#include <sys/cdefs.h>
31__FBSDID("$FreeBSD: head/sys/dev/bfe/if_bfe.c 129708 2004-05-25 11:04:01Z des $");
31__FBSDID("$FreeBSD: head/sys/dev/bfe/if_bfe.c 129709 2004-05-25 11:33:19Z des $");
32
33#include <sys/param.h>
34#include <sys/systm.h>
35#include <sys/sockio.h>
36#include <sys/mbuf.h>
37#include <sys/malloc.h>
38#include <sys/kernel.h>
39#include <sys/socket.h>

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

418 ether_ifattach(ifp, sc->arpcom.ac_enaddr);
419 callout_handle_init(&sc->bfe_stat_ch);
420
421 /*
422 * Tell the upper layer(s) we support long frames.
423 */
424 ifp->if_data.ifi_hdrlen = sizeof(struct ether_vlan_header);
425 ifp->if_capabilities |= IFCAP_VLAN_MTU;
32
33#include <sys/param.h>
34#include <sys/systm.h>
35#include <sys/sockio.h>
36#include <sys/mbuf.h>
37#include <sys/malloc.h>
38#include <sys/kernel.h>
39#include <sys/socket.h>

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

418 ether_ifattach(ifp, sc->arpcom.ac_enaddr);
419 callout_handle_init(&sc->bfe_stat_ch);
420
421 /*
422 * Tell the upper layer(s) we support long frames.
423 */
424 ifp->if_data.ifi_hdrlen = sizeof(struct ether_vlan_header);
425 ifp->if_capabilities |= IFCAP_VLAN_MTU;
426 ifp->if_capenable |= IFCAP_VLAN_MTU;
426
427 /*
428 * Hook interrupt last to avoid having to lock softc
429 */
430 error = bus_setup_intr(dev, sc->bfe_irq, INTR_TYPE_NET,
431 bfe_intr, sc, &sc->bfe_intrhand);
432
433 if (error) {

--- 1170 unchanged lines hidden ---
427
428 /*
429 * Hook interrupt last to avoid having to lock softc
430 */
431 error = bus_setup_intr(dev, sc->bfe_irq, INTR_TYPE_NET,
432 bfe_intr, sc, &sc->bfe_intrhand);
433
434 if (error) {

--- 1170 unchanged lines hidden ---