1 /* SPDX-License-Identifier: GPL-2.0 */ 2 #ifndef LINUX_DEVICE_ID_RIO_H 3 #define LINUX_DEVICE_ID_RIO_H 4 5 #ifdef __KERNEL__ 6 #include <linux/types.h> 7 #endif 8 9 /* RapidIO */ 10 11 #define RIO_ANY_ID 0xffff 12 13 /** 14 * struct rio_device_id - RIO device identifier 15 * @did: RapidIO device ID 16 * @vid: RapidIO vendor ID 17 * @asm_did: RapidIO assembly device ID 18 * @asm_vid: RapidIO assembly vendor ID 19 * 20 * Identifies a RapidIO device based on both the device/vendor IDs and 21 * the assembly device/vendor IDs. 22 */ 23 struct rio_device_id { 24 __u16 did, vid; 25 __u16 asm_did, asm_vid; 26 }; 27 28 #endif /* ifndef LINUX_DEVICE_ID_RIO_H */ 29