net: Fix remaining API interface breakage

These are all the files which use the API incorrectly but did not get
built using MAKEALL -a powerpc|arm.  I have no compiler for them, but
the remaining issues should be far less than without this patch.

Any outstanding issues are left to the maintainers of boards that use
these drivers.

Signed-off-by: Joe Hershberger <joe.hershberger@ni.com>
This commit is contained in:
Joe Hershberger
2012-05-22 18:36:19 +00:00
parent d1527b55f5
commit 10cbe3b6a4
29 changed files with 41 additions and 64 deletions

View File

@@ -2397,8 +2397,7 @@ fail:
return -1;
}
static int usb_eth_send(struct eth_device *netdev,
volatile void *packet, int length)
static int usb_eth_send(struct eth_device *netdev, void *packet, int length)
{
int retval;
void *rndis_pkt = NULL;
@@ -2419,11 +2418,11 @@ static int usb_eth_send(struct eth_device *netdev,
}
rndis_add_hdr(rndis_pkt, length);
memcpy(rndis_pkt + sizeof(struct rndis_packet_msg_type),
(void *)packet, length);
packet, length);
packet = rndis_pkt;
length += sizeof(struct rndis_packet_msg_type);
}
req->buf = (void *)packet;
req->buf = packet;
req->context = NULL;
req->complete = tx_complete;