Completed integration of TFE driver into Contiki for the Apple2:
- Although there's currently only one packet driver available it's name is user-configurable ... it's so cool to have (un-)loadable drivers ;-)
- The configedit app doesn't read in the config file. Instead it get's the current values from the running system. For the packet driver name this means to extract it from the process list (assuming the name "Packet driver: xxx"). This menas that even if you kill a packet driver and load a different one via "run program ..." the configedit app will still show the true status.
- The changes to the cs8900a code are 100% untested so "expect the unexpected" ;-)
diff --git a/contiki-apple2/uip/cs8900a.h b/contiki-apple2/uip/cs8900a.h
index 5f7023a..2beae51 100644
--- a/contiki-apple2/uip/cs8900a.h
+++ b/contiki-apple2/uip/cs8900a.h
@@ -30,7 +30,7 @@
  * 
  * Author: Adam Dunkels <adam@sics.se>
  *
- * $Id: cs8900a.h,v 1.1 2005/01/22 02:56:00 oliverschmidt Exp $
+ * $Id: cs8900a.h,v 1.2 2005/01/26 21:33:30 oliverschmidt Exp $
  */
 #ifndef __CS8900A_H__
 #define __CS8900A_H__
@@ -39,6 +39,6 @@
 
 void cs8900a_init(void);
 void cs8900a_send(void);
-u8_t cs8900a_poll(void);
+u16_t cs8900a_poll(void);
 
 #endif /* __CS8900A_H__ */