PATCH: FreeBSD-7-BETA4 'bge' ether for Dell T105 server

From: Chris Shenton <chris_at_shenton.org>
Date: Sun, 23 Dec 2007 17:17:13 -0500
Thanks to Max Laier's help, the ether device is now working with the 'bge'
driver.  Here is a patch that makes it work.  I just recompiled the
kernel afterwards and it comes up.

PS: the T105 is now $399 but includes 1GB RAM and 2x160GB disk,
    in addition to the dual-core 1.8GHz Opteron and DVD reader.

(Is there a better way to do this? sorry for the CC's, wasn't sure which
was appropriate for getting this into the tree.)


$ pwd
/usr/src/sys/dev/bge
$ diff -c if_bge.c*
*** if_bge.c	Mon Nov 26 12:33:28 2007
--- if_bge.c.NEW	Sun Dec 23 15:44:40 2007
***************
*** 169,174 ****
--- 169,175 ----
  	{ BCOM_VENDORID,	BCOM_DEVICEID_BCM5715S },
  	{ BCOM_VENDORID,	BCOM_DEVICEID_BCM5720 },
  	{ BCOM_VENDORID,	BCOM_DEVICEID_BCM5721 },
+ 	{ BCOM_VENDORID,	BCOM_DEVICEID_BCM5722 },
  	{ BCOM_VENDORID,	BCOM_DEVICEID_BCM5750 },
  	{ BCOM_VENDORID,	BCOM_DEVICEID_BCM5750M },
  	{ BCOM_VENDORID,	BCOM_DEVICEID_BCM5751 },
$ diff -c if_bgereg.h*
*** if_bgereg.h	Tue May 22 15:22:58 2007
--- if_bgereg.h.NEW	Sun Dec 23 15:44:53 2007
***************
*** 2011,2016 ****
--- 2011,2017 ----
  #define	BCOM_DEVICEID_BCM5715S		0x1679
  #define	BCOM_DEVICEID_BCM5720		0x1658
  #define	BCOM_DEVICEID_BCM5721		0x1659
+ #define       BCOM_DEVICEID_BCM5722		0x165a
  #define	BCOM_DEVICEID_BCM5750		0x1676
  #define	BCOM_DEVICEID_BCM5750M		0x167C
  #define	BCOM_DEVICEID_BCM5751		0x1677
Received on Sun Dec 23 2007 - 22:49:57 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:24 UTC