diff options
| author | Grissiom <[email protected]> | 2013-08-20 10:16:55 +0800 |
|---|---|---|
| committer | Grissiom <[email protected]> | 2013-08-20 10:16:55 +0800 |
| commit | 7e68096a88aaa9279507df54da191893be99f7df (patch) | |
| tree | c4ee4a8137ab43d630c3c28f2965cfdaafad4c2e /include/rtdef.h | |
| parent | 0340300f89a924b30fd8042b76686a236720d3d7 (diff) | |
dev/pipe: make pipe a type of device
Pipe have many differences with char device. The main difference is
altough pipe have both read and write, it is unidirectional in nature.
Diffstat (limited to 'include/rtdef.h')
| -rw-r--r-- | include/rtdef.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/rtdef.h b/include/rtdef.h index a3d13bfc44..6caf713f45 100644 --- a/include/rtdef.h +++ b/include/rtdef.h @@ -739,6 +739,7 @@ enum rt_device_class_type RT_Device_Class_SPIDevice, /**< SPI device */ RT_Device_Class_SDIO, /**< SDIO bus device */ RT_Device_Class_PM, /**< PM pseudo device */ + RT_Device_Class_Pipe, /**< Pipe device */ RT_Device_Class_Miscellaneous, /**< Miscellaneous device */ RT_Device_Class_Unknown /**< unknown device */ }; |
