if_wb.c (139825) | if_wb.c (142398) |
---|---|
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 --- 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) 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 --- 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/pci/if_wb.c 139825 2005-01-07 02:29:27Z imp $"); | 34__FBSDID("$FreeBSD: head/sys/pci/if_wb.c 142398 2005-02-24 21:32:56Z imp $"); |
35 36/* 37 * Winbond fast ethernet PCI NIC driver 38 * 39 * Supports various cheap network adapters based on the Winbond W89C840F 40 * fast ethernet controller chip. This includes adapters manufactured by 41 * Winbond itself and some made by Linksys. 42 * --- 724 unchanged lines hidden (view full) --- 767 struct wb_type *t; 768 769 t = wb_devs; 770 771 while(t->wb_name != NULL) { 772 if ((pci_get_vendor(dev) == t->wb_vid) && 773 (pci_get_device(dev) == t->wb_did)) { 774 device_set_desc(dev, t->wb_name); | 35 36/* 37 * Winbond fast ethernet PCI NIC driver 38 * 39 * Supports various cheap network adapters based on the Winbond W89C840F 40 * fast ethernet controller chip. This includes adapters manufactured by 41 * Winbond itself and some made by Linksys. 42 * --- 724 unchanged lines hidden (view full) --- 767 struct wb_type *t; 768 769 t = wb_devs; 770 771 while(t->wb_name != NULL) { 772 if ((pci_get_vendor(dev) == t->wb_vid) && 773 (pci_get_device(dev) == t->wb_did)) { 774 device_set_desc(dev, t->wb_name); |
775 return(0); | 775 return (BUS_PROBE_DEFAULT); |
776 } 777 t++; 778 } 779 780 return(ENXIO); 781} 782 783/* --- 1049 unchanged lines hidden --- | 776 } 777 t++; 778 } 779 780 return(ENXIO); 781} 782 783/* --- 1049 unchanged lines hidden --- |