1 /* SPDX-License-Identifier: GPL-2.0 */ 2 #ifndef LINUX_DEVICE_ID_ZORRO_H 3 #define LINUX_DEVICE_ID_ZORRO_H 4 5 #ifdef __KERNEL__ 6 #include <linux/types.h> 7 typedef unsigned long kernel_ulong_t; 8 #endif 9 10 #define ZORRO_WILDCARD (0xffffffff) /* not official */ 11 12 #define ZORRO_DEVICE_MODALIAS_FMT "zorro:i%08X" 13 14 struct zorro_device_id { 15 __u32 id; /* Device ID or ZORRO_WILDCARD */ 16 kernel_ulong_t driver_data; /* Data private to the driver */ 17 }; 18 19 #endif /* ifndef LINUX_DEVICE_ID_ZORRO_H */ 20