add support intel C-ICH's embeded Ether MACs.
Tested on RadiSys Endura CH815C (http://www.radisys.com/)
This commit is contained in:
parent
ef0884e4c6
commit
5e26ad6017
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: if_fxp_pci.c,v 1.23 2002/06/22 08:09:07 cjs Exp $ */
|
||||
/* $NetBSD: if_fxp_pci.c,v 1.24 2002/07/22 08:25:45 msaitoh Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 1997, 1998, 1999, 2000, 2001 The NetBSD Foundation, Inc.
|
||||
|
@ -43,7 +43,7 @@
|
|||
*/
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__KERNEL_RCSID(0, "$NetBSD: if_fxp_pci.c,v 1.23 2002/06/22 08:09:07 cjs Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: if_fxp_pci.c,v 1.24 2002/07/22 08:25:45 msaitoh Exp $");
|
||||
|
||||
#include "rnd.h"
|
||||
|
||||
|
@ -117,6 +117,10 @@ const struct fxp_pci_product {
|
|||
"Intel InBusiness Ethernet" },
|
||||
{ PCI_PRODUCT_INTEL_82801BA_LAN,
|
||||
"Intel i82562 Ethernet" },
|
||||
{ PCI_PRODUCT_INTEL_82801E_LAN_1,
|
||||
"Intel i82559 Ethernet" },
|
||||
{ PCI_PRODUCT_INTEL_82801E_LAN_2,
|
||||
"Intel i82559 Ethernet" },
|
||||
{ PCI_PRODUCT_INTEL_PRO_100_VE_0,
|
||||
"Intel PRO/100 VE Network Controller" },
|
||||
{ PCI_PRODUCT_INTEL_PRO_100_VE_1,
|
||||
|
@ -370,6 +374,15 @@ fxp_pci_attach(parent, self, aux)
|
|||
sc->sc_rev = 1;
|
||||
sc->sc_flags |= FXPF_HAS_RESUME_BUG;
|
||||
break;
|
||||
case PCI_PRODUCT_INTEL_82801E_LAN_1:
|
||||
case PCI_PRODUCT_INTEL_82801E_LAN_2:
|
||||
printf(": %s, rev %d\n", fpp->fpp_name, sc->sc_rev);
|
||||
|
||||
/*
|
||||
* XXX We have to read the C-ICH's developer's manual
|
||||
* in detail
|
||||
*/
|
||||
break;
|
||||
}
|
||||
|
||||
/* Make sure bus-mastering is enabled. */
|
||||
|
|
Loading…
Reference in New Issue