[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [microblaze-uclinux] [patch] microblaze ethernet driver
Hi David,
David McCullough wrote:
> Jivin John Williams lays it down ...
>
>>Hi,
>>
>>A fix on the microblaze ethernet driver
>>(drivers/net/xilinx_enet/adapter.c) to get the packet socket interface
>>working. David or Greg, would you please apply?
>
> Applied,
Sorry to be a pain, I borked one of the close comment symbols... fixup
attached.
Thanks,
John
--- /opt/src/uClinux-2.4.x/drivers/net/xilinx_enet/adapter.c 2004-04-01 04:29:51.000000000 +1000
+++ adapter.c 2004-04-01 11:00:18.000000000 +1000
@@ -720,7 +720,7 @@
The solution? Move the packet contents so that the ethernet
header is halfword aligned, thus the IP header is word aligned.
It's not pretty, but it works. JW
- /*
+ */
/* Move the packet data. Earlier code ensured that skb->head
is word aligned, so skb->head+2 will always be halfword aligned */