Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 179790
b: refs/heads/master
c: 98f672c
h: refs/heads/master
v: v3
  • Loading branch information
Mike Frysinger authored and David S. Miller committed Jan 19, 2010
1 parent e1ff624 commit 91e2f6b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 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: 357d46a17e54c9a87e0e6ef3930ff4ab2d232b81
refs/heads/master: 98f672ca9978c6e5997dbe905c91a73593148a7e
5 changes: 3 additions & 2 deletions trunk/drivers/net/bfin_mac.c
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@
#include <asm/dma.h>
#include <linux/dma-mapping.h>

#include <asm/dpmc.h>
#include <asm/blackfin.h>
#include <asm/cacheflush.h>
#include <asm/portmux.h>
Expand Down Expand Up @@ -386,8 +387,8 @@ static int mii_probe(struct net_device *dev)
u32 sclk, mdc_div;

/* Enable PHY output early */
if (!(bfin_read_VR_CTL() & PHYCLKOE))
bfin_write_VR_CTL(bfin_read_VR_CTL() | PHYCLKOE);
if (!(bfin_read_VR_CTL() & CLKBUFOE))
bfin_write_VR_CTL(bfin_read_VR_CTL() | CLKBUFOE);

sclk = get_sclk();
mdc_div = ((sclk / MDC_CLK) / 2) - 1;
Expand Down

0 comments on commit 91e2f6b

Please sign in to comment.