Deleted Added
full compact
if_bge.c (159999) if_bge.c (160017)
1/*-
2 * Copyright (c) 2001 Wind River Systems
3 * Copyright (c) 1997, 1998, 1999, 2001
4 * Bill Paul <wpaul@windriver.com>. All rights reserved.
5 *
6 * Redistribution and use in source and binary forms, with or without
7 * modification, are permitted provided that the following conditions
8 * are met:

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

27 * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
28 * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
29 * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
30 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
31 * THE POSSIBILITY OF SUCH DAMAGE.
32 */
33
34#include <sys/cdefs.h>
1/*-
2 * Copyright (c) 2001 Wind River Systems
3 * Copyright (c) 1997, 1998, 1999, 2001
4 * Bill Paul <wpaul@windriver.com>. All rights reserved.
5 *
6 * Redistribution and use in source and binary forms, with or without
7 * modification, are permitted provided that the following conditions
8 * are met:

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

27 * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
28 * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
29 * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
30 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
31 * THE POSSIBILITY OF SUCH DAMAGE.
32 */
33
34#include <sys/cdefs.h>
35__FBSDID("$FreeBSD: head/sys/dev/bge/if_bge.c 159999 2006-06-28 09:12:29Z glebius $");
35__FBSDID("$FreeBSD: head/sys/dev/bge/if_bge.c 160017 2006-06-29 06:38:21Z glebius $");
36
37/*
38 * Broadcom BCM570x family gigabit ethernet driver for FreeBSD.
39 *
40 * The Broadcom BCM5700 is based on technology originally developed by
41 * Alteon Networks as part of the Tigon I and Tigon II gigabit ethernet
42 * MAC chips. The BCM5700, sometimes refered to as the Tigon III, has
43 * two on-board MIPS R4000 CPUs and can have as much as 16MB of external

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

303 ((sc)->bge_asicrev == BGE_ASICREV_BCM5714_A0 || \
304 (sc)->bge_asicrev == BGE_ASICREV_BCM5780 || \
305 (sc)->bge_asicrev == BGE_ASICREV_BCM5714)
306
307#define BGE_IS_JUMBO_CAPABLE(sc) \
308 ((sc)->bge_asicrev == BGE_ASICREV_BCM5700 || \
309 (sc)->bge_asicrev == BGE_ASICREV_BCM5701 || \
310 (sc)->bge_asicrev == BGE_ASICREV_BCM5703 || \
36
37/*
38 * Broadcom BCM570x family gigabit ethernet driver for FreeBSD.
39 *
40 * The Broadcom BCM5700 is based on technology originally developed by
41 * Alteon Networks as part of the Tigon I and Tigon II gigabit ethernet
42 * MAC chips. The BCM5700, sometimes refered to as the Tigon III, has
43 * two on-board MIPS R4000 CPUs and can have as much as 16MB of external

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

303 ((sc)->bge_asicrev == BGE_ASICREV_BCM5714_A0 || \
304 (sc)->bge_asicrev == BGE_ASICREV_BCM5780 || \
305 (sc)->bge_asicrev == BGE_ASICREV_BCM5714)
306
307#define BGE_IS_JUMBO_CAPABLE(sc) \
308 ((sc)->bge_asicrev == BGE_ASICREV_BCM5700 || \
309 (sc)->bge_asicrev == BGE_ASICREV_BCM5701 || \
310 (sc)->bge_asicrev == BGE_ASICREV_BCM5703 || \
311 (sc)->bge_asicrev == BGE_ASICREV_BCM5714 || \
312 (sc)->bge_asicrev == BGE_ASICREV_BCM5714_A0 || \
313 (sc)->bge_asicrev == BGE_ASICREV_BCM5780 || \
314 (sc)->bge_asicrev == BGE_ASICREV_BCM5704)
315
316const struct bge_revision * bge_lookup_rev(uint32_t);
317const struct bge_vendor * bge_lookup_vendor(uint16_t);
318static int bge_probe(device_t);
319static int bge_attach(device_t);
320static int bge_detach(device_t);
321static int bge_suspend(device_t);

--- 3412 unchanged lines hidden ---
311 (sc)->bge_asicrev == BGE_ASICREV_BCM5704)
312
313const struct bge_revision * bge_lookup_rev(uint32_t);
314const struct bge_vendor * bge_lookup_vendor(uint16_t);
315static int bge_probe(device_t);
316static int bge_attach(device_t);
317static int bge_detach(device_t);
318static int bge_suspend(device_t);

--- 3412 unchanged lines hidden ---