Deleted Added
full compact
if_vge.c (141474) if_vge.c (142880)
1/*-
2 * Copyright (c) 2004
3 * Bill Paul <wpaul@windriver.com>. 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

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

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
33#include <sys/cdefs.h>
1/*-
2 * Copyright (c) 2004
3 * Bill Paul <wpaul@windriver.com>. 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

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

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
33#include <sys/cdefs.h>
34__FBSDID("$FreeBSD: head/sys/dev/vge/if_vge.c 141474 2005-02-07 19:39:29Z glebius $");
34__FBSDID("$FreeBSD: head/sys/dev/vge/if_vge.c 142880 2005-03-01 07:50:12Z imp $");
35
36/*
37 * VIA Networking Technologies VT612x PCI gigabit ethernet NIC driver.
38 *
39 * Written by Bill Paul <wpaul@windriver.com>
40 * Senior Networking Software Engineer
41 * Wind River Systems
42 */

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

675
676 t = vge_devs;
677 sc = device_get_softc(dev);
678
679 while (t->vge_name != NULL) {
680 if ((pci_get_vendor(dev) == t->vge_vid) &&
681 (pci_get_device(dev) == t->vge_did)) {
682 device_set_desc(dev, t->vge_name);
35
36/*
37 * VIA Networking Technologies VT612x PCI gigabit ethernet NIC driver.
38 *
39 * Written by Bill Paul <wpaul@windriver.com>
40 * Senior Networking Software Engineer
41 * Wind River Systems
42 */

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

675
676 t = vge_devs;
677 sc = device_get_softc(dev);
678
679 while (t->vge_name != NULL) {
680 if ((pci_get_vendor(dev) == t->vge_vid) &&
681 (pci_get_device(dev) == t->vge_did)) {
682 device_set_desc(dev, t->vge_name);
683 return (0);
683 return (BUS_PROBE_DEFAULT);
684 }
685 t++;
686 }
687
688 return (ENXIO);
689}
690
691static void

--- 1747 unchanged lines hidden ---
684 }
685 t++;
686 }
687
688 return (ENXIO);
689}
690
691static void

--- 1747 unchanged lines hidden ---