projects
/
firefly-linux-kernel-4.4.55.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
siimage: fix wrong ->swdma_mask
[firefly-linux-kernel-4.4.55.git]
/
drivers
/
net
/
smc-ultra32.c
diff --git
a/drivers/net/smc-ultra32.c
b/drivers/net/smc-ultra32.c
index 2c5319c62fa50c520f1762880b7cea57f15aef4d..88a30e56c64ce50c0d62057dc3e9560cf0e4725d 100644
(file)
--- a/
drivers/net/smc-ultra32.c
+++ b/
drivers/net/smc-ultra32.c
@@
-395,8
+395,7
@@
static void ultra32_block_input(struct net_device *dev,
memcpy_fromio(skb->data + semi_count, ei_status.mem + TX_PAGES * 256, count);
}
} else {
- /* Packet is in one chunk -- we can copy + cksum. */
- eth_io_copy_and_sum(skb, xfer_start, count, 0);
+ memcpy_fromio(skb->data, xfer_start, count);
}
}