Home | History | Annotate | Download | only in linux
      1 /****************************************************************************
      2  ****************************************************************************
      3  ***
      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.
      9  ***
     10  ***   To edit the content of this header, modify the corresponding
     11  ***   source file (e.g. under external/kernel-headers/original/) then
     12  ***   run bionic/libc/kernel/tools/update_all.py
     13  ***
     14  ***   Any manual change here will be lost the next time this script will
     15  ***   be run. You've been warned!
     16  ***
     17  ****************************************************************************
     18  ****************************************************************************/
     19 #ifndef _LINUX_MISCDEVICE_H
     20 #define _LINUX_MISCDEVICE_H
     21 #include <linux/module.h>
     22 #include <linux/major.h>
     23 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
     24 #define PSMOUSE_MINOR 1
     25 #define MS_BUSMOUSE_MINOR 2
     26 #define ATIXL_BUSMOUSE_MINOR 3
     27 #define ATARIMOUSE_MINOR 5
     28 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
     29 #define SUN_MOUSE_MINOR 6
     30 #define APOLLO_MOUSE_MINOR 7
     31 #define PC110PAD_MINOR 9
     32 #define WATCHDOG_MINOR 130
     33 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
     34 #define TEMP_MINOR 131
     35 #define RTC_MINOR 135
     36 #define EFI_RTC_MINOR 136
     37 #define SUN_OPENPROM_MINOR 139
     38 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
     39 #define DMAPI_MINOR 140
     40 #define NVRAM_MINOR 144
     41 #define SGI_MMTIMER 153
     42 #define STORE_QUEUE_MINOR 155
     43 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
     44 #define I2O_MINOR 166
     45 #define MICROCODE_MINOR 184
     46 #define MWAVE_MINOR 219
     47 #define MPT_MINOR 220
     48 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
     49 #define MISC_DYNAMIC_MINOR 255
     50 #define TUN_MINOR 200
     51 #define HPET_MINOR 228
     52 struct device;
     53 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
     54 struct class_device;
     55 struct miscdevice {
     56  int minor;
     57  const char *name;
     58 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
     59  const struct file_operations *fops;
     60  struct list_head list;
     61  struct device *dev;
     62  struct class_device *class;
     63 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
     64 };
     65 #define MODULE_ALIAS_MISCDEV(minor)   MODULE_ALIAS("char-major-" __stringify(MISC_MAJOR)   "-" __stringify(minor))
     66 #endif
     67