Home
last modified time | relevance | path

Searched refs:MAX_RINGSIZE (Results 1 – 2 of 2) sorted by relevance

/linux-2.4.37.9/drivers/net/
Dhp100.h538 #define MAX_RINGSIZE ((MAX_RX_FRAG*8+4+4)*MAX_RX_PDL+(MAX_TX_FRAG*8+4+4)*MAX_TX_PDL)+16 macro
Dhp100.c804 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()