Home
last modified time | relevance | path

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

/drivers/net/ethernet/i825xx/
Dsun3_82586.c28 static int rfdadd = 0; /* rfdadd=1 may be better for 8K MEM cards */ variable
646 memset((char *) rfd,0,sizeof(struct rfd_struct)*(p->num_recv_buffs+rfdadd)); in alloc_rfa()
649 for(i = 0; i < (p->num_recv_buffs+rfdadd); i++) { in alloc_rfa()
650 rfd[i].next = make16(rfd + (i+1) % (p->num_recv_buffs+rfdadd) ); in alloc_rfa()
653 rfd[p->num_recv_buffs-1+rfdadd].last = RFD_SUSP; /* RU suspend */ in alloc_rfa()
655 ptr = (void *) (rfd + (p->num_recv_buffs + rfdadd) ); in alloc_rfa()
672 p->rfd_last = p->rfd_first + (p->num_recv_buffs - 1 + rfdadd); in alloc_rfa()
Dni52.c104 static int rfdadd; /* rfdadd=1 may be better for 8K MEM cards */ variable
836 sizeof(struct rfd_struct) * (p->num_recv_buffs + rfdadd)); in alloc_rfa()
839 for (i = 0; i < (p->num_recv_buffs + rfdadd); i++) { in alloc_rfa()
840 writew(make16(rfd + (i+1) % (p->num_recv_buffs+rfdadd)), in alloc_rfa()
845 writeb(RFD_SUSP, &rfd[p->num_recv_buffs-1+rfdadd].last); in alloc_rfa()
847 ptr = rfd + (p->num_recv_buffs + rfdadd); in alloc_rfa()
862 p->rfd_last = p->rfd_first + (p->num_recv_buffs - 1 + rfdadd); in alloc_rfa()