Re: Broadcom 5789

2005-05-17 Thread stefan
Hi
thanks for your response. I will send you a reminder on Thursday.

Stefan


Zitat von Mike Silbersack <[EMAIL PROTECTED]>:

> 
> On Tue, 17 May 2005 [EMAIL PROTECTED] wrote:
> 
> > Could someone with knowledge of the Broadcom ethernet chips
> > and the bge driver check if adding support for the 5789 is
> > really that easy and if yes, initiate the needed steps to get
> > the device id's in the kernel?
> 
> Adding support for new chips often is that easy, if you look in the 3com
> 
> xl and Intel fxp driver histories you'll find tons of changes which are 
> just like the one you made below.
> 
> I'll commit the change if you can remind me to do so later in the week 
> (Thursday or Friday.)
> 
> Mike "Silby" Silbersack
> 



___
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Broadcom 5789

2005-05-16 Thread Mike Silbersack
On Tue, 17 May 2005 [EMAIL PROTECTED] wrote:
Could someone with knowledge of the Broadcom ethernet chips
and the bge driver check if adding support for the 5789 is
really that easy and if yes, initiate the needed steps to get
the device id's in the kernel?
Adding support for new chips often is that easy, if you look in the 3com 
xl and Intel fxp driver histories you'll find tons of changes which are 
just like the one you made below.

I'll commit the change if you can remind me to do so later in the week 
(Thursday or Friday.)

Mike "Silby" Silbersack
___
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Broadcom 5789

2005-05-16 Thread stefan
Hi
I just setup a FreeBSD 5.4 stable on a machine using a Gigabyte
GA-8I915P Duo Pro motherboard. Contrary to the documentation, the
board I have does not use the Broadcom 5751 chip but the 5789 which
is not recognized by the bge(4) driver.

The 5788 is already in the list of supported chips by the bge
driver. From this I guessed that the driver could alsow work
with the 5789. I tried the following patch and at least from
my minimal testing (only 100Mbit) it looks as if it works.

Could someone with knowledge of the Broadcom ethernet chips
and the bge driver check if adding support for the 5789 is
really that easy and if yes, initiate the needed steps to get
the device id's in the kernel?

regards

Stefan Aeschbacher

The patches I used to get it working:

--- if_bge.cSun May 15 01:03:07 2005
+++ if_bge.c.newSun May 15 01:04:01 2005
@@ -169,6 +169,8 @@
"Broadcom BCM5782 Gigabit Ethernet" },
{ BCOM_VENDORID, BCOM_DEVICEID_BCM5788,
"Broadcom BCM5788 Gigabit Ethernet" },
+   { BCOM_VENDORID, BCOM_DEVICEID_BCM5789,
+   "Broadcom BCM5789 Gigabit Ethernet" },
{ BCOM_VENDORID, BCOM_DEVICEID_BCM5901,
"Broadcom BCM5901 Fast Ethernet" },
{ BCOM_VENDORID, BCOM_DEVICEID_BCM5901A2,
--- if_bgereg.h Sun May 15 01:03:19 2005
+++ if_bgereg.h.new Sun May 15 01:04:01 2005
@@ -1874,6 +1874,7 @@
 #define BCOM_DEVICEID_BCM5751M 0x167D
 #define BCOM_DEVICEID_BCM5782  0x1696
 #define BCOM_DEVICEID_BCM5788  0x169C
+#define BCOM_DEVICEID_BCM5789  0x169D
 #define BCOM_DEVICEID_BCM5901  0x170D
 #define BCOM_DEVICEID_BCM5901A20x170E
___
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "[EMAIL PROTECTED]"