This is the mail archive of the ecos-bugs@sourceware.org mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug 1000910] New port: Ethernet over SPI driver for ENC424J600


Please do not reply to this email. Use the web interface provided at:
http://bugs.ecos.sourceware.org/show_bug.cgi?id=1000910

Ilija Stanislevik <ilijas@siva.com.mk> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Attachment #1032|0                           |1
        is obsolete|                            |

--- Comment #9 from Ilija Stanislevik <ilijas@siva.com.mk> 2011-02-17 09:23:01 GMT ---
Created an attachment (id=1131)
 --> (http://bugs.ecos.sourceware.org/attachment.cgi?id=1131)
Updated enc424j600 Ethernet driver. Extract in packages/devs/eth.

enc424j600_eth_drivers.cdl: 

Interrupt vector for SPI Ethernet device is now taken from HAL, if defined
there. Otherwise it is again up to the user to supply one here.

Interrupt vector and priority components are rearranged to appear lower in
configtool in order to be closer to HAL components parented here, if any.

enc424j600_spi.c:

Bugfix: enc424j600_spi_can_send() used to return "NO" when link is off. This is
not necessary and even sometimes causes troubles with tcp/ip. Now "NO" is
returned only when tx buffer is busy.

enc424j600_spi_init() does not loop infinitely anymore if there is no Ethernet
chip on SPI. Instead it tries finite number of times and CYG_FAILs (or returns
false) if there is no chip. The same mechanism is later implemented for
checking if the enc424j600's clock is ready. Number of retries and time between
retries are #defined in the source. Should they go to cdl?

The diag_printf of fatal errors is changed into CYG_FAIL.

Behavior of read_from_rx_buffer() is changed. Now it allows discarding unneeded
contents of rx buffer. This is used to somewhat decrease the usage of stack in
enc424j600_spi_RXevent().

-- 
Configure bugmail: http://bugs.ecos.sourceware.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]