diff options
author | Jeff Garzik <jeff@garzik.org> | 2006-09-21 00:08:25 -0400 |
---|---|---|
committer | Jeff Garzik <jeff@garzik.org> | 2006-09-21 00:08:25 -0400 |
commit | fd8ae94eea9bb4269d6dff1b47b9dc741bd70d0b (patch) | |
tree | 88f81d90021bd38b33622169103988f1e0a66510 /drivers/net/lp486e.c | |
parent | 783c99f42e221217761e9c319838d5533107f7cb (diff) | |
parent | 54caf44da31995df1f51174468fd9e83ca5c67a2 (diff) |
Merge branch 'upstream-fixes' into upstream
Diffstat (limited to 'drivers/net/lp486e.c')
-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 69ff83101107..0258aaca9ed3 100644 --- a/drivers/net/lp486e.c +++ b/drivers/net/lp486e.c | |||
@@ -442,16 +442,16 @@ init_rx_bufs(struct net_device *dev, int num) { | |||
442 | if (rbd) { | 442 | if (rbd) { |
443 | rbd->pad = 0; | 443 | rbd->pad = 0; |
444 | rbd->count = 0; | 444 | rbd->count = 0; |
445 | rbd->skb = dev_alloc_skb(RX_SKB_SIZE); | 445 | rbd->skb = dev_alloc_skb(RX_SKBSIZE); |
446 | if (!rbd->skb) { | 446 | if (!rbd->skb) { |
447 | printk("dev_alloc_skb failed"); | 447 | printk("dev_alloc_skb failed"); |
448 | } | 448 | } |
449 | rbd->next = rfd->rbd; | 449 | rbd->next = rfd->rbd; |
450 | if (i) { | 450 | if (i) { |
451 | rfd->rbd->prev = rbd; | 451 | rfd->rbd->prev = rbd; |
452 | rbd->size = RX_SKB_SIZE; | 452 | rbd->size = RX_SKBSIZE; |
453 | } else { | 453 | } else { |
454 | rbd->size = (RX_SKB_SIZE | RBD_EL); | 454 | rbd->size = (RX_SKBSIZE | RBD_EL); |
455 | lp->rbd_tail = rbd; | 455 | lp->rbd_tail = rbd; |
456 | } | 456 | } |
457 | 457 | ||