Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 29 Sep 2002 02:34:17 +0900 (JST)
From:      Mitsuru IWASAKI <iwasaki@jp.FreeBSD.org>
To:        jdp@FreeBSD.ORG
Cc:        current@FreeBSD.ORG
Subject:   [PATCH] Broadcom BCM5702X Gigabit Ethernet support
Message-ID:  <20020929.023417.100386096.iwasaki@jp.FreeBSD.org>

next in thread | raw e-mail | index | archive | help
# I'm not sure whom to send this patch, but the last person edited
# if_bge.c seems to be you :)

Hi, I got a new machine with Broadcom BCM5702X Gigabit Ethernet.
This NIC isn't supported yet, so I wrote simple patches for it.
It's working now, so far so good :)
Could you review the patches and commit them if acceptable?
# Or may I commit this with confidence?

Thanks

Index: sys/dev/bge/if_bge.c
===================================================================
RCS file: /home/ncvs/src/sys/dev/bge/if_bge.c,v
retrieving revision 1.19
diff -u -r1.19 if_bge.c
--- sys/dev/bge/if_bge.c	8 Sep 2002 19:11:58 -0000	1.19
+++ sys/dev/bge/if_bge.c	28 Sep 2002 09:56:11 -0000
@@ -141,6 +141,8 @@
 		"Broadcom BCM5700 Gigabit Ethernet" },
 	{ BCOM_VENDORID, BCOM_DEVICEID_BCM5701,
 		"Broadcom BCM5701 Gigabit Ethernet" },
+	{ BCOM_VENDORID, BCOM_DEVICEID_BCM5702X,
+		"Broadcom BCM5702X Gigabit Ethernet" },
 	{ BCOM_VENDORID, BCOM_DEVICEID_BCM5703X,
 		"Broadcom BCM5703X Gigabit Ethernet" },
 	{ SK_VENDORID, SK_DEVICEID_ALTIMA,
Index: sys/dev/bge/if_bgereg.h
===================================================================
RCS file: /home/ncvs/src/sys/dev/bge/if_bgereg.h,v
retrieving revision 1.7
diff -u -r1.7 if_bgereg.h
--- sys/dev/bge/if_bgereg.h	8 Sep 2002 19:11:58 -0000	1.7
+++ sys/dev/bge/if_bgereg.h	28 Sep 2002 09:56:15 -0000
@@ -1784,6 +1784,7 @@
 #define BCOM_VENDORID			0x14E4
 #define BCOM_DEVICEID_BCM5700		0x1644
 #define BCOM_DEVICEID_BCM5701		0x1645
+#define BCOM_DEVICEID_BCM5702X		0x16A6
 #define BCOM_DEVICEID_BCM5703X		0x16A7
 
 /*

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020929.023417.100386096.iwasaki>