Deleted Added
full compact
if_fe.c (30838) if_fe.c (31016)
1/*
2 * All Rights Reserved, Copyright (C) Fujitsu Limited 1995
3 *
4 * This software may be used, modified, copied, distributed, and sold, in
5 * both source and binary form provided that the above copyright, these
6 * terms and the following disclaimer are retained. The name of the author
7 * and/or the contributor may not be used to endorse or promote products
8 * derived from this software without specific prior written permission.

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

16 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION.
17 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
18 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
19 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
20 * SUCH DAMAGE.
21 */
22
23/*
1/*
2 * All Rights Reserved, Copyright (C) Fujitsu Limited 1995
3 *
4 * This software may be used, modified, copied, distributed, and sold, in
5 * both source and binary form provided that the above copyright, these
6 * terms and the following disclaimer are retained. The name of the author
7 * and/or the contributor may not be used to endorse or promote products
8 * derived from this software without specific prior written permission.

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

16 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION.
17 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
18 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
19 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
20 * SUCH DAMAGE.
21 */
22
23/*
24 * $Id: if_fe.c,v 1.32 1997/10/26 21:08:41 nate Exp $
24 * $Id: if_fe.c,v 1.33 1997/10/29 15:54:19 nate Exp $
25 *
26 * Device driver for Fujitsu MB86960A/MB86965A based Ethernet cards.
27 * To be used with FreeBSD 2.x
28 * Contributed by M. Sekiguchi. <seki@sysrap.cs.fujitsu.co.jp>
29 *
30 * This version is intended to be a generic template for various
31 * MB86960A/MB86965A based Ethernet cards. It currently supports
32 * Fujitsu FMV-180 series for ISA and Allied-Telesis AT1700/RE2000

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

1123}
1124
1125/*
1126 * Probe and initialization for Gateway Communications' old cards.
1127 */
1128static int
1129fe_probe_gwy ( DEVICE * dev, struct fe_softc * sc )
1130{
25 *
26 * Device driver for Fujitsu MB86960A/MB86965A based Ethernet cards.
27 * To be used with FreeBSD 2.x
28 * Contributed by M. Sekiguchi. <seki@sysrap.cs.fujitsu.co.jp>
29 *
30 * This version is intended to be a generic template for various
31 * MB86960A/MB86965A based Ethernet cards. It currently supports
32 * Fujitsu FMV-180 series for ISA and Allied-Telesis AT1700/RE2000

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

1123}
1124
1125/*
1126 * Probe and initialization for Gateway Communications' old cards.
1127 */
1128static int
1129fe_probe_gwy ( DEVICE * dev, struct fe_softc * sc )
1130{
1131 int i,type;
1131 int i;
1132
1133 static struct fe_simple_probe_struct probe_table [] = {
1134 { FE_DLCR2, 0x70, 0x00 },
1135 { FE_DLCR4, 0x08, 0x00 },
1136 { FE_DLCR7, 0xC0, 0x00 },
1137 /*
1138 * Test *vendor* part of the address for Gateway.
1139 * This test is essential to identify Gateway's cards.

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

1675
1676/*
1677 * Initialize device.
1678 */
1679static void
1680fe_init ( int unit )
1681{
1682 struct fe_softc *sc = &fe_softc[unit];
1132
1133 static struct fe_simple_probe_struct probe_table [] = {
1134 { FE_DLCR2, 0x70, 0x00 },
1135 { FE_DLCR4, 0x08, 0x00 },
1136 { FE_DLCR7, 0xC0, 0x00 },
1137 /*
1138 * Test *vendor* part of the address for Gateway.
1139 * This test is essential to identify Gateway's cards.

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

1675
1676/*
1677 * Initialize device.
1678 */
1679static void
1680fe_init ( int unit )
1681{
1682 struct fe_softc *sc = &fe_softc[unit];
1683 int i, s;
1683 int s;
1684
1685#if FE_DEBUG >= 3
1686 fe_dump( LOG_INFO, sc, "init()" );
1687#endif
1688
1689 /* We need an address. */
1690 if (TAILQ_EMPTY(&sc->sc_if.if_addrhead)) { /* XXX unlikely */
1691#if FE_DEBUG >= 1

--- 1457 unchanged lines hidden ---
1684
1685#if FE_DEBUG >= 3
1686 fe_dump( LOG_INFO, sc, "init()" );
1687#endif
1688
1689 /* We need an address. */
1690 if (TAILQ_EMPTY(&sc->sc_if.if_addrhead)) { /* XXX unlikely */
1691#if FE_DEBUG >= 1

--- 1457 unchanged lines hidden ---