summaryrefslogtreecommitdiffstats
path: root/firmware/microblaze/lib
diff options
context:
space:
mode:
authorNick Foster <nick@nerdnetworks.org>2010-07-27 20:11:05 -0700
committerNick Foster <nick@nerdnetworks.org>2010-07-27 20:11:05 -0700
commit9b63845669056ace2ca50a2c406ce6cf3657ec74 (patch)
treeec10b8a0ccd3e7e83b7d65595dc355854fc0a0d7 /firmware/microblaze/lib
parent06b0fc51c92a933d2641395c0b3974bb95df18d0 (diff)
downloaduhd-9b63845669056ace2ca50a2c406ce6cf3657ec74.tar.gz
uhd-9b63845669056ace2ca50a2c406ce6cf3657ec74.tar.bz2
uhd-9b63845669056ace2ca50a2c406ce6cf3657ec74.zip
Ethernet mods for activity LED.
Diffstat (limited to 'firmware/microblaze/lib')
-rw-r--r--firmware/microblaze/lib/eth_mac.c2
-rw-r--r--firmware/microblaze/lib/pic.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/firmware/microblaze/lib/eth_mac.c b/firmware/microblaze/lib/eth_mac.c
index cd0179deb..034a4d494 100644
--- a/firmware/microblaze/lib/eth_mac.c
+++ b/firmware/microblaze/lib/eth_mac.c
@@ -104,7 +104,7 @@ eth_mac_miim_write(int addr, int value)
eth_mac->miitx_data = value;
eth_mac->miicommand = MIIC_WCTRLDATA;
- //printf("MIIM-WRITE ADDR 0x%x VAL 0x%x\n",addr,value);
+// printf("MIIM-WRITE ADDR 0x%x VAL 0x%x\n",addr,value);
while((eth_mac->miistatus & MIIS_BUSY) != 0)
;
}
diff --git a/firmware/microblaze/lib/pic.c b/firmware/microblaze/lib/pic.c
index 4575bd775..e89d2b755 100644
--- a/firmware/microblaze/lib/pic.c
+++ b/firmware/microblaze/lib/pic.c
@@ -44,7 +44,7 @@ pic_init(void)
// uP is level triggered
pic_regs->mask = ~0; // mask all interrupts
- pic_regs->edge_enable = PIC_ONETIME_INT | PIC_PHY_INT;
+ pic_regs->edge_enable = PIC_ONETIME_INT;
pic_regs->polarity = ~0 & ~PIC_PHY_INT; // rising edge
pic_regs->pending = ~0; // clear all pending ints
}