On 2007-10-10, Bastian Blank <[EMAIL PROTECTED]> wrote: > The attached patch should apply on the pruned version.
Applies but does not compile: tg3.c: In function âtg3_reset_hwâ: tg3.c:5399: error: âTG3_TSO5_FW_TEXT_LENâ undeclared (first use in this function) tg3.c:5399: error: (Each undeclared identifier is reported only once tg3.c:5399: error: for each function it appears in.) tg3.c:5400: error: âTG3_TSO5_FW_RODATA_LENâ undeclared (first use in this function) tg3.c:5401: error: âTG3_TSO5_FW_DATA_LENâ undeclared (first use in this function) tg3.c:5402: error: âTG3_TSO5_FW_SBSS_LENâ undeclared (first use in this function) tg3.c:5403: error: âTG3_TSO5_FW_BSS_LENâ undeclared (first use in this function) The offending code is: /* Initialize MBUF/DESC pool. */ if (tp->tg3_flags2 & TG3_FLG2_5750_PLUS) { /* Do nothing. */ } else if (GET_ASIC_REV(tp->pci_chip_rev_id) != ASIC_REV_5705) { [...] } else if (tp->tg3_flags2 & TG3_FLG2_TSO_CAPABLE) { int fw_len; fw_len = (TG3_TSO5_FW_TEXT_LEN + TG3_TSO5_FW_RODATA_LEN + TG3_TSO5_FW_DATA_LEN + TG3_TSO5_FW_SBSS_LEN + TG3_TSO5_FW_BSS_LEN); fw_len = (fw_len + (0x80 - 1)) & ~(0x80 - 1); tw32(BUFMGR_MB_POOL_ADDR, NIC_SRAM_MBUF_POOL_BASE5705 + fw_len); tw32(BUFMGR_MB_POOL_SIZE, NIC_SRAM_MBUF_POOL_SIZE5705 - fw_len - 0xa00); } -- Robert Edmonds [EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]