Subject: etherH in NetBSD-current
To: None <port-arm32@NetBSD.ORG>
From: Stefan Voss <voss@yoda.in-berlin.de>
List: port-arm32
Date: 05/02/1997 08:26:45
Hi folks,

I successfully sup'ed ksrc-common and ksrc-arm32 to create an up-to-date
kernel with etherH support. After booting the new kernel I got "podule8:
not configured" again. podulebus/podules and my config file looked ok so I
peeked a little into the etherH code.

I think the reason for not configuring my etherH card is that the attach
code is only testing for the existence of a PODULE_ICUBED_ETHERH device
instead of testing all I-Cubed devices. Here's the code from
podulebus/if_eh.c:

  int
  ehprobe(parent, match, aux)
	  struct device *parent;
	  void *match;
	  void *aux;
  {
	  struct podule_attach_args *pa = (void *) aux;

  /* Look for a network slot interface */

	  if (matchpodule(pa, MANUFACTURER_ICUBED, PODULE_ICUBED_ETHERH, -1) == 0)
		  return(0);

	  return(1);
  }

Is there any reason why other I-cubed cards (e.g.
PODULE_ICUBED_ETHERHFLASH) are left out despite being mentioned in
podulebus/podules? The ehattach code works ok for
PODULE_ICUBED_ETHERHFLASH as well.

Regards,
   Stefan
 
-- 
Stefan Voss
(voss@yoda.in-berlin.de)