xref: /linux/include/linux/device-id/ap.h (revision 546b928da0427b0d6c663cbb992bd7bfa9ac7971)
1 /* SPDX-License-Identifier: GPL-2.0 */
2 #ifndef LINUX_DEVICE_ID_AP_H
3 #define LINUX_DEVICE_ID_AP_H
4 
5 #ifdef __KERNEL__
6 #include <linux/types.h>
7 #endif
8 
9 #define AP_DEVICE_ID_MATCH_CARD_TYPE		0x01
10 #define AP_DEVICE_ID_MATCH_QUEUE_TYPE		0x02
11 
12 /* s390 AP bus devices */
13 struct ap_device_id {
14 	__u16 match_flags;	/* which fields to match against */
15 	__u8 dev_type;		/* device type */
16 };
17 
18 #endif /* ifndef LINUX_DEVICE_ID_AP_H */
19