linux-mips
[Top] [All Lists]

Re: Re[2]: dbau1200 ethernet driver?

To: "Ruslan V.Pisarev" <jerry@izmiran.rssi.ru>
Subject: Re: Re[2]: dbau1200 ethernet driver?
From: Pete Popov <ppopov@embeddedalley.com>
Date: Fri, 06 May 2005 09:17:50 -0700
Cc: "'linux-mips@linux-mips.org'" <linux-mips@linux-mips.org>
In-reply-to: <135147936.20050506171259@izmiran.rssi.ru>
Organization: Embedded Alley Solutions, Inc
Original-recipient: rfc822;linux-mips@linux-mips.org
References: <261758805.20050506155322@izmiran.rssi.ru> <E1DU2wJ-0006H6-Bd@real.realitydiluted.com> <135147936.20050506171259@izmiran.rssi.ru>
Reply-to: ppopov@embeddedalley.com
Sender: linux-mips-bounce@linux-mips.org
Here you go, courtesy of AMD:

----
here's the driver and patch and instructions that we use...

# On AMD Alchemy Au1200 eval boards, the SMSC LAN91C111 is the
# network chipset.
unzip -a ../linux26-patches/LAN91C111_Linux_V201.zip smc91111.c -d
drivers/net
unzip -a ../linux26-patches/LAN91C111_Linux_V201.zip smc91111.h -d
drivers/net
patch -p1 < ../linux26-patches/smslan91c111.patch

----

Pete

On Fri, 2005-05-06 at 17:12 +0300, Ruslan V.Pisarev wrote:
> >[In reply to "dbau1200 ethernet driver?" from sjhill@realitydiluted.com 
> ><sjhill@realitydiluted.com> to Ruslan V.Pisarev <jerry@izmiran.rssi.ru>  
> >06/05/2005 16:32]
> 
> >>  There is a smc91c111 network chip on board, so my question is - what
> >> driver is suitable with him? Is it "MIPS AU1000 Ethernet support"
> >> which fails to compile with "error: `NUM_ETH_INTERFACES' undeclared"
> >> (and it must be?) or something different? It seems that I have enabled
> >> all other options for ethernet functionality.
> src> Without having access to a source tree currently, how about you grep
> src> through the 'arch/mips/au1000' directory and friends for the string
> src> NUM_ETH_INTERFACES. I think you will find that each board-specific
> src> setup file is responsible for defining it. Either that, or look in
> src> 'include/asm-mips'. In the future, make sure you grep through all of
> src> the source to find other possible uses or examples.
> 
> Well, problem is something more complicated... At least for me :)
> 
> NUM_ETH_INTERFACES is defined /include/asm-mips/mach-au1x00/au1000.h
> for all machines (au1000 au1100 au1500 au1550) except au1200. I dont
> think that someone forgot to add NUM_ETH_INTERFACES for au1200. And
> even what it means? All these machines have "on-board" ethernet
> controller in processor core, so I think there's no external chip on
> development board. au1200 haven't internal controller and has
> dedicated chip on board...
> 
>  Furtermore, I found now, that Linux 2.4.26 distributed by AMD has an
> additional option CONFIG_AU1XXX_SMC91111 in config for DBAu1200 which
> controls compiling drivers/net/smc91111.c.
>  In 2.6 this file disappeared but we have drivers/net/smc91x.c which
> configures in some arm, ppc, and superh architectures. MIPS knows
> nothing about him. Is it the right file? I suppose it is, but...
> 
>  Am I first who put 2.6 kernel on this board and see that is there no
> drivers for it ? :)
> 
> 
> 
> 
>    ()_()
> --( °,° )---[21398845]-[jerry¤wicomtechnologies.com]-
>   (") (")                 -<The Bat! 3.0.1.33>- -<06/05/2005 16:38>-
> 
> 

Attachment: LAN91C111_Linux_V201.zip
Description: Zip archive

Attachment: smslan91c111.patch
Description: Text Data

<Prev in Thread] Current Thread [Next in Thread>