This is the mail archive of the ecos-discuss@sourceware.org mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Intel PRO/1000 gigabit driver question


Unless you have done some rework, eCos does not seem to support two
different ethernet devices. The problem is that each driver assumes it
has complete control over the pci window memory. [ see
pciwindow_mem_alloc(int size) ]
I suggested several years ago
(http://sourceware.org/ml/ecos-discuss/2004-11/msg00191.html) that
this should be broken out of each driver specifically to allow using
different drivers within an application, or other DMA devices. No one
came forward to say if what I was suggesting was crazy. I still think
it is a logical solution. At the time it was a hypothetical problem
for me, which never became a real problem. So I never attempted to
solve it.

David Brennan

On 2/11/08, Gordon Smith <spiderkarma@gmail.com> wrote:
> Hello -
>
> I'm adding support for an Intel Pro/1000 gigabit device (82541GI/PI).
> I'm changing the 82544 low level driver to do this.
>
> I'd like to know if a particular ethernet device can be removed from
> the purview of Redboot.
>
> My i386 target has two ethernet devices.
>   - 82559 (10/100)
>   - 82541 (gigabit)
>
> Redboot starts successfully using the 82559. I can then debug using
> that device if I do not start the 82541.
>
> From past posts I've gathered that the call to
> CYGACC_CALL_IF_DBG_DATA_SET() in the high level ethernet driver init
> function is problematic when using an ethernet device for debugging.
> That is also my experience when I init the 82541 while debugging or
> just loading on the 82559.
>
> My 82541 appears to start (doesn't hang at least) if the serial port
> and only the serial port is used for debugging.
>
> I'd like to use the 82559 for debug and the 82541 separately and
> exclusively for my application ethernet. Is this doable?
>
> Thanks in advance for your thoughts.
>
> Gordon Smith
>
> --
> Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
> and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss
>
>

-- 
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]