1 /* SPDX-License-Identifier: GPL-2.0 */ 2 #ifndef LINUX_DEVICE_ID_IPACK_H 3 #define LINUX_DEVICE_ID_IPACK_H 4 5 #ifdef __KERNEL__ 6 #include <linux/types.h> 7 #endif 8 9 #define IPACK_ANY_FORMAT 0xff 10 #define IPACK_ANY_ID (~0) 11 struct ipack_device_id { 12 __u8 format; /* Format version or IPACK_ANY_ID */ 13 __u32 vendor; /* Vendor ID or IPACK_ANY_ID */ 14 __u32 device; /* Device ID or IPACK_ANY_ID */ 15 }; 16 17 #endif /* ifndef LINUX_DEVICE_ID_IPACK_H */ 18