This is the mail archive of the ecos-bugs@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]

[Bug 1000808] New: SMSC LAN91CXX endian handling


http://bugs.ecos.sourceware.org/show_bug.cgi?id=1000808

           Summary: SMSC LAN91CXX endian handling
           Product: eCos
           Version: 3.0
          Platform: Other (please specify)
        OS/Version: PowerPC
            Status: UNCONFIRMED
          Severity: enhancement
          Priority: normal
         Component: Ethernet
        AssignedTo: gary@mlbassoc.com
        ReportedBy: leiss@movex.de
         QAContact: ecos-bugs@ecos.sourceware.org
             Class: ---


Created an attachment (id=769)
 --> (http://bugs.ecos.sourceware.org/attachment.cgi?id=769)
SMSC LAN91CXX endian support diff

Hi eCos maintainers,

using lan91cxx driver in combination with PowerPC and big endian doesn't work
correctly on specific targets boards as there is no endian switching done on
the receive side of the driver. This topic was mentioned/related in bug#
1000761 but we decided to create a single ticket to keep the process clean.

lan91cxx.h:
- "static __inline__ void put_data" now includes endian switching macro, just
for simplification
-  "static __inline__ rxd_t get_data" macro for endian switching added

if_lan91cxx.c:
- "cyg_uint16 get_data_short" macro for endian switching added
- "static void lan91cxx_send" endian handling macros removed, now integrated in
lan91cxx.h

Best regards,

Karl Leiss


-- 
Configure bugmail: http://bugs.ecos.sourceware.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.


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