From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 20981 invoked by alias); 22 Oct 2008 14:59:41 -0000 Received: (qmail 20971 invoked by uid 22791); 22 Oct 2008 14:59:41 -0000 X-Spam-Status: No, hits=-1.1 required=5.0 tests=AWL,BAYES_50,RCVD_IN_DNSWL_LOW X-Spam-Check-By: sourceware.org Received: from smtp-01.vtx.ch (HELO smtp-01.vtx.ch) (212.147.0.84) by sourceware.org (qpsmtpd/0.31) with ESMTP; Wed, 22 Oct 2008 14:59:01 +0000 Received: from [127.0.0.1] (dyn.83-228-181-132.dsl.vtx.ch [83.228.181.132]) by smtp-01.vtx.ch (VTX Services SA) with ESMTP id 2CBD72803F for ; Wed, 22 Oct 2008 16:58:58 +0200 (CEST) Message-ID: <48FF3FE1.6080309@snr.ch> Date: Wed, 22 Oct 2008 14:59:00 -0000 From: "Oliver Munz @ SNR" Reply-To: oli@snr.ch Organization: SNR User-Agent: Thunderbird 2.0.0.17 (Windows/20080914) MIME-Version: 1.0 To: "ecos-devel@sourceware.org" Subject: If i need a supportet microcontroller with a new ethernet PHY... Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit X-Antivirus: avast! (VPS 081022-0, 22.10.2008), Outbound message X-Antivirus-Status: Clean Mailing-List: contact ecos-devel-help@ecos.sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: ecos-devel-owner@ecos.sourceware.org X-SW-Source: 2008-10/txt/msg00001.txt.bz2 ... then i have to rewrite the void hal_plf_eth_init(void). I can make a new platform-variant for this, but may be there is a better solution like: make the hal_plf_eth_init PHY-dependent or make it configurable defined as external or something like this... The problem is, that every PHY has other initalisation requirements. And furthermore its a question of the concrete hardware what the CPU has to do to bring it to work. So the hal_plf_eth_init depens on the PHY, the ethernet and microcontroller and the concret circuit... What is the best way to use a special hal_plf_eth_init()?