Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 71377
b: refs/heads/master
c: feff348
h: refs/heads/master
i:
  71375: 0e3d7bb
v: v3
  • Loading branch information
Don Fry authored and Jeff Garzik committed Oct 18, 2007
1 parent da2cf0c commit 8b4e0af
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: e30d42273bfa907dc06920c53fa3f303783e1e97
refs/heads/master: feff348fc0fe06870a8ec05e78af8ed5cc4c2bdf
3 changes: 3 additions & 0 deletions trunk/drivers/net/pcnet32.c
Original file line number Diff line number Diff line change
Expand Up @@ -1849,6 +1849,9 @@ pcnet32_probe1(unsigned long ioaddr, int shared, struct pci_dev *pdev)
lp->mii_if.mdio_read = mdio_read;
lp->mii_if.mdio_write = mdio_write;

/* napi.weight is used in both the napi and non-napi cases */
lp->napi.weight = lp->rx_ring_size / 2;

#ifdef CONFIG_PCNET32_NAPI
netif_napi_add(dev, &lp->napi, pcnet32_poll, lp->rx_ring_size / 2);
#endif
Expand Down

0 comments on commit 8b4e0af

Please sign in to comment.