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



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
_______________________________________________
freebsd-stable@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscribe@xxxxxxxxxxx"



Relevant Pages

  • Re: bge(4) on BCM 5752 A02 panic due to media autoselect
    ... During the debugging I have found that the attached patch can make ... >> skip rereading firmware after a reset, ... The Linux driver specifically disables ... diff -u -r1.52 if_bgereg.h ...
    (freebsd-current)
  • PATCH: FreeBSD-7-BETA4 bge ether for Dell T105 server
    ... the ether device is now working with the 'bge' ... driver. ... Here is a patch that makes it work. ... $ diff -c if_bgereg.h* ...
    (freebsd-current)
  • Call for testers - dc ethernet driver patch
    ... The dc driver has been broken ever since it was converted to use busdma. ... The symptoms are that it reports spurious output errors and collisions, ... I believe the patch below fixes ... diff -u -r1.40 if_dcreg.h ...
    (freebsd-current)
  • Success! was Re: tvtime audio vs pcHDTV-3000 card and pvHDTV-1.6 software
    ... On Wednesday 16 March 2005 20:15, Gene Heskett wrote: ... > that a diff actually outputs only the src code differences, ... nor in that simple little 10 line patch that ... >Unforch, the 2.6.11 plain tree has not, in this case been built yet ...
    (Linux-Kernel)
  • Re: how to compile and install a new driver
    ... Warren Block wrote: ... but you'd better include enough info so that they could make FreeBSD-stype diffs: diff has the unfortunate default of making an output that is compatible with ed. ... This supplies extremely little information to use, in case the file you're trying to patch with that diff has changed, and is also damned hard for mere humans to understand. ... then you can compile. ...
    (freebsd-questions)