Subject: Re: DGE-530T NIC support? (device not configured in dmesg output)
To: Tillman Hodgson <tillman@seekingfire.com>
From: Jonathan A. Kollasch <jakllsch@kollasch.net>
List: netbsd-users
Date: 05/29/2006 23:37:44
--uAKRQypu60I7Lcqm
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Mon, May 29, 2006 at 09:10:31PM -0600, Tillman Hodgson wrote:
> I swapped in an addition NIC, a cheap D-Link DGE0530T gigabit card. I'm
> guessing that this card would normally be supported by the bge(4)

You sure, the page on the D-Link website for that card shows a Marvell
logo on the primary IC.  Furthermore D-Link DGE-530T is listed in sk(4).

> driver. bge is indeed in both the GENERIC and the XEN0 kernels:
>=20
>  bge*    at pci? dev ? function ?        # Broadcom 570x gigabit Ethernet
>=20
> After booting either kernel (GENERIC or XEN0), the system doesn't seem
> to recognize it enough to configure it:
>=20
>  fxp0 at pci0 dev 14 function 0: i82559 Ethernet, rev 8
>  fxp0: interrupting at irq 10, event channel 6
>  fxp0: Ethernet address 00:90:27:a5:90:31
>  inphy0 at fxp0 phy 1: i82555 10/100 media interface, rev. 4
>  inphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
>  fxp1 at pci0 dev 15 function 0: i82558 Ethernet, rev 5
>  fxp1: interrupting at irq 10, event channel 6
>  fxp1: May need receiver lock-up workaround
>  fxp1: Ethernet address 00:90:27:73:97:a1
>  inphy1 at fxp1 phy 1: i82555 10/100 media interface, rev. 0
>  inphy1: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
>  D-Link Systems product 0x4b01 (ethernet network, revision 0x11) at pci0
>  dev 16 function 0 not configured
>=20
> Does that sort of dmesg indicate that the driver not recognizing the
> card?

Yes, "not configured" in a dmesg means that no driver was found to
attach to that hardware.  I'd attempt to modify src/sys/dev/pci/if_sk.c
to attempt an attachment.  Of course if you have solid evidence (or the
preceeding instructions fail) that this is a Broadcom controller, make
the modification to if_bge.c.  In the past (at least on the DFE-530TX+)
D-Link has had a chip fabricated for them (or at least labeled) of a
Realtek 8139-compatible controller, so perhaps this could be a re(4).

	Jonathan Kollasch

--uAKRQypu60I7Lcqm
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (NetBSD)

iD8DBQFEe8wYOjx1ye3hmokRApvNAKCOQvZPA0E8X8M1AaRQxRR8JlT2pACdGBN9
I+s8NyrYDwOTtVE4/Q2EZ8A=
=16ew
-----END PGP SIGNATURE-----

--uAKRQypu60I7Lcqm--