Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 6 Oct 2009 23:27:09 -0700 (PDT)
From:      Chris Stankevitz <chrisstankevitz@yahoo.com>
To:        freebsd-questions@freebsd.org
Subject:   Howto: ethernet card on dell M6300
Message-ID:  <106754.29417.qm@web52912.mail.re2.yahoo.com>

next in thread | raw e-mail | index | archive | help
I was saddened to find that my ethernet card did not work on my FreeBSD 7.2 machine.  The bge driver in the kernel did not support the broadcom 5756ME.  Here is how I got it to work:

1. Set my machine up to compile the kernel (see section 8.5 of manual)

2. Edit /usr/src/sys/dev/bge/if_bgereg.h.  Add a definition for BCOM_DEVICEID_BCM5756ME with the value 0x1674 after BCOM_DEVICEID_BCM5755M:
#define BCOM_DEVICEID_BCM5755M          0x1673
#define BCOM_DEVICEID_BCM5756ME         0x1674
#define BCOM_DEVICEID_BCM5780           0x166A

3. Edit /usr/src/sys/dev/bge/if_bge.c.  Add a reference to BCOM_DEVICEID_BCM5756ME after BCOM_DEVICEID_BCM5755M:
        { BCOM_VENDORID,        BCOM_DEVICEID_BCM5755M },
        { BCOM_VENDORID,        BCOM_DEVICEID_BCM5756ME },
        { BCOM_VENDORID,        BCOM_DEVICEID_BCM5780 },

4. Compile and install the kernel, and reboot

5. Configure the card using sysinstall

Chris


      



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