rewrite the device subsystem interfaces (#48)
[lunaix-os.git] / lunaix-os / includes / hal / serial.h
index f65fd08aa74483dcb8422990da737f6d3a20b53a..ba2185c96ef35a1349e47b1844ba199624566c8b 100644 (file)
@@ -6,6 +6,7 @@
 #include <lunaix/ds/mutex.h>
 #include <lunaix/ds/waitq.h>
 #include <lunaix/ds/rbuffer.h>
+#include <hal/term.h>
 
 #include <usr/lunaix/serial.h>
 
@@ -33,6 +34,8 @@ struct serial_dev
     struct rbuffer rxbuf;
     int wr_len;
 
+    struct termport_potens* tp_cap;
+
     /**
      * @brief Write buffer to TX. The return code indicate
      * the transaction is either done in synced mode (TX_DONE) or will be