api: new ID_MM_PORT_TYPE_QMI and ID_MM_PORT_TYPE_MBIM udev hints
It is no longer true that all QMI ports are exposed by the qmi_wwan driver and that all MBIM ports are exposed by the cdc_mbim driver. There are other generic setups that allow exposing these types of ports using different drivers, and usually we can also know the type of port in advance via other means. Therefore, allow adding udev port type hints for QMI and MBIM ports as well.
This commit is contained in:
@@ -213,6 +213,36 @@
|
||||
*/
|
||||
#define ID_MM_PORT_TYPE_AUDIO "ID_MM_PORT_TYPE_AUDIO"
|
||||
|
||||
/**
|
||||
* ID_MM_PORT_TYPE_QMI:
|
||||
*
|
||||
* This is a port-specific tag applied to generic ports that we know in advance
|
||||
* are QMI ports.
|
||||
*
|
||||
* This tag will also prevent other types of probing (e.g. AT, MBIM) on the
|
||||
* port.
|
||||
*
|
||||
* This tag is not required for QMI ports exposed by the qmi_wwan driver.
|
||||
*
|
||||
* Since: 1.16
|
||||
*/
|
||||
#define ID_MM_PORT_TYPE_QMI "ID_MM_PORT_TYPE_QMI"
|
||||
|
||||
/**
|
||||
* ID_MM_PORT_TYPE_MBIM:
|
||||
*
|
||||
* This is a port-specific tag applied to generic ports that we know in advance
|
||||
* are MBIM ports.
|
||||
*
|
||||
* This tag will also prevent other types of probing (e.g. AT, QMI) on the
|
||||
* port.
|
||||
*
|
||||
* This tag is not required for MBIM ports exposed by the cdc_mbim driver.
|
||||
*
|
||||
* Since: 1.16
|
||||
*/
|
||||
#define ID_MM_PORT_TYPE_MBIM "ID_MM_PORT_TYPE_MBIM"
|
||||
|
||||
/**
|
||||
* ID_MM_TTY_BAUDRATE:
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user