Deleted Added
full compact
if_fxp.c (50477) if_fxp.c (50987)
1/*
2 * Copyright (c) 1995, David Greenman
3 * All rights reserved.
4 *
5 * Modifications to support NetBSD and media selection:
6 * Copyright (c) 1997 Jason R. Thorpe. All rights reserved.
7 *
8 * Redistribution and use in source and binary forms, with or without

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

22 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
23 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
24 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
25 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
26 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
27 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
28 * SUCH DAMAGE.
29 *
1/*
2 * Copyright (c) 1995, David Greenman
3 * All rights reserved.
4 *
5 * Modifications to support NetBSD and media selection:
6 * Copyright (c) 1997 Jason R. Thorpe. All rights reserved.
7 *
8 * Redistribution and use in source and binary forms, with or without

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

22 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
23 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
24 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
25 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
26 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
27 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
28 * SUCH DAMAGE.
29 *
30 * $FreeBSD: head/sys/dev/fxp/if_fxp.c 50477 1999-08-28 01:08:13Z peter $
30 * $FreeBSD: head/sys/dev/fxp/if_fxp.c 50987 1999-09-06 06:15:18Z peter $
31 */
32
33/*
34 * Intel EtherExpress Pro/100B PCI Fast Ethernet driver
35 */
36
37#include "bpf.h"
38

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

501static int
502fxp_probe(device_t dev)
503{
504 if ((pci_get_vendor(dev) == FXP_VENDORID_INTEL) &&
505 (pci_get_device(dev) == FXP_DEVICEID_i82557)) {
506 device_set_desc(dev, "Intel EtherExpress Pro 10/100B Ethernet");
507 return 0;
508 }
31 */
32
33/*
34 * Intel EtherExpress Pro/100B PCI Fast Ethernet driver
35 */
36
37#include "bpf.h"
38

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

501static int
502fxp_probe(device_t dev)
503{
504 if ((pci_get_vendor(dev) == FXP_VENDORID_INTEL) &&
505 (pci_get_device(dev) == FXP_DEVICEID_i82557)) {
506 device_set_desc(dev, "Intel EtherExpress Pro 10/100B Ethernet");
507 return 0;
508 }
509 if ((pci_get_vendor(dev) == FXP_VENDORID_INTEL) &&
510 (pci_get_device(dev) == FXP_DEVICEID_i82559)) {
511 device_set_desc(dev, "Intel InBusiness 10/100 Ethernet");
512 return 0;
513 }
509
510 return ENXIO;
511}
512
513static int
514fxp_attach(device_t dev)
515{
516 int error = 0;

--- 1483 unchanged lines hidden ---
514
515 return ENXIO;
516}
517
518static int
519fxp_attach(device_t dev)
520{
521 int error = 0;

--- 1483 unchanged lines hidden ---