Searched refs:MAX_RINGSIZE (Results 1 – 2 of 2) sorted by relevance
/linux-2.4.37.9/drivers/net/ |
D | hp100.h | 538 #define MAX_RINGSIZE ((MAX_RX_FRAG*8+4+4)*MAX_RX_PDL+(MAX_TX_FRAG*8+4+4)*MAX_TX_PDL)+16 macro
|
D | hp100.c | 804 if ((lp->page_vaddr_algn = pci_alloc_consistent(lp->pci_dev, MAX_RINGSIZE, &page_baddr)) == NULL) in hp100_probe1() 809 …%x to 0x%x\n", dev->name, (u_int) lp->page_vaddr_algn, (u_int) lp->page_vaddr_algn + MAX_RINGSIZE); in hp100_probe1() 1238 memset(lp->page_vaddr_algn, 0, MAX_RINGSIZE); /* Zero Rx/Tx ring page */ in hp100_init_pdls() 2964 …pci_free_consistent(p->pci_dev, MAX_RINGSIZE + 0x0f, p->page_vaddr_algn, virt_to_whatever(d, p->pa… in release_dev()
|