if_tx.c (37372) | if_tx.c (37618) |
---|---|
1/*- 2 * Copyright (c) 1997 Semen Ustimenko (semen@iclub.nsu.ru) 3 * All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright --- 9 unchanged lines hidden (view full) --- 18 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 19 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 20 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 21 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 22 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 23 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 24 * SUCH DAMAGE. 25 * | 1/*- 2 * Copyright (c) 1997 Semen Ustimenko (semen@iclub.nsu.ru) 3 * All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright --- 9 unchanged lines hidden (view full) --- 18 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 19 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 20 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 21 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 22 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 23 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 24 * SUCH DAMAGE. 25 * |
26 * $Id: if_tx.c,v 1.32 1998/07/03 23:59:09 galv Exp $ | 26 * $Id: if_tx.c,v 1.13 1998/07/04 08:02:46 semenu Exp $ |
27 * 28 */ 29 30/* 31 * EtherPower II 10/100 Fast Ethernet (tx0) 32 * (aka SMC9432TX based on SMC83c170 EPIC chip) 33 * 34 * TODO: --- 1473 unchanged lines hidden (view full) --- 1508 rdesc->bufaddr, 1509 rdesc->buflength, 1510 rdesc->next 1511 ); 1512 } 1513 printf("\ntx%d: dumping tx descriptors",sc->unit); 1514 for(j=0;j<TX_RING_SIZE;j++){ 1515 tdesc = sc->tx_desc + j; | 27 * 28 */ 29 30/* 31 * EtherPower II 10/100 Fast Ethernet (tx0) 32 * (aka SMC9432TX based on SMC83c170 EPIC chip) 33 * 34 * TODO: --- 1473 unchanged lines hidden (view full) --- 1508 rdesc->bufaddr, 1509 rdesc->buflength, 1510 rdesc->next 1511 ); 1512 } 1513 printf("\ntx%d: dumping tx descriptors",sc->unit); 1514 for(j=0;j<TX_RING_SIZE;j++){ 1515 tdesc = sc->tx_desc + j; |
1516 printf("\ndesc%d: %4d 0x%04x, 0x%08x, 0x%04x %4d, 0x%08x, mbuf: 0x%08x", | 1516 printf( 1517 "\ndesc%d: %4d 0x%04x, 0x%08lx, 0x%04x %4u, 0x%08lx, mbuf: %p", |
1517 j, 1518 tdesc->txlength,tdesc->status, | 1518 j, 1519 tdesc->txlength,tdesc->status, |
1519 tdesc->bufaddr, | 1520 (u_long)tdesc->bufaddr, |
1520 tdesc->control,tdesc->buflength, | 1521 tdesc->control,tdesc->buflength, |
1521 tdesc->next, 1522 sc->tx_buffer[j].mbuf | 1522 (u_long)tdesc->next, 1523 (void *)sc->tx_buffer[j].mbuf |
1523 ); 1524 } 1525} 1526#endif /* NPCI > 0 */ | 1524 ); 1525 } 1526} 1527#endif /* NPCI > 0 */ |