aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/declance.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/declance.c')
-rw-r--r--drivers/net/declance.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/net/declance.c b/drivers/net/declance.c
index 6ad5796121c8..bbccd741cdbf 100644
--- a/drivers/net/declance.c
+++ b/drivers/net/declance.c
@@ -1,4 +1,4 @@
1/* 1/*
2 * Lance ethernet driver for the MIPS processor based 2 * Lance ethernet driver for the MIPS processor based
3 * DECstation family 3 * DECstation family
4 * 4 *
@@ -158,9 +158,9 @@ MODULE_LICENSE("GPL");
158 158
159/* The DS2000/3000 have a linear 64 KB buffer. 159/* The DS2000/3000 have a linear 64 KB buffer.
160 160
161 * The PMAD-AA has 128 kb buffer on-board. 161 * The PMAD-AA has 128 kb buffer on-board.
162 * 162 *
163 * The IOASIC LANCE devices use a shared memory region. This region as seen 163 * The IOASIC LANCE devices use a shared memory region. This region as seen
164 * from the CPU is (max) 128 KB long and has to be on an 128 KB boundary. 164 * from the CPU is (max) 128 KB long and has to be on an 128 KB boundary.
165 * The LANCE sees this as a 64 KB long continuous memory region. 165 * The LANCE sees this as a 64 KB long continuous memory region.
166 * 166 *
@@ -882,7 +882,7 @@ static int lance_start_xmit(struct sk_buff *skb, struct net_device *dev)
882 skblen = skb->len; 882 skblen = skb->len;
883 883
884 len = skblen; 884 len = skblen;
885 885
886 if (len < ETH_ZLEN) { 886 if (len < ETH_ZLEN) {
887 if (skb_padto(skb, ETH_ZLEN)) 887 if (skb_padto(skb, ETH_ZLEN))
888 return 0; 888 return 0;