diff options
author | Claudio Jeker <claudio@cvs.openbsd.org> | 2009-06-23 14:09:52 +0000 |
---|---|---|
committer | Claudio Jeker <claudio@cvs.openbsd.org> | 2009-06-23 14:09:52 +0000 |
commit | 7b2295ee61a875208a4befaaa4c8783a4f024e1f (patch) | |
tree | 21b1996de3140741a1f1841a47a46a07530f07e4 /sys/dev/pci/if_em.c | |
parent | 84eaa5d8dd89f9d25ed7820ac0739d7e6a6dc7d4 (diff) |
Add support for the 82574L chips and the bme1000 phy which is also used on
some newer ICH* chips. All the hard work done by Dariusz Swiderski
sfires (at) sfires.net, tested by myself, sthen@ and many more.
Eyeballed and OK dlg@ kettenis@
Diffstat (limited to 'sys/dev/pci/if_em.c')
-rw-r--r-- | sys/dev/pci/if_em.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/sys/dev/pci/if_em.c b/sys/dev/pci/if_em.c index 44a016b5385..bffd520de72 100644 --- a/sys/dev/pci/if_em.c +++ b/sys/dev/pci/if_em.c @@ -31,7 +31,7 @@ POSSIBILITY OF SUCH DAMAGE. ***************************************************************************/ -/* $OpenBSD: if_em.c,v 1.212 2009/06/05 16:27:40 naddy Exp $ */ +/* $OpenBSD: if_em.c,v 1.213 2009/06/23 14:09:51 claudio Exp $ */ /* $FreeBSD: if_em.c,v 1.46 2004/09/29 18:28:28 mlaier Exp $ */ #include <dev/pci/if_em.h> @@ -116,6 +116,7 @@ const struct pci_matchid em_devices[] = { { PCI_VENDOR_INTEL, PCI_PRODUCT_INTEL_82573L_PL_1 }, { PCI_VENDOR_INTEL, PCI_PRODUCT_INTEL_82573L_PL_2 }, { PCI_VENDOR_INTEL, PCI_PRODUCT_INTEL_82573V_PM }, + { PCI_VENDOR_INTEL, PCI_PRODUCT_INTEL_82574L }, { PCI_VENDOR_INTEL, PCI_PRODUCT_INTEL_82575EB_COPPER }, { PCI_VENDOR_INTEL, PCI_PRODUCT_INTEL_82575EB_SERDES }, { PCI_VENDOR_INTEL, PCI_PRODUCT_INTEL_82575GB_QUAD_CPR }, @@ -329,6 +330,7 @@ em_attach(struct device *parent, struct device *self, void *aux) } case em_82571: case em_82572: + case em_82574: case em_82575: case em_ich9lan: case em_80003es2lan: /* Limit Jumbo Frame size */ @@ -695,6 +697,9 @@ em_init(void *arg) /* Jumbo frames not supported */ pba = E1000_PBA_12K; /* 12K for Rx, 20K for Tx */ break; + case em_82574: /* Total Packet Buffer is 40k */ + pba = E1000_PBA_30K; /* 30K for Rx, 10K for Tx */ + break; case em_ich8lan: pba = E1000_PBA_8K; break; |