add SER_ERR_NOT_OPEN status code

This commit is contained in:
Christian Groessler 2013-12-06 20:10:27 +01:00
parent 0a8efc9fc3
commit 367ab2d531
2 changed files with 2 additions and 0 deletions

View File

@ -48,6 +48,7 @@
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

View File

@ -111,6 +111,7 @@
#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 {