|
|
|
|
419
|
ETH_ALEN/2);
|
419
|
ETH_ALEN/2);
|
420
|
outw(((t >> 8)&0xFF)|(t << 8), eth_nic_base + TX_FRAME_PORT);
|
420
|
outw(((t >> 8)&0xFF)|(t << 8), eth_nic_base + TX_FRAME_PORT);
|
421
|
outsw(eth_nic_base + TX_FRAME_PORT, p, (s+1)/2);
|
421
|
outsw(eth_nic_base + TX_FRAME_PORT, p, (s+1)/2);
|
422
|
- for (sr = sr/2 - (s+1)/2 - ETH_ALEN - 1; sr-- > 0;
|
|
|
423
|
- outw(0, eth_nic_base + TX_FRAME_PORT));
|
|
|
|
|
422
|
+ for (sr = sr/2 - (s+1)/2 - ETH_ALEN - 1; sr > 0; sr--)
|
|
|
423
|
+ outw(0, eth_nic_base + TX_FRAME_PORT);
|
424
|
|
424
|
|
425
|
/* wait for transfer to succeed */
|
425
|
/* wait for transfer to succeed */
|
426
|
for (tmo = currticks()+5*TICKS_PER_SEC;
|
426
|
for (tmo = currticks()+5*TICKS_PER_SEC;
|