This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: KS5000 Ethernet Driver Patch
- From: "Chris Garry" <cgarry at sweeneydesign dot co dot uk>
- To: "Jay Foster" <jay at systech dot com>
- Cc: <ecos-discuss at sources dot redhat dot com>
- Date: Wed, 14 May 2003 17:43:12 +0100
- Subject: [ECOS] Re: KS5000 Ethernet Driver Patch
- Organization: Sweeney Design
- References: <80B97DE95AEED311BA580050047FE98494F556@mail.systech.com>
- Reply-to: "Chris Garry" <cgarry at sweeneydesign dot co dot uk>
Jay,
The symptoms we saw (on the E7T target) were that RedBoot
would only respond to every other ping from the host PC when
built with arm-elf-gcc ver 3.2.1. This wasn't a problem with
ver 2.95.2 or when optimisation was turned off.
The problem turned out to be the optimisation in ver 3.2.1 of the
compiler was much improved and consequently showed up the
missing 'volatile' from three definitions in the ethernet driver.
--
Chris
----- Original Message -----
From: "Jay Foster" <jay@systech.com>
To: <cgarry@sweeneydesign.co.uk>
Cc: <ecos-discuss@sources.redhat.com>
Sent: Wednesday, May 14, 2003 4:20 PM
Subject: KS5000 Ethernet Driver Patch
> Chris,
>
> On 2003-03-20, you submitted a patch for the KS5000 ethernet driver (file
> ks5000_ether.c). The Changelog entry only stated:
> Added volatile to *rxReadPointer, *txDonePointer and
> *txWritePointer's definitions.
>
> I am investigating an ethernet driver bug that may have been fixed by these
> changes. Can you describe the symptoms/bug that these changes fixed?
>
> Jay Foster
> jay@systech.com
>
--
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss