X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=drivers%2Fnet%2Fpcnet.c;h=c028a44a9ecab332d46353ffe27746116da37f50;hb=a6187dccd813920524987792e49ef2feffb213e6;hp=45066c8feafd272ba2b07d81bb5f4ff0735f2d91;hpb=36a9a15b7ab251b65a55a87a13d66b7d968e1d77;p=u-boot diff --git a/drivers/net/pcnet.c b/drivers/net/pcnet.c index 45066c8fea..c028a44a9e 100644 --- a/drivers/net/pcnet.c +++ b/drivers/net/pcnet.c @@ -141,8 +141,7 @@ static int pcnet_check (struct eth_device *dev) } static int pcnet_init (struct eth_device *dev, bd_t * bis); -static int pcnet_send (struct eth_device *dev, volatile void *packet, - int length); +static int pcnet_send(struct eth_device *dev, void *packet, int length); static int pcnet_recv (struct eth_device *dev); static void pcnet_halt (struct eth_device *dev); static int pcnet_probe (struct eth_device *dev, bd_t * bis, int dev_num); @@ -415,8 +414,7 @@ static int pcnet_init (struct eth_device *dev, bd_t * bis) return 0; } -static int pcnet_send (struct eth_device *dev, volatile void *packet, - int pkt_len) +static int pcnet_send(struct eth_device *dev, void *packet, int pkt_len) { int i, status; struct pcnet_tx_head *entry = &lp->tx_ring[lp->cur_tx];