Subject: Re: Question about pcn ethernet driver
To: None <port-powerpc@netbsd.org>
From: Juergen Hannken-Illjes <hannken@eis.cs.tu-bs.de>
List: port-powerpc
Date: 04/17/2003 21:59:43
On Thu, Apr 17, 2003 at 11:22:09AM -0700, John Gordon wrote:
> Hello folks,
> 
> Can anybody out there confirm that they have the pcn driver for the AMD
> PCnet-PCI series of chips working on PPC? 

Sure, from the dmesg of EXPLORA451 (PPC403GCX + AM79C971):

	le0 at elb0 irq 28
	le0: address 00:00:a7:02:c7:87
	le0: 8 receive buffers, 2 transmit buffers

The corresponding driver glue is in file sys/arch/evbppc/explora/dev/le_elb.c

> So far, I having confirmed that the interrupt routing on the board is correct
> (the interrupt handler in the driver is being called when I ping the board). I
> also fixed a problem with the ethernet address being incorrect in the PROM
> (luckily it is already in the physical address registers from the boot
> firmware). But still I get no connection.
> 
> I have traced the incoming packets up into the stack too, and sure enough I see
> the ARP request come in, and I see the ether_output() function queue up a
> reply. I also see the outbound packet count increment in the transmit interrupt
> handler.
> 
> Running arp -a on my host shows the entry for the NS1000 as incomplete. Even
> manually assigning the ethernet address on the host doesn't make the connection
> work, so I am very suspicious of the packets being generated. As I type this, I
> am installing ethereal in the hope that I can see something obviously wrong in
> the packets. I thought I'd ask though whether this driver had ever been used on
> a PPC system before.
> 
> Rgds,
> John...
> 
> =====
> Rate Corporate America at http://exec-ratings.bluedonkey.org
> 
> __________________________________________________
> Do you Yahoo!?
> The New Yahoo! Search - Faster. Easier. Bingo
> http://search.yahoo.com

-- 
Juergen Hannken-Illjes - hannken@eis.cs.tu-bs.de - TU Braunschweig (Germany)