From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 18294 invoked by alias); 23 Aug 2004 14:41:48 -0000 Mailing-List: contact ecos-discuss-help@ecos.sourceware.org; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: ecos-discuss-owner@ecos.sourceware.org Received: (qmail 18286 invoked from network); 23 Aug 2004 14:41:48 -0000 Received: from unknown (HELO postoffice.rnd.kontron.pl) (217.153.25.242) by sourceware.org with SMTP; 23 Aug 2004 14:41:48 -0000 Received: from localhost (localhost [127.0.0.1]) by postoffice.rnd.kontron.pl (Postfix) with SMTP id C8AF52EFF for ; Mon, 23 Aug 2004 16:41:44 +0200 (CEST) Received: from [192.168.3.34] (unknown [192.168.3.34]) by postoffice.rnd.kontron.pl (Postfix) with ESMTP id B0D382DDA for ; Mon, 23 Aug 2004 16:41:44 +0200 (CEST) From: jerzy dyrda To: ecos-discuss@sources.redhat.com Date: Mon, 23 Aug 2004 14:41:00 -0000 User-Agent: KMail/1.6.2 MIME-Version: 1.0 Content-Disposition: inline Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Message-Id: <200408231641.46611.jerzy.dyrda@kontron.pl> Subject: [ECOS] problems with rltk8139 driver X-SW-Source: 2004-08/txt/msg00349.txt.bz2 Hi all, I've a custom board based on XScale IXP425. I'm in the process of porting rltk8139 driver on this board. Sending data are ok ( I use ethereal to check), but receive fail. In receive buffer (rltk8139_eth0_rx_ring) miss a few data -about first 20 bytes. In this data should be a receive packet header, because it is zero driver doesn't receive more. Rltk8139_eth0_rx_ring is allocated in cached memory but all reading are done by uncached memory (MMU translate address). I check up on either memory region - it's the same. I think this is not a problem of memory coherency ( I use HAL_DCACHE_INVALIDATE macro and result is the same). It seems to me that chip doesn't copy all datas. -- Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss