if_le_pci.c (155093) | if_le_pci.c (158647) |
---|---|
1/* $NetBSD: if_le_pci.c,v 1.43 2005/12/11 12:22:49 christos Exp $ */ 2 3/*- 4 * Copyright (c) 1997, 1998 The NetBSD Foundation, Inc. 5 * All rights reserved. 6 * 7 * This code is derived from software contributed to The NetBSD Foundation 8 * by Charles M. Hannum and by Jason R. Thorpe of the Numerical Aerospace --- 58 unchanged lines hidden (view full) --- 67 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 68 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 69 * SUCH DAMAGE. 70 * 71 * @(#)if_le.c 8.2 (Berkeley) 11/16/93 72 */ 73 74#include <sys/cdefs.h> | 1/* $NetBSD: if_le_pci.c,v 1.43 2005/12/11 12:22:49 christos Exp $ */ 2 3/*- 4 * Copyright (c) 1997, 1998 The NetBSD Foundation, Inc. 5 * All rights reserved. 6 * 7 * This code is derived from software contributed to The NetBSD Foundation 8 * by Charles M. Hannum and by Jason R. Thorpe of the Numerical Aerospace --- 58 unchanged lines hidden (view full) --- 67 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 68 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 69 * SUCH DAMAGE. 70 * 71 * @(#)if_le.c 8.2 (Berkeley) 11/16/93 72 */ 73 74#include <sys/cdefs.h> |
75__FBSDID("$FreeBSD: head/sys/dev/le/if_le_pci.c 155093 2006-01-31 14:48:58Z marius $"); | 75__FBSDID("$FreeBSD: head/sys/dev/le/if_le_pci.c 158647 2006-05-16 12:15:39Z ru $"); |
76 77#include <sys/param.h> 78#include <sys/systm.h> 79#include <sys/bus.h> 80#include <sys/endian.h> 81#include <sys/kernel.h> 82#include <sys/lock.h> 83#include <sys/module.h> --- 200 unchanged lines hidden (view full) --- 284 285 if (pci_get_vendor(dev) != AMD_VENDOR) 286 return (ENXIO); 287 288 switch (pci_get_device(dev)) { 289 case AMD_PCNET_PCI: 290 case AMD_PCNET_HOME: 291 device_set_desc(dev, "AMD PCnet Ethernet"); | 76 77#include <sys/param.h> 78#include <sys/systm.h> 79#include <sys/bus.h> 80#include <sys/endian.h> 81#include <sys/kernel.h> 82#include <sys/lock.h> 83#include <sys/module.h> --- 200 unchanged lines hidden (view full) --- 284 285 if (pci_get_vendor(dev) != AMD_VENDOR) 286 return (ENXIO); 287 288 switch (pci_get_device(dev)) { 289 case AMD_PCNET_PCI: 290 case AMD_PCNET_HOME: 291 device_set_desc(dev, "AMD PCnet Ethernet"); |
292 /* Let lnc(4) win for now. */ 293 return (BUS_PROBE_LOW_PRIORITY); | 292 return (BUS_PROBE_DEFAULT); |
294 default: 295 return (ENXIO); 296 } 297} 298 299static int 300le_pci_attach(device_t dev) 301{ --- 195 unchanged lines hidden --- | 293 default: 294 return (ENXIO); 295 } 296} 297 298static int 299le_pci_attach(device_t dev) 300{ --- 195 unchanged lines hidden --- |