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:42:56
On Mon, Apr 22, 2002 at 02:38:43PM +0300, Martti Kuparinen wrote:
> > le*     at pci? dev ? function ?
> 
> It's already in the config file (INSTALL)...

Oh, I see. Neither le nor pcn (I guess the latter should be used
these days) matches the PCNet 'home' PCI id. Apply this diff:


Index: if_pcn.c
===================================================================
RCS file: /cvsroot/syssrc/sys/dev/pci/if_pcn.c,v
retrieving revision 1.8
diff -c -r1.8 if_pcn.c
*** if_pcn.c	2002/01/29 04:45:47	1.8
--- if_pcn.c	2002/04/22 11:48:59
***************
*** 528,533 ****
--- 528,534 ----
  
  	switch (PCI_PRODUCT(pa->pa_id)) {
  	case PCI_PRODUCT_AMD_PCNET_PCI:
+ 	case PCI_PRODUCT_AMD_PCNET_HOME:
  		/* Beat if_le_pci.c */
  		return (10);
  	}

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