SER_ERR_INIT_FAILED             ; Initialization failed
         SER_ERR_INV_IOCTL               ; IOCTL not supported
         SER_ERR_INSTALLED               ; A driver is already installed
+        SER_ERR_NOT_OPEN                ; Driver not open
 
         SER_ERR_COUNT                   ; Special: Number of error codes
 .endenum
 
 #define SER_ERR_INIT_FAILED     0x08    /* Initialization failed */
 #define SER_ERR_INV_IOCTL       0x09    /* IOCTL not supported */
 #define SER_ERR_INSTALLED       0x0A    /* A driver is already installed */
+#define SER_ERR_NOT_OPEN        0x0B    /* Driver is not open */
 
 /* Struct containing parameters for the serial port */
 struct ser_params {