forked from Imagelibrary/rtems
2005-04-26 Joel Sherrill <joel@OARcorp.com>
* network/network.c: Eliminate warnings.
This commit is contained in:
@@ -1,3 +1,7 @@
|
||||
2005-04-26 Joel Sherrill <joel@OARcorp.com>
|
||||
|
||||
* network/network.c: Eliminate warnings.
|
||||
|
||||
2005-02-24 Jay Monkman <jtm@lopingdog.com>
|
||||
|
||||
PR 751/bsps
|
||||
|
||||
@@ -180,15 +180,17 @@ int rtems_at91rm9200_emac_attach (
|
||||
int mtu;
|
||||
int unitnumber;
|
||||
char *unitname;
|
||||
void *p;
|
||||
|
||||
/* an array of receive buffer descriptors */
|
||||
rxbuf_hdrs = (RXBUF_HDR *)&at91rm9200_emac_rxbuf_hdrs;
|
||||
/* an array of receive buffer descriptors -- avoid type punned warning */
|
||||
p = (void *)&at91rm9200_emac_rxbuf_hdrs;
|
||||
rxbuf_hdrs = (RXBUF_HDR *)p;
|
||||
|
||||
/* one transmit buffer, 1536 bytes maximum */
|
||||
txbuf = (char *)&at91rm9200_emac_txbuf;
|
||||
txbuf = (unsigned char *)&at91rm9200_emac_txbuf;
|
||||
|
||||
/* receive buffers starting address */
|
||||
rxbuf = (char *)&at91rm9200_emac_rxbufs;
|
||||
rxbuf = (unsigned char *)&at91rm9200_emac_rxbufs;
|
||||
/*
|
||||
* Parse driver name
|
||||
*/
|
||||
|
||||
@@ -1,3 +1,7 @@
|
||||
2005-04-26 Joel Sherrill <joel@OARcorp.com>
|
||||
|
||||
* network/network.c: Eliminate warnings.
|
||||
|
||||
2005-01-07 Ralf Corsepius <ralf.corsepius@rtems.org>
|
||||
|
||||
* Makefile.am: Eliminate CFLAGS_OPTIMIZE_V.
|
||||
|
||||
@@ -105,7 +105,7 @@ unsigned short cs8900_get_data_block (cs8900_device *cs, unsigned char *data)
|
||||
void cs8900_tx_load (cs8900_device *cs, struct mbuf *m)
|
||||
{
|
||||
int len;
|
||||
short *data;
|
||||
unsigned short *data;
|
||||
int i;
|
||||
|
||||
len = 0;
|
||||
|
||||
Reference in New Issue
Block a user