This is the mail archive of the ecos-patches@sources.redhat.com 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]

RealTek 8139 driver, 3. revision


Hi,


this is the third revision of my 8139 driver, with changes suggested and/or supplied by Gary Thomas and Andy Dyer. The differences to the second revision are:

1. The '_init' function calls cyg_pci_configure_device to take care
   of platforms where the HAL does not configure PCI devices at
   startup.

2. Used the new 'CYGARC_PCI_DMA_ADDRESS' macro instead of
   CYGARC_PHYSICAL_ADDRESS.

3. Added the use of CYGARC_UNCACHED_ADDRESS for those platforms
   where this makes sense. Since not all platforms support this
   (mine doesn't, for instance), also added a
   CYGPKG_DEVS_ETH_RLTK_8139_SOFTWARE_CACHE_COHERENCY that can be set
   in the platform-specific .inl file. If defined, HAL_DCACHE_FLUSH
   is called after copying data to the transmit buffer, and
   HAL_DCACHE_INVALIDATE is called before retrieving data from the
   receive buffer. How to create the buffers so that cache line
   invalidation does not trash adjacent data structures is left as
   an exercise to the reader (since it will be platform specific).

4. Added a function that dumps 8139 register contents when debugging
   the driver.
--
--------------------------------------------------------------------
|     Eric Doenges              |     DynaPel Laboratories GmbH    |
|     Tel: +49 89 962428 23     |     Fraunhoferstrasse 9/2        |
|     Fax: +49 89 962428 90     |     D - 85737 Ismaning, Germany  |
--------------------------------------------------------------------

Attachment: rltk8139.tgz
Description: GNU Unix tar archive


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