[pok-devel] [10] * libpok/drivers/rtl8029.c |
[ Thread Index |
Date Index
| More lists.tuxfamily.org/pok-devel Archives
]
Revision: 10
Author: julien
Date: 2011-07-31 18:46:27 +0200 (Sun, 31 Jul 2011)
Log Message:
-----------
* libpok/drivers/rtl8029.c
- Fix compilation issues
- Work with the latest version of Ocarina
see http://download.tuxfamily.org/taste
Modified Paths:
--------------
trunk/libpok/drivers/rtl8029.c
Modified: trunk/libpok/drivers/rtl8029.c
===================================================================
--- trunk/libpok/drivers/rtl8029.c 2011-07-31 16:28:10 UTC (rev 9)
+++ trunk/libpok/drivers/rtl8029.c 2011-07-31 16:46:27 UTC (rev 10)
@@ -186,14 +186,15 @@
*/
void rtl8029_write (pok_port_id_t port_id, const void* data, uint32_t len)
{
- uint32_t nbdest;
- uint32_t tmp;
- uint32_t dest;
- pok_ret_t ret;
- char node2[6] = { 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF };
- pok_packet_t packet;
- size_t cpylen = 0;
- size_t sndlen = 0;
+ uint32_t nbdest;
+ uint32_t tmp;
+ uint32_t dest;
+ pok_ret_t ret;
+ char node2[6] = { 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF };
+ pok_packet_t packet;
+ const char* d;
+ size_t cpylen = 0;
+ size_t sndlen = 0;
unsigned char state; // ISR state
ret = pok_port_virtual_nb_destinations (port_id, &nbdest);