NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: kern/46386: BCM57781 doesn't connect to the network on Asrock X79 Extreme4-M motherboard



Hello,

I can confirm that PR46961 changes "fixed" this bug too. I backported
all changes to the 6 branch (only some definitions were pulled up at
24 October to 6-branch for some reason from PR46961). IP address was
assigned by dhcp successfully. Network and internet worked too. So
this PR can be closed too (especially if everything will be pulled up
to netbsd-6 branch).

It is not necessary to get working condition but I also added these
lines from FreeBSD to make ASIC recognizable to the system:

+++ if_bgereg.h    2013-01-01 17:26:11.000000000 +0000
@@ -321,6 +321,8 @@
 #define BGE_CHIPID_BCM57762        0x57766000
 #define BGE_CHIPID_BCM57780_A0        0x57780000
 #define BGE_CHIPID_BCM57780_A1        0x57780001
+#define BGE_CHIPID_BCM57765_A0        0x57785000
+#define BGE_CHIPID_BCM57765_B0        0x57785100

 /* shorthand one */
 #define BGE_ASICREV(x)            ((x) >> 12)

+++ if_bge.c    2013-01-01 17:27:10.000000000 +0000
@@ -697,6 +701,8 @@ static const struct bge_revision {
     { BGE_CHIPID_BCM5787_A2, "BCM5754/5787 A2" },
     { BGE_CHIPID_BCM5906_A1, "BCM5906 A1" },
     { BGE_CHIPID_BCM5906_A2, "BCM5906 A2" },
+    { BGE_CHIPID_BCM57765_A0, "BCM57765 A0" },
+    { BGE_CHIPID_BCM57765_B0, "BCM57765 B0" },
     { BGE_CHIPID_BCM57780_A0, "BCM57780 A0" },
     { BGE_CHIPID_BCM57780_A1, "BCM57780 A1" },

Regards,
Andrius V


Home | Main Index | Thread Index | Old Index