Re: bge driver not recognising BCM 5705M

From: Bill Paul <wpaul_at_FreeBSD.ORG>
Date: Fri, 1 Aug 2003 13:18:32 -0700 (PDT)
> I'm somewhat confused.

So am I: where were you when I asked sent e-mail to this list asking
for people to test the 5705 changes before I committed them?

> On a recent 5.1-CURRENT, boot -v gives me:

Actually, boot -v gives you much more, like the date when the kernel
image was compiled. Too bad you decided not to show everything to us.
 
> found-> vendor=0x14e4, dev=0x165d, revid=0x01
>         bus=2, slot=0, func=0
>         class=02-00-00, hdrtype=0x00, mfdev=0
>         cmdreg=0x0116, statreg=0x02b0, cachelnsz=8 (dwords)
>         lattimer=0x20 (960 ns), mingnt=0x40 (16000 ns), maxlat=0x00 (0 ns)
>         intpin=a, irq=11
>         powerspec 2  supports D0 D3  current D0
> 
> followed by:
> 
> pci2: <network, ethernet> at device 0.0 (no driver attached)
> 
> This is the internal Gigabit ethernet on my Dell D800 laptop... but
> it's not recognised, even though...
> 
> static struct bge_type bge_devs[] = {
> 
> ...
> 
>         { BCOM_VENDORID, BCOM_DEVICEID_BCM5705,
>                 "Broadcom BCM5705 Gigabit Ethernet" },
> 
> ...
> 
> };
> 
> and ...
> 
> #define BCOM_VENDORID                   0x14E4
> #define BCOM_DEVICEID_BCM5705M          0x165D
> 
> ... so why doesn't the bge driver kick in?

You'll need to investigate this one for yourself. Make *SURE* you booted
from the right kernel image (strings -a /boot/kernel/kernel | grep 5705).
A good way to experiment is compile your kernel _WITHOUT_ bge support,
and then build if_bge.ko as a module:

# cd /sys/modules/bge
# make; make load

-Bill

--
=============================================================================
-Bill Paul            (510) 749-2329 | Senior Engineer, Master of Unix-Fu
                 wpaul_at_windriver.com | Wind River Systems
=============================================================================
      "If stupidity were a handicap, you'd have the best parking spot."
=============================================================================
Received on Fri Aug 01 2003 - 11:18:32 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:17 UTC