Deleted Added
full compact
if_sis.c (51657) if_sis.c (59758)
1/*
2 * Copyright (c) 1997, 1998, 1999
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, 1999
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 * $FreeBSD: head/sys/pci/if_sis.c 51657 1999-09-25 17:29:02Z wpaul $
32 * $FreeBSD: head/sys/pci/if_sis.c 59758 2000-04-29 13:41:57Z peter $
33 */
34
35/*
36 * SiS 900/SiS 7016 fast ethernet PCI NIC driver. Datasheets are
37 * available from http://www.sis.com.tw.
38 *
39 * Written by Bill Paul <wpaul@ee.columbia.edu>
40 * Electrical Engineering Department

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

85
86#include <pci/pcireg.h>
87#include <pci/pcivar.h>
88
89#define SIS_USEIOSPACE
90
91#include <pci/if_sisreg.h>
92
33 */
34
35/*
36 * SiS 900/SiS 7016 fast ethernet PCI NIC driver. Datasheets are
37 * available from http://www.sis.com.tw.
38 *
39 * Written by Bill Paul <wpaul@ee.columbia.edu>
40 * Electrical Engineering Department

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

85
86#include <pci/pcireg.h>
87#include <pci/pcivar.h>
88
89#define SIS_USEIOSPACE
90
91#include <pci/if_sisreg.h>
92
93MODULE_DEPEND(sis, miibus, 1, 1, 1);
94
93/* "controller miibus0" required. See GENERIC if you get errors here. */
94#include "miibus_if.h"
95
96#ifndef lint
97static const char rcsid[] =
95/* "controller miibus0" required. See GENERIC if you get errors here. */
96#include "miibus_if.h"
97
98#ifndef lint
99static const char rcsid[] =
98 "$FreeBSD: head/sys/pci/if_sis.c 51657 1999-09-25 17:29:02Z wpaul $";
100 "$FreeBSD: head/sys/pci/if_sis.c 59758 2000-04-29 13:41:57Z peter $";
99#endif
100
101/*
102 * Various supported device vendors/types and their names.
103 */
104static struct sis_type sis_devs[] = {
105 { SIS_VENDORID, SIS_DEVICEID_900, "SiS 900 10/100BaseTX" },
106 { SIS_VENDORID, SIS_DEVICEID_7016, "SiS 7016 10/100BaseTX" },

--- 1346 unchanged lines hidden ---
101#endif
102
103/*
104 * Various supported device vendors/types and their names.
105 */
106static struct sis_type sis_devs[] = {
107 { SIS_VENDORID, SIS_DEVICEID_900, "SiS 900 10/100BaseTX" },
108 { SIS_VENDORID, SIS_DEVICEID_7016, "SiS 7016 10/100BaseTX" },

--- 1346 unchanged lines hidden ---