* Big Endian PCI driver
@ 2006-11-02 5:07 Patel, Shalin
2006-11-02 5:15 ` Stephen Hemminger
0 siblings, 1 reply; 2+ messages in thread
From: Patel, Shalin @ 2006-11-02 5:07 UTC (permalink / raw)
To: netdev
Hi,
I am trying to run PCI based Ethernet card (RTL 8139) on a big endian
host.
The pci controller that I have does not have any mechanism for swapping
the Big Endian data to Little Endian. While running the 8139too.c driver
I see that the data generated on the line is Endian swapped.
In the data sheet of RTL 8139 I could not find any BSWAP bit neither the
8139too.c driver does any swapping of data while transmitting or
receiving. However, if I change the driver to swap data before
transmitting and after receiving I am able to get it working.
Does the RTL 8139 driver in 2.6.10 support Big Endian? Is there any
other Ethernet card driver which supports big endian host (with a PCI
controller which does not support byte swapping)?
Thanks,
Shalin Patel
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Big Endian PCI driver
2006-11-02 5:07 Big Endian PCI driver Patel, Shalin
@ 2006-11-02 5:15 ` Stephen Hemminger
0 siblings, 0 replies; 2+ messages in thread
From: Stephen Hemminger @ 2006-11-02 5:15 UTC (permalink / raw)
To: Patel, Shalin; +Cc: netdev
On Thu, 2 Nov 2006 10:37:20 +0530
"Patel, Shalin" <shalinip@ti.com> wrote:
>
> Hi,
>
> I am trying to run PCI based Ethernet card (RTL 8139) on a big endian
> host.
>
> The pci controller that I have does not have any mechanism for swapping
> the Big Endian data to Little Endian. While running the 8139too.c driver
> I see that the data generated on the line is Endian swapped.
>
> In the data sheet of RTL 8139 I could not find any BSWAP bit neither the
> 8139too.c driver does any swapping of data while transmitting or
> receiving. However, if I change the driver to swap data before
> transmitting and after receiving I am able to get it working.
>
> Does the RTL 8139 driver in 2.6.10 support Big Endian? Is there any
> other Ethernet card driver which supports big endian host (with a PCI
> controller which does not support byte swapping)?
>
> Thanks,
> Shalin Patel
Skge does the byte swapping in hardware on the card.
Sky2 it was easier to do the byte swapping in software. It isn't hard
to do it in software.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2006-11-02 5:16 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-11-02 5:07 Big Endian PCI driver Patel, Shalin
2006-11-02 5:15 ` Stephen Hemminger
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).