[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Commit-gnuradio] r6792 - gnuradio/branches/developers/matt/u2f/firmware
From: |
eb |
Subject: |
[Commit-gnuradio] r6792 - gnuradio/branches/developers/matt/u2f/firmware |
Date: |
Fri, 2 Nov 2007 01:03:55 -0600 (MDT) |
Author: eb
Date: 2007-11-02 01:03:51 -0600 (Fri, 02 Nov 2007)
New Revision: 6792
Modified:
gnuradio/branches/developers/matt/u2f/firmware/eth_driver.c
Log:
temporary checkin w/ reads nop'ed
Modified: gnuradio/branches/developers/matt/u2f/firmware/eth_driver.c
===================================================================
--- gnuradio/branches/developers/matt/u2f/firmware/eth_driver.c 2007-11-02
06:34:29 UTC (rev 6791)
+++ gnuradio/branches/developers/matt/u2f/firmware/eth_driver.c 2007-11-02
07:03:51 UTC (rev 6792)
@@ -91,7 +91,11 @@
static void
ed_check_phy_state(void)
{
- int lansr = eth_mac_miim_read(PHY_LINK_AN);
+#if 0 // FIXME
+ int lansr = eth_mac_miim_read(PHY_LINK_AN); //FIXME put back in
+#else
+ int lansr = LANSR_LINK_GOOD | LANSR_SPEED_1000;
+#endif
eth_link_state_t new_state = LS_UNKNOWN;
int new_speed = S_UNKNOWN;
@@ -184,7 +188,7 @@
eth_mac_miim_write(PHY_INT_CLEAR, ~0); // clear all pending interrupts
eth_mac_miim_write(PHY_INT_MASK, mask); // enable the ones we want
-#if 1
+#if 0
unsigned read_back = eth_mac_miim_read(PHY_INT_MASK);
hal_puts("eth_driver: wr INT_MASK = ");
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Commit-gnuradio] r6792 - gnuradio/branches/developers/matt/u2f/firmware,
eb <=