| Summary: | Broadcom NetXtreme BCM57786 Gigabit Ethernet NIC not working | ||
|---|---|---|---|
| Product: | Base System | Reporter: | Sastry Tumuluri <sas3> |
| Component: | amd64 | Assignee: | Pyun YongHyeon <yongari> |
| Status: | Closed FIXED | ||
| Severity: | Affects Only Me | ||
| Priority: | Normal | ||
| Version: | Unspecified | ||
| Hardware: | Any | ||
| OS: | Any | ||
|
Description
Sastry Tumuluri
2013-11-26 08:20:00 UTC
Following up with the details and references included in an email to yongari: NetBSD Patch adding support for BCM57786 and serveral other broadcom chipsets: http://www.netbsd.org/~msaitoh/bge6-20130830.dif NetBSD Commit (Sep 7 2013): http://cvsweb.netbsd.org/bsdweb.cgi/src/sys/dev/pci/if_bgevar.h?rev=1.9.2.1&content-type=text/x-cvsweb-markup Linux Commit for 57764, 57765, 57787, 57782 and 57786 device support: http://permalink.gmane.org/gmane.linux.network/284331 Please try this but report back with the dmesg:
Index: head/sys/dev/bge/if_bge.c
===================================================================
--- head/sys/dev/bge/if_bge.c (revision 258648)
+++ head/sys/dev/bge/if_bge.c (working copy)
@@ -221,11 +221,16 @@
{ BCOM_VENDORID, BCOM_DEVICEID_BCM57760 },
{ BCOM_VENDORID, BCOM_DEVICEID_BCM57761 },
{ BCOM_VENDORID, BCOM_DEVICEID_BCM57762 },
+ { BCOM_VENDORID, BCOM_DEVICEID_BCM57764 },
{ BCOM_VENDORID, BCOM_DEVICEID_BCM57765 },
{ BCOM_VENDORID, BCOM_DEVICEID_BCM57766 },
+ { BCOM_VENDORID, BCOM_DEVICEID_BCM57767 },
{ BCOM_VENDORID, BCOM_DEVICEID_BCM57780 },
{ BCOM_VENDORID, BCOM_DEVICEID_BCM57781 },
+ { BCOM_VENDORID, BCOM_DEVICEID_BCM57782 },
{ BCOM_VENDORID, BCOM_DEVICEID_BCM57785 },
+ { BCOM_VENDORID, BCOM_DEVICEID_BCM57786 },
+ { BCOM_VENDORID, BCOM_DEVICEID_BCM57787 },
{ BCOM_VENDORID, BCOM_DEVICEID_BCM57788 },
{ BCOM_VENDORID, BCOM_DEVICEID_BCM57790 },
{ BCOM_VENDORID, BCOM_DEVICEID_BCM57791 },
@@ -2694,6 +2699,9 @@
case BCOM_DEVICEID_BCM5725:
case BCOM_DEVICEID_BCM5727:
case BCOM_DEVICEID_BCM5762:
+ case BCOM_DEVICEID_BCM57764:
+ case BCOM_DEVICEID_BCM57767:
+ case BCOM_DEVICEID_BCM57787:
id = pci_read_config(dev,
BGE_PCI_GEN2_PRODID_ASICREV, 4);
break;
@@ -2702,7 +2710,9 @@
case BCOM_DEVICEID_BCM57765:
case BCOM_DEVICEID_BCM57766:
case BCOM_DEVICEID_BCM57781:
+ case BCOM_DEVICEID_BCM57782:
case BCOM_DEVICEID_BCM57785:
+ case BCOM_DEVICEID_BCM57786:
case BCOM_DEVICEID_BCM57791:
case BCOM_DEVICEID_BCM57795:
id = pci_read_config(dev,
Index: head/sys/dev/bge/if_bgereg.h
===================================================================
--- head/sys/dev/bge/if_bgereg.h (revision 258648)
+++ head/sys/dev/bge/if_bgereg.h (working copy)
@@ -2503,11 +2503,16 @@
#define BCOM_DEVICEID_BCM57760 0x1690
#define BCOM_DEVICEID_BCM57761 0x16B0
#define BCOM_DEVICEID_BCM57762 0x1682
+#define BCOM_DEVICEID_BCM57764 0x1642
#define BCOM_DEVICEID_BCM57765 0x16B4
#define BCOM_DEVICEID_BCM57766 0x1686
+#define BCOM_DEVICEID_BCM57767 0x1683
#define BCOM_DEVICEID_BCM57780 0x1692
#define BCOM_DEVICEID_BCM57781 0x16B1
+#define BCOM_DEVICEID_BCM57782 0x16B7
#define BCOM_DEVICEID_BCM57785 0x16B5
+#define BCOM_DEVICEID_BCM57786 0x16B3
+#define BCOM_DEVICEID_BCM57787 0x1641
#define BCOM_DEVICEID_BCM57788 0x1691
#define BCOM_DEVICEID_BCM57790 0x1694
#define BCOM_DEVICEID_BCM57791 0x16B2
--
John Baldwin
After the following steps, 1. Apply the patch 2. make buildkernel && make installkernel 3. add the interface to /etc/rc.conf 4. reboot The interface comes up as bge0 and it works. Now, /var/run/dmesg.boot shows: bge0: <Broadcom NetXtreme Gigabit Ethernet Controller, ASIC rev. 0x57766001> mem 0xb0410000-0xb041ffff, 0xb0420000-0xb042ffff irq 18 at device 0.0 on pci1 bge0: CHIP ID 0x57766001; ASIC REV 0x57766; CHIP REV 0x577660; PCI-E miibus0: <MII bus> on bge0 brgphy0: <BCM57765 1000BASE-T media interface> PHY 1 on miibus0 brgphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, 1000baseT-master, 1000baseT-FDX, 1000baseT-FDX-master, auto, auto-flow bge0: Ethernet address: aa:bb:cc:dd:ee:ff Notes: 1. I expected to see BCM57786 (pciconf -lv shows this even now) in the messages but there isn't any. The chip number, revision and card references from pciconf don't seem to match with dmesg. 2. In dmesg, "brgphy0:" line refers to <BCM57765 1000BASE-T media interface> but pciconf refers to BCM57765 as "Memory Card Reader"; not sure what the 1000BASE-T in dmesg is about. Cheers, ==Sas3== >> On a Slippery Road in the Name of National Security << http://sastrytumuluri.blogspot.com/2013/10/on-slippery-road-in-name-of-national.html PGP Key ID: 2ACBE375B08D0A85 On Wed, Nov 27, 2013 at 12:31 AM, John Baldwin <jhb@freebsd.org> wrote: > > On Tuesday, November 26, 2013 3:18:17 am Sastry Tumuluri wrote: > > > > >Number: 184304 > > >Category: amd64 > > >Synopsis: Broadcom NetXtreme BCM57786 Gigabit Ethernet NIC not > working > > >Confidential: no > > >Severity: non-critical > > >Priority: low > > >Responsible: freebsd-amd64 > > >State: open > > >Quarter: > > >Keywords: > > >Date-Required: > > >Class: sw-bug > > >Submitter-Id: current-users > > >Arrival-Date: Tue Nov 26 08:20:00 UTC 2013 > > >Closed-Date: > > >Last-Modified: > > >Originator: Sastry Tumuluri > > >Release: 10.0BETA3 > > >Organization: > > Government of Haryana > > >Environment: > > FreeBSD 10.0-BETA3 #0 r257580: Sun Nov 3 19:43:01 UTC 2013 > root@snap.freebsd.org:/usr/obj/usr/src/sys/GENERIC amd64 > > >Description: > > Laptop: Acer Aspire E1-572-54204G50Mnkk > > > > Ethernet NIC not recognized on boot. > > > > pciconf shows: > > none2@pci0:1:0:0: class=0x020000 card=0x07751025 chip=0x16b314e4 rev=0x01 > hdr=0x00 > > vendor = 'Broadcom Corportation' > > device = 'NetXtreme BCM57786 Gigabit Ethernet PCIe' > > class = network > > subclass = ethernet > > Please try this but report back with the dmesg: > > Index: head/sys/dev/bge/if_bge.c > =================================================================== > --- head/sys/dev/bge/if_bge.c (revision 258648) > +++ head/sys/dev/bge/if_bge.c (working copy) > @@ -221,11 +221,16 @@ > { BCOM_VENDORID, BCOM_DEVICEID_BCM57760 }, > { BCOM_VENDORID, BCOM_DEVICEID_BCM57761 }, > { BCOM_VENDORID, BCOM_DEVICEID_BCM57762 }, > + { BCOM_VENDORID, BCOM_DEVICEID_BCM57764 }, > { BCOM_VENDORID, BCOM_DEVICEID_BCM57765 }, > { BCOM_VENDORID, BCOM_DEVICEID_BCM57766 }, > + { BCOM_VENDORID, BCOM_DEVICEID_BCM57767 }, > { BCOM_VENDORID, BCOM_DEVICEID_BCM57780 }, > { BCOM_VENDORID, BCOM_DEVICEID_BCM57781 }, > + { BCOM_VENDORID, BCOM_DEVICEID_BCM57782 }, > { BCOM_VENDORID, BCOM_DEVICEID_BCM57785 }, > + { BCOM_VENDORID, BCOM_DEVICEID_BCM57786 }, > + { BCOM_VENDORID, BCOM_DEVICEID_BCM57787 }, > { BCOM_VENDORID, BCOM_DEVICEID_BCM57788 }, > { BCOM_VENDORID, BCOM_DEVICEID_BCM57790 }, > { BCOM_VENDORID, BCOM_DEVICEID_BCM57791 }, > @@ -2694,6 +2699,9 @@ > case BCOM_DEVICEID_BCM5725: > case BCOM_DEVICEID_BCM5727: > case BCOM_DEVICEID_BCM5762: > + case BCOM_DEVICEID_BCM57764: > + case BCOM_DEVICEID_BCM57767: > + case BCOM_DEVICEID_BCM57787: > id = pci_read_config(dev, > BGE_PCI_GEN2_PRODID_ASICREV, 4); > break; > @@ -2702,7 +2710,9 @@ > case BCOM_DEVICEID_BCM57765: > case BCOM_DEVICEID_BCM57766: > case BCOM_DEVICEID_BCM57781: > + case BCOM_DEVICEID_BCM57782: > case BCOM_DEVICEID_BCM57785: > + case BCOM_DEVICEID_BCM57786: > case BCOM_DEVICEID_BCM57791: > case BCOM_DEVICEID_BCM57795: > id = pci_read_config(dev, > Index: head/sys/dev/bge/if_bgereg.h > =================================================================== > --- head/sys/dev/bge/if_bgereg.h (revision 258648) > +++ head/sys/dev/bge/if_bgereg.h (working copy) > @@ -2503,11 +2503,16 @@ > #define BCOM_DEVICEID_BCM57760 0x1690 > #define BCOM_DEVICEID_BCM57761 0x16B0 > #define BCOM_DEVICEID_BCM57762 0x1682 > +#define BCOM_DEVICEID_BCM57764 0x1642 > #define BCOM_DEVICEID_BCM57765 0x16B4 > #define BCOM_DEVICEID_BCM57766 0x1686 > +#define BCOM_DEVICEID_BCM57767 0x1683 > #define BCOM_DEVICEID_BCM57780 0x1692 > #define BCOM_DEVICEID_BCM57781 0x16B1 > +#define BCOM_DEVICEID_BCM57782 0x16B7 > #define BCOM_DEVICEID_BCM57785 0x16B5 > +#define BCOM_DEVICEID_BCM57786 0x16B3 > +#define BCOM_DEVICEID_BCM57787 0x1641 > #define BCOM_DEVICEID_BCM57788 0x1691 > #define BCOM_DEVICEID_BCM57790 0x1694 > #define BCOM_DEVICEID_BCM57791 0x16B2 > > -- > John Baldwin After the following steps, 1. Apply the patch 2. make buildkernel && make installkernel 3. add the interface to /etc/rc.conf 4. reboot The interface comes up as bge0 and it works. Now, /var/run/dmesg.boot shows: bge0: <Broadcom NetXtreme Gigabit Ethernet Controller, ASIC rev. 0x57766001> mem 0xb0410000-0xb041ffff, 0xb0420000-0xb042ffff irq 18 at device 0.0 on pci1 bge0: CHIP ID 0x57766001; ASIC REV 0x57766; CHIP REV 0x577660; PCI-E miibus0: <MII bus> on bge0 brgphy0: <BCM57765 1000BASE-T media interface> PHY 1 on miibus0 brgphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, 1000baseT-master, 1000baseT-FDX, 1000baseT-FDX-master, auto, auto-flow bge0: Ethernet address: aa:bb:cc:dd:ee:ff Notes: 1. I expected to see BCM57786 (pciconf -lv shows this even now) in the messages but there isn't any. The chip number, revision and card references from pciconf don't seem to match with dmesg. 2. In dmesg, "brgphy0:" line refers to <BCM57765 1000BASE-T media interface> but pciconf refers to BCM57765 as "Memory Card Reader"; not sure what the 1000BASE-T in dmesg is about. Cheers, ==Sas3== >> On a Slippery Road in the Name of National Security << http://sastrytumuluri.blogspot.com/2013/10/on-slippery-road-in-name-of-national.html PGP Key ID: 2ACBE375B08D0A85 On Wed, Nov 27, 2013 at 12:31 AM, John Baldwin <jhb@freebsd.org> wrote: > > On Tuesday, November 26, 2013 3:18:17 am Sastry Tumuluri wrote: > > > > >Number: 184304 > > >Category: amd64 > > >Synopsis: Broadcom NetXtreme BCM57786 Gigabit Ethernet NIC not > working > > >Confidential: no > > >Severity: non-critical > > >Priority: low > > >Responsible: freebsd-amd64 > > >State: open > > >Quarter: > > >Keywords: > > >Date-Required: > > >Class: sw-bug > > >Submitter-Id: current-users > > >Arrival-Date: Tue Nov 26 08:20:00 UTC 2013 > > >Closed-Date: > > >Last-Modified: > > >Originator: Sastry Tumuluri > > >Release: 10.0BETA3 > > >Organization: > > Government of Haryana > > >Environment: > > FreeBSD 10.0-BETA3 #0 r257580: Sun Nov 3 19:43:01 UTC 2013 > root@snap.freebsd.org:/usr/obj/usr/src/sys/GENERIC amd64 > > >Description: > > Laptop: Acer Aspire E1-572-54204G50Mnkk > > > > Ethernet NIC not recognized on boot. > > > > pciconf shows: > > none2@pci0:1:0:0: class=0x020000 card=0x07751025 chip=0x16b314e4 rev=0x01 > hdr=0x00 > > vendor = 'Broadcom Corportation' > > device = 'NetXtreme BCM57786 Gigabit Ethernet PCIe' > > class = network > > subclass = ethernet > > Please try this but report back with the dmesg: > > Index: head/sys/dev/bge/if_bge.c > =================================================================== > --- head/sys/dev/bge/if_bge.c (revision 258648) > +++ head/sys/dev/bge/if_bge.c (working copy) > @@ -221,11 +221,16 @@ > { BCOM_VENDORID, BCOM_DEVICEID_BCM57760 }, > { BCOM_VENDORID, BCOM_DEVICEID_BCM57761 }, > { BCOM_VENDORID, BCOM_DEVICEID_BCM57762 }, > + { BCOM_VENDORID, BCOM_DEVICEID_BCM57764 }, > { BCOM_VENDORID, BCOM_DEVICEID_BCM57765 }, > { BCOM_VENDORID, BCOM_DEVICEID_BCM57766 }, > + { BCOM_VENDORID, BCOM_DEVICEID_BCM57767 }, > { BCOM_VENDORID, BCOM_DEVICEID_BCM57780 }, > { BCOM_VENDORID, BCOM_DEVICEID_BCM57781 }, > + { BCOM_VENDORID, BCOM_DEVICEID_BCM57782 }, > { BCOM_VENDORID, BCOM_DEVICEID_BCM57785 }, > + { BCOM_VENDORID, BCOM_DEVICEID_BCM57786 }, > + { BCOM_VENDORID, BCOM_DEVICEID_BCM57787 }, > { BCOM_VENDORID, BCOM_DEVICEID_BCM57788 }, > { BCOM_VENDORID, BCOM_DEVICEID_BCM57790 }, > { BCOM_VENDORID, BCOM_DEVICEID_BCM57791 }, > @@ -2694,6 +2699,9 @@ > case BCOM_DEVICEID_BCM5725: > case BCOM_DEVICEID_BCM5727: > case BCOM_DEVICEID_BCM5762: > + case BCOM_DEVICEID_BCM57764: > + case BCOM_DEVICEID_BCM57767: > + case BCOM_DEVICEID_BCM57787: > id = pci_read_config(dev, > BGE_PCI_GEN2_PRODID_ASICREV, 4); > break; > @@ -2702,7 +2710,9 @@ > case BCOM_DEVICEID_BCM57765: > case BCOM_DEVICEID_BCM57766: > case BCOM_DEVICEID_BCM57781: > + case BCOM_DEVICEID_BCM57782: > case BCOM_DEVICEID_BCM57785: > + case BCOM_DEVICEID_BCM57786: > case BCOM_DEVICEID_BCM57791: > case BCOM_DEVICEID_BCM57795: > id = pci_read_config(dev, > Index: head/sys/dev/bge/if_bgereg.h > =================================================================== > --- head/sys/dev/bge/if_bgereg.h (revision 258648) > +++ head/sys/dev/bge/if_bgereg.h (working copy) > @@ -2503,11 +2503,16 @@ > #define BCOM_DEVICEID_BCM57760 0x1690 > #define BCOM_DEVICEID_BCM57761 0x16B0 > #define BCOM_DEVICEID_BCM57762 0x1682 > +#define BCOM_DEVICEID_BCM57764 0x1642 > #define BCOM_DEVICEID_BCM57765 0x16B4 > #define BCOM_DEVICEID_BCM57766 0x1686 > +#define BCOM_DEVICEID_BCM57767 0x1683 > #define BCOM_DEVICEID_BCM57780 0x1692 > #define BCOM_DEVICEID_BCM57781 0x16B1 > +#define BCOM_DEVICEID_BCM57782 0x16B7 > #define BCOM_DEVICEID_BCM57785 0x16B5 > +#define BCOM_DEVICEID_BCM57786 0x16B3 > +#define BCOM_DEVICEID_BCM57787 0x1641 > #define BCOM_DEVICEID_BCM57788 0x1691 > #define BCOM_DEVICEID_BCM57790 0x1694 > #define BCOM_DEVICEID_BCM57791 0x16B2 > > -- > John Baldwin Responsible Changed From-To: freebsd-amd64->yongari Grab. Author: yongari Date: Mon Dec 2 05:21:54 2013 New Revision: 258830 URL: http://svnweb.freebsd.org/changeset/base/258830 Log: Add support for BCM57764, BCM57767, BCM57782, BCM57786 and BCM57787. Submitted by: jhb PR: 184304 Modified: head/sys/dev/bge/if_bge.c head/sys/dev/bge/if_bgereg.h Modified: head/sys/dev/bge/if_bge.c ============================================================================== --- head/sys/dev/bge/if_bge.c Mon Dec 2 03:59:45 2013 (r258829) +++ head/sys/dev/bge/if_bge.c Mon Dec 2 05:21:54 2013 (r258830) @@ -221,11 +221,16 @@ static const struct bge_type { { BCOM_VENDORID, BCOM_DEVICEID_BCM57760 }, { BCOM_VENDORID, BCOM_DEVICEID_BCM57761 }, { BCOM_VENDORID, BCOM_DEVICEID_BCM57762 }, + { BCOM_VENDORID, BCOM_DEVICEID_BCM57764 }, { BCOM_VENDORID, BCOM_DEVICEID_BCM57765 }, { BCOM_VENDORID, BCOM_DEVICEID_BCM57766 }, + { BCOM_VENDORID, BCOM_DEVICEID_BCM57767 }, { BCOM_VENDORID, BCOM_DEVICEID_BCM57780 }, { BCOM_VENDORID, BCOM_DEVICEID_BCM57781 }, + { BCOM_VENDORID, BCOM_DEVICEID_BCM57782 }, { BCOM_VENDORID, BCOM_DEVICEID_BCM57785 }, + { BCOM_VENDORID, BCOM_DEVICEID_BCM57786 }, + { BCOM_VENDORID, BCOM_DEVICEID_BCM57787 }, { BCOM_VENDORID, BCOM_DEVICEID_BCM57788 }, { BCOM_VENDORID, BCOM_DEVICEID_BCM57790 }, { BCOM_VENDORID, BCOM_DEVICEID_BCM57791 }, @@ -2694,6 +2699,9 @@ bge_chipid(device_t dev) case BCOM_DEVICEID_BCM5725: case BCOM_DEVICEID_BCM5727: case BCOM_DEVICEID_BCM5762: + case BCOM_DEVICEID_BCM57764: + case BCOM_DEVICEID_BCM57767: + case BCOM_DEVICEID_BCM57787: id = pci_read_config(dev, BGE_PCI_GEN2_PRODID_ASICREV, 4); break; @@ -2702,7 +2710,9 @@ bge_chipid(device_t dev) case BCOM_DEVICEID_BCM57765: case BCOM_DEVICEID_BCM57766: case BCOM_DEVICEID_BCM57781: + case BCOM_DEVICEID_BCM57782: case BCOM_DEVICEID_BCM57785: + case BCOM_DEVICEID_BCM57786: case BCOM_DEVICEID_BCM57791: case BCOM_DEVICEID_BCM57795: id = pci_read_config(dev, Modified: head/sys/dev/bge/if_bgereg.h ============================================================================== --- head/sys/dev/bge/if_bgereg.h Mon Dec 2 03:59:45 2013 (r258829) +++ head/sys/dev/bge/if_bgereg.h Mon Dec 2 05:21:54 2013 (r258830) @@ -2503,11 +2503,16 @@ struct bge_status_block { #define BCOM_DEVICEID_BCM57760 0x1690 #define BCOM_DEVICEID_BCM57761 0x16B0 #define BCOM_DEVICEID_BCM57762 0x1682 +#define BCOM_DEVICEID_BCM57764 0x1642 #define BCOM_DEVICEID_BCM57765 0x16B4 #define BCOM_DEVICEID_BCM57766 0x1686 +#define BCOM_DEVICEID_BCM57767 0x1683 #define BCOM_DEVICEID_BCM57780 0x1692 #define BCOM_DEVICEID_BCM57781 0x16B1 +#define BCOM_DEVICEID_BCM57782 0x16B7 #define BCOM_DEVICEID_BCM57785 0x16B5 +#define BCOM_DEVICEID_BCM57786 0x16B3 +#define BCOM_DEVICEID_BCM57787 0x1641 #define BCOM_DEVICEID_BCM57788 0x1691 #define BCOM_DEVICEID_BCM57790 0x1694 #define BCOM_DEVICEID_BCM57791 0x16B2 _______________________________________________ svn-src-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscribe@freebsd.org" State Changed From-To: open->patched I've checked in John's patch(r258830). Thanks for reporting and testing! Author: yongari Date: Thu Dec 5 06:13:59 2013 New Revision: 258959 URL: http://svnweb.freebsd.org/changeset/base/258959 Log: MFC r258830: Add support for BCM57764, BCM57767, BCM57782, BCM57786 and BCM57787. PR: 184304 Approved by: re (rodrigc) Modified: stable/10/sys/dev/bge/if_bge.c stable/10/sys/dev/bge/if_bgereg.h Directory Properties: stable/10/sys/ (props changed) Modified: stable/10/sys/dev/bge/if_bge.c ============================================================================== --- stable/10/sys/dev/bge/if_bge.c Thu Dec 5 05:59:09 2013 (r258958) +++ stable/10/sys/dev/bge/if_bge.c Thu Dec 5 06:13:59 2013 (r258959) @@ -220,11 +220,16 @@ static const struct bge_type { { BCOM_VENDORID, BCOM_DEVICEID_BCM57760 }, { BCOM_VENDORID, BCOM_DEVICEID_BCM57761 }, { BCOM_VENDORID, BCOM_DEVICEID_BCM57762 }, + { BCOM_VENDORID, BCOM_DEVICEID_BCM57764 }, { BCOM_VENDORID, BCOM_DEVICEID_BCM57765 }, { BCOM_VENDORID, BCOM_DEVICEID_BCM57766 }, + { BCOM_VENDORID, BCOM_DEVICEID_BCM57767 }, { BCOM_VENDORID, BCOM_DEVICEID_BCM57780 }, { BCOM_VENDORID, BCOM_DEVICEID_BCM57781 }, + { BCOM_VENDORID, BCOM_DEVICEID_BCM57782 }, { BCOM_VENDORID, BCOM_DEVICEID_BCM57785 }, + { BCOM_VENDORID, BCOM_DEVICEID_BCM57786 }, + { BCOM_VENDORID, BCOM_DEVICEID_BCM57787 }, { BCOM_VENDORID, BCOM_DEVICEID_BCM57788 }, { BCOM_VENDORID, BCOM_DEVICEID_BCM57790 }, { BCOM_VENDORID, BCOM_DEVICEID_BCM57791 }, @@ -2693,6 +2698,9 @@ bge_chipid(device_t dev) case BCOM_DEVICEID_BCM5725: case BCOM_DEVICEID_BCM5727: case BCOM_DEVICEID_BCM5762: + case BCOM_DEVICEID_BCM57764: + case BCOM_DEVICEID_BCM57767: + case BCOM_DEVICEID_BCM57787: id = pci_read_config(dev, BGE_PCI_GEN2_PRODID_ASICREV, 4); break; @@ -2701,7 +2709,9 @@ bge_chipid(device_t dev) case BCOM_DEVICEID_BCM57765: case BCOM_DEVICEID_BCM57766: case BCOM_DEVICEID_BCM57781: + case BCOM_DEVICEID_BCM57782: case BCOM_DEVICEID_BCM57785: + case BCOM_DEVICEID_BCM57786: case BCOM_DEVICEID_BCM57791: case BCOM_DEVICEID_BCM57795: id = pci_read_config(dev, Modified: stable/10/sys/dev/bge/if_bgereg.h ============================================================================== --- stable/10/sys/dev/bge/if_bgereg.h Thu Dec 5 05:59:09 2013 (r258958) +++ stable/10/sys/dev/bge/if_bgereg.h Thu Dec 5 06:13:59 2013 (r258959) @@ -2503,11 +2503,16 @@ struct bge_status_block { #define BCOM_DEVICEID_BCM57760 0x1690 #define BCOM_DEVICEID_BCM57761 0x16B0 #define BCOM_DEVICEID_BCM57762 0x1682 +#define BCOM_DEVICEID_BCM57764 0x1642 #define BCOM_DEVICEID_BCM57765 0x16B4 #define BCOM_DEVICEID_BCM57766 0x1686 +#define BCOM_DEVICEID_BCM57767 0x1683 #define BCOM_DEVICEID_BCM57780 0x1692 #define BCOM_DEVICEID_BCM57781 0x16B1 +#define BCOM_DEVICEID_BCM57782 0x16B7 #define BCOM_DEVICEID_BCM57785 0x16B5 +#define BCOM_DEVICEID_BCM57786 0x16B3 +#define BCOM_DEVICEID_BCM57787 0x1641 #define BCOM_DEVICEID_BCM57788 0x1691 #define BCOM_DEVICEID_BCM57790 0x1694 #define BCOM_DEVICEID_BCM57791 0x16B2 _______________________________________________ svn-src-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscribe@freebsd.org" Author: yongari Date: Thu Dec 5 07:32:54 2013 New Revision: 258967 URL: http://svnweb.freebsd.org/changeset/base/258967 Log: MFC r258830: Add support for BCM57764, BCM57767, BCM57782, BCM57786 and BCM57787. PR: 184304 Modified: stable/9/sys/dev/bge/if_bge.c stable/9/sys/dev/bge/if_bgereg.h Directory Properties: stable/9/sys/ (props changed) stable/9/sys/dev/ (props changed) Modified: stable/9/sys/dev/bge/if_bge.c ============================================================================== --- stable/9/sys/dev/bge/if_bge.c Thu Dec 5 07:31:01 2013 (r258966) +++ stable/9/sys/dev/bge/if_bge.c Thu Dec 5 07:32:54 2013 (r258967) @@ -220,11 +220,16 @@ static const struct bge_type { { BCOM_VENDORID, BCOM_DEVICEID_BCM57760 }, { BCOM_VENDORID, BCOM_DEVICEID_BCM57761 }, { BCOM_VENDORID, BCOM_DEVICEID_BCM57762 }, + { BCOM_VENDORID, BCOM_DEVICEID_BCM57764 }, { BCOM_VENDORID, BCOM_DEVICEID_BCM57765 }, { BCOM_VENDORID, BCOM_DEVICEID_BCM57766 }, + { BCOM_VENDORID, BCOM_DEVICEID_BCM57767 }, { BCOM_VENDORID, BCOM_DEVICEID_BCM57780 }, { BCOM_VENDORID, BCOM_DEVICEID_BCM57781 }, + { BCOM_VENDORID, BCOM_DEVICEID_BCM57782 }, { BCOM_VENDORID, BCOM_DEVICEID_BCM57785 }, + { BCOM_VENDORID, BCOM_DEVICEID_BCM57786 }, + { BCOM_VENDORID, BCOM_DEVICEID_BCM57787 }, { BCOM_VENDORID, BCOM_DEVICEID_BCM57788 }, { BCOM_VENDORID, BCOM_DEVICEID_BCM57790 }, { BCOM_VENDORID, BCOM_DEVICEID_BCM57791 }, @@ -2693,6 +2698,9 @@ bge_chipid(device_t dev) case BCOM_DEVICEID_BCM5725: case BCOM_DEVICEID_BCM5727: case BCOM_DEVICEID_BCM5762: + case BCOM_DEVICEID_BCM57764: + case BCOM_DEVICEID_BCM57767: + case BCOM_DEVICEID_BCM57787: id = pci_read_config(dev, BGE_PCI_GEN2_PRODID_ASICREV, 4); break; @@ -2701,7 +2709,9 @@ bge_chipid(device_t dev) case BCOM_DEVICEID_BCM57765: case BCOM_DEVICEID_BCM57766: case BCOM_DEVICEID_BCM57781: + case BCOM_DEVICEID_BCM57782: case BCOM_DEVICEID_BCM57785: + case BCOM_DEVICEID_BCM57786: case BCOM_DEVICEID_BCM57791: case BCOM_DEVICEID_BCM57795: id = pci_read_config(dev, Modified: stable/9/sys/dev/bge/if_bgereg.h ============================================================================== --- stable/9/sys/dev/bge/if_bgereg.h Thu Dec 5 07:31:01 2013 (r258966) +++ stable/9/sys/dev/bge/if_bgereg.h Thu Dec 5 07:32:54 2013 (r258967) @@ -2502,11 +2502,16 @@ struct bge_status_block { #define BCOM_DEVICEID_BCM57760 0x1690 #define BCOM_DEVICEID_BCM57761 0x16B0 #define BCOM_DEVICEID_BCM57762 0x1682 +#define BCOM_DEVICEID_BCM57764 0x1642 #define BCOM_DEVICEID_BCM57765 0x16B4 #define BCOM_DEVICEID_BCM57766 0x1686 +#define BCOM_DEVICEID_BCM57767 0x1683 #define BCOM_DEVICEID_BCM57780 0x1692 #define BCOM_DEVICEID_BCM57781 0x16B1 +#define BCOM_DEVICEID_BCM57782 0x16B7 #define BCOM_DEVICEID_BCM57785 0x16B5 +#define BCOM_DEVICEID_BCM57786 0x16B3 +#define BCOM_DEVICEID_BCM57787 0x1641 #define BCOM_DEVICEID_BCM57788 0x1691 #define BCOM_DEVICEID_BCM57790 0x1694 #define BCOM_DEVICEID_BCM57791 0x16B2 _______________________________________________ svn-src-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscribe@freebsd.org" State Changed From-To: patched->closed MFC to both stable/10 and stable/9 complete. Upcoming 10-RELEASE will ship support code for BCM57786. |