diff options
-rw-r--r-- | drivers/net/ethernet/stmicro/stmmac/stmmac_main.c | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/drivers/net/ethernet/stmicro/stmmac/stmmac_main.c b/drivers/net/ethernet/stmicro/stmmac/stmmac_main.c index fa598b97d710..53db11b29e61 100644 --- a/drivers/net/ethernet/stmicro/stmmac/stmmac_main.c +++ b/drivers/net/ethernet/stmicro/stmmac/stmmac_main.c | |||
@@ -191,14 +191,8 @@ static void stmmac_clk_csr_set(struct stmmac_priv *priv) | |||
191 | 191 | ||
192 | static void print_pkt(unsigned char *buf, int len) | 192 | static void print_pkt(unsigned char *buf, int len) |
193 | { | 193 | { |
194 | int j; | 194 | pr_debug("len = %d byte, buf addr: 0x%p\n", len, buf); |
195 | pr_debug("len = %d byte, buf addr: 0x%p", len, buf); | 195 | print_hex_dump_bytes("", DUMP_PREFIX_OFFSET, buf, len); |
196 | for (j = 0; j < len; j++) { | ||
197 | if ((j % 16) == 0) | ||
198 | pr_debug("\n %03x:", j); | ||
199 | pr_debug(" %02x", buf[j]); | ||
200 | } | ||
201 | pr_debug("\n"); | ||
202 | } | 196 | } |
203 | 197 | ||
204 | /* minimum number of free TX descriptors required to wake up TX process */ | 198 | /* minimum number of free TX descriptors required to wake up TX process */ |