Subject: Re: Adding a new MII device
To: Martti Kuparinen <martti.kuparinen@iki.fi>
From: Frank van der Linden <fvdl@wasabisystems.com>
List: tech-kern
Date: 04/22/2002 13:24:40
On Mon, Apr 22, 2002 at 02:20:35PM +0300, Martti Kuparinen wrote:
> My non-kernel-hacker friend has a new HomePNA card which is not detected
> correctly (or it looks like the PHY is not detected) in NetBSD/i386 1.5ZC:
> 
> Advanced Micro Devices PCnet-Home HomePNA Ethernet (ethernet network, revision 0x52) at pci0 dev 12 function 0 not configured
> 
> Is it enought to define line in miidevs with 0x000c (is "dev 12" the
> ID of this missing PHY?) as the ID, regenerate miidevs.h and add the
> new entry to pnaphy.c?
> 
> I want to make this work and add support for the new card in -current
> before 1.6 is branched...

This output is generated by a PCI device that is found, but not
present in the kernel config, it has nothing to do with any possible
PHY.  Looks like you just need to add

le*     at pci? dev ? function ?

..to the kernel config.

- Frank

-- 
Frank van der Linden                           fvdl@wasabisystems.com
======================================================================
Quality NetBSD CDs, Support & Service.   http://www.wasabisystems.com/