diff options
author | Jeff Garzik <jeff@garzik.org> | 2006-09-21 04:06:21 (GMT) |
---|---|---|
committer | Jeff Garzik <jeff@garzik.org> | 2006-09-21 04:06:21 (GMT) |
commit | 8ce90907ea534f10075a9eba5f83d6dd77b39cb6 (patch) | |
tree | f0afaf6ee678a2e6f3c9c1b2a76921e73257e0d9 /drivers/net | |
parent | e478bec0ba0a83a48a0f6982934b6de079e7e6b3 (diff) | |
download | linux-fsl-qoriq-8ce90907ea534f10075a9eba5f83d6dd77b39cb6.tar.xz |
[netdrvr] lp486e: fix typo
inside #if 0'd code, but it bugged me.
Really, we should probably just delete the driver.
Signed-off-by: Jeff Garzik <jeff@garzik.org>
Diffstat (limited to 'drivers/net')
-rw-r--r-- | drivers/net/lp486e.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/net/lp486e.c b/drivers/net/lp486e.c index b783a69..393aba9 100644 --- a/drivers/net/lp486e.c +++ b/drivers/net/lp486e.c @@ -442,16 +442,16 @@ init_rx_bufs(struct net_device *dev, int num) { if (rbd) { rbd->pad = 0; rbd->count = 0; - rbd->skb = dev_alloc_skb(RX_SKB_SIZE); + rbd->skb = dev_alloc_skb(RX_SKBSIZE); if (!rbd->skb) { printk("dev_alloc_skb failed"); } rbd->next = rfd->rbd; if (i) { rfd->rbd->prev = rbd; - rbd->size = RX_SKB_SIZE; + rbd->size = RX_SKBSIZE; } else { - rbd->size = (RX_SKB_SIZE | RBD_EL); + rbd->size = (RX_SKBSIZE | RBD_EL); lp->rbd_tail = rbd; } |