1 /****************************************************************************
2 ****************************************************************************
4 *** This header was automatically generated from a Linux kernel header
5 *** of the same name, to make information necessary for userspace to
6 *** call into the kernel available to libc. It contains only constants,
7 *** structures, and macros generated from the original header, and thus,
8 *** contains no copyrightable information.
10 ****************************************************************************
11 ****************************************************************************/
12 #ifndef _LINUX_MISCDEVICE_H
13 #define _LINUX_MISCDEVICE_H
14 #include <linux/module.h>
15 #include <linux/major.h>
17 #define PSMOUSE_MINOR 1
18 #define MS_BUSMOUSE_MINOR 2
19 #define ATIXL_BUSMOUSE_MINOR 3
21 #define ATARIMOUSE_MINOR 5
22 #define SUN_MOUSE_MINOR 6
23 #define APOLLO_MOUSE_MINOR 7
24 #define PC110PAD_MINOR 9
26 #define WATCHDOG_MINOR 130
27 #define TEMP_MINOR 131
29 #define EFI_RTC_MINOR 136
30 #define SUN_OPENPROM_MINOR 139
31 #define DMAPI_MINOR 140
32 #define NVRAM_MINOR 144
33 #define SGI_MMTIMER 153
34 #define STORE_QUEUE_MINOR 155
36 #define MICROCODE_MINOR 184
37 #define MWAVE_MINOR 219
39 #define MISC_DYNAMIC_MINOR 255
42 #define HPET_MINOR 228
50 const struct file_operations *fops;
51 struct list_head list;
53 struct class_device *class;
56 #define MODULE_ALIAS_MISCDEV(minor) MODULE_ALIAS("char-major-" __stringify(MISC_MAJOR) "-" __stringify(minor))