Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 203953
b: refs/heads/master
c: e994762
h: refs/heads/master
i:
  203951: 8296ebf
v: v3
  • Loading branch information
Sriram authored and David S. Miller committed Jul 31, 2010
1 parent 611ef09 commit 0d57762
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 3725b1fe0b9c7e5ba3c4f6e585cd93a7174c1e07
refs/heads/master: e994762f7afef242738b220b48c00a6fd2b165a1
8 changes: 5 additions & 3 deletions trunk/drivers/net/davinci_emac.c
Original file line number Diff line number Diff line change
Expand Up @@ -564,9 +564,11 @@ static void emac_dump_regs(struct emac_priv *priv)

/* Print important registers in EMAC */
dev_info(emac_dev, "EMAC Basic registers\n");
dev_info(emac_dev, "EMAC: EWCTL: %08X, EWINTTCNT: %08X\n",
emac_ctrl_read(EMAC_CTRL_EWCTL),
emac_ctrl_read(EMAC_CTRL_EWINTTCNT));
if (priv->version == EMAC_VERSION_1) {
dev_info(emac_dev, "EMAC: EWCTL: %08X, EWINTTCNT: %08X\n",
emac_ctrl_read(EMAC_CTRL_EWCTL),
emac_ctrl_read(EMAC_CTRL_EWINTTCNT));
}
dev_info(emac_dev, "EMAC: TXID: %08X %s, RXID: %08X %s\n",
emac_read(EMAC_TXIDVER),
((emac_read(EMAC_TXCONTROL)) ? "enabled" : "disabled"),
Expand Down

0 comments on commit 0d57762

Please sign in to comment.