hc
2023-12-08 01573e231f18eb2d99162747186f59511f56b64d
kernel/include/linux/miscdevice.h
....@@ -7,9 +7,9 @@
77 #include <linux/device.h>
88
99 /*
10
- * These allocations are managed by device@lanana.org. If you use an
11
- * entry that is not in assigned your entry may well be moved and
12
- * reassigned, or set dynamic if a fixed value is not justified.
10
+ * These allocations are managed by device@lanana.org. If you need
11
+ * an entry that is not assigned here, it can be moved and
12
+ * reassigned or dynamically set if a fixed value is not justified.
1313 */
1414
1515 #define PSMOUSE_MINOR 1
....@@ -25,19 +25,31 @@
2525 #define TEMP_MINOR 131 /* Temperature Sensor */
2626 #define APM_MINOR_DEV 134
2727 #define RTC_MINOR 135
28
-#define EFI_RTC_MINOR 136 /* EFI Time services */
28
+/*#define EFI_RTC_MINOR 136 was EFI Time services */
2929 #define VHCI_MINOR 137
3030 #define SUN_OPENPROM_MINOR 139
3131 #define DMAPI_MINOR 140 /* unused */
3232 #define NVRAM_MINOR 144
33
+#define SBUS_FLASH_MINOR 152
3334 #define SGI_MMTIMER 153
35
+#define PMU_MINOR 154
3436 #define STORE_QUEUE_MINOR 155 /* unused */
37
+#define LCD_MINOR 156
38
+#define AC_MINOR 157
39
+#define BUTTON_MINOR 158 /* Major 10, Minor 158, /dev/nwbutton */
40
+#define NWFLASH_MINOR 160 /* MAJOR is 10 - miscdevice */
41
+#define ENVCTRL_MINOR 162
3542 #define I2O_MINOR 166
43
+#define UCTRL_MINOR 174
44
+#define AGPGART_MINOR 175
45
+#define TOSH_MINOR_DEV 181
3646 #define HWRNG_MINOR 183
3747 #define MICROCODE_MINOR 184
48
+#define KEYPAD_MINOR 185
3849 #define IRNET_MINOR 187
3950 #define D7S_MINOR 193
4051 #define VFIO_MINOR 196
52
+#define PXA3XX_GCU_MINOR 197
4153 #define TUN_MINOR 200
4254 #define CUSE_MINOR 203
4355 #define MWAVE_MINOR 219 /* ACP/Mwave Modem */
....@@ -48,6 +60,7 @@
4860 #define MISC_MCELOG_MINOR 227
4961 #define HPET_MINOR 228
5062 #define FUSE_MINOR 229
63
+#define SNAPSHOT_MINOR 231
5164 #define KVM_MINOR 232
5265 #define BTRFS_MINOR 234
5366 #define AUTOFS_MINOR 235
....@@ -80,14 +93,14 @@
8093
8194 /*
8295 * Helper macro for drivers that don't do anything special in the initcall.
83
- * This helps in eleminating of boilerplate code.
96
+ * This helps to eliminate boilerplate code.
8497 */
8598 #define builtin_misc_device(__misc_device) \
8699 builtin_driver(__misc_device, misc_register)
87100
88101 /*
89102 * Helper macro for drivers that don't do anything special in module init / exit
90
- * call. This helps in eleminating of boilerplate code.
103
+ * call. This helps to eliminate boilerplate code.
91104 */
92105 #define module_misc_device(__misc_device) \
93106 module_driver(__misc_device, misc_register, misc_deregister)