if_vr.c (141ae166569bd7263050c14ec84a80d72665b77c) if_vr.c (96b3554e5c90242d0c5eea10fc394975d03303a8)
1/*
2 * Copyright (c) 1997, 1998
3 * Bill Paul <wpaul@ctr.columbia.edu>. 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

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

24 * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
25 * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
26 * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
27 * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
28 * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
29 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
30 * THE POSSIBILITY OF SUCH DAMAGE.
31 *
1/*
2 * Copyright (c) 1997, 1998
3 * Bill Paul <wpaul@ctr.columbia.edu>. 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

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

24 * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
25 * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
26 * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
27 * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
28 * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
29 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
30 * THE POSSIBILITY OF SUCH DAMAGE.
31 *
32 * $Id: if_vr.c,v 1.18 1999/02/23 06:47:52 wpaul Exp $
32 * $Id: if_vr.c,v 1.9 1999/02/23 15:38:24 wpaul Exp $
33 */
34
35/*
36 * VIA Rhine fast ethernet PCI NIC driver
37 *
38 * Supports various network adapters based on the VIA Rhine
39 * and Rhine II PCI controllers, including the D-Link DFE530TX.
40 * Datasheets are available at http://www.via.com.tw.

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

92#define VR_USEIOSPACE
93
94/* #define VR_BACKGROUND_AUTONEG */
95
96#include <pci/if_vrreg.h>
97
98#ifndef lint
99static const char rcsid[] =
33 */
34
35/*
36 * VIA Rhine fast ethernet PCI NIC driver
37 *
38 * Supports various network adapters based on the VIA Rhine
39 * and Rhine II PCI controllers, including the D-Link DFE530TX.
40 * Datasheets are available at http://www.via.com.tw.

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

92#define VR_USEIOSPACE
93
94/* #define VR_BACKGROUND_AUTONEG */
95
96#include <pci/if_vrreg.h>
97
98#ifndef lint
99static const char rcsid[] =
100 "$Id: if_vr.c,v 1.18 1999/02/23 06:47:52 wpaul Exp $";
100 "$Id: if_vr.c,v 1.9 1999/02/23 15:38:24 wpaul Exp $";
101#endif
102
103/*
104 * Various supported device vendors/types and their names.
105 */
106static struct vr_type vr_devs[] = {
107 { VIA_VENDORID, VIA_DEVICEID_RHINE,
108 "VIA VT3043 Rhine I 10/100BaseTX" },

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

1954
1955static struct pci_device vr_device = {
1956 "vr",
1957 vr_probe,
1958 vr_attach,
1959 &vr_count,
1960 NULL
1961};
101#endif
102
103/*
104 * Various supported device vendors/types and their names.
105 */
106static struct vr_type vr_devs[] = {
107 { VIA_VENDORID, VIA_DEVICEID_RHINE,
108 "VIA VT3043 Rhine I 10/100BaseTX" },

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

1954
1955static struct pci_device vr_device = {
1956 "vr",
1957 vr_probe,
1958 vr_attach,
1959 &vr_count,
1960 NULL
1961};
1962#ifdef COMPAT_PCI_DRIVER
1963COMPAT_PCI_DRIVER(vr, vr_device);
1964#else
1962DATA_SET(pcidevice_set, vr_device);
1965DATA_SET(pcidevice_set, vr_device);
1966#endif /* COMPAT_PCI_DRIVER */