blob: eb883873b581b21181a12b4061120d6d351c5305 [file] [log] [blame]
The Android Open Source Project1dc9e472009-03-03 19:28:35 -08001/****************************************************************************
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 ***
Ben Cheng654325d2012-03-07 21:13:49 -080010 *** 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 ***
The Android Open Source Project1dc9e472009-03-03 19:28:35 -080017 ****************************************************************************
18 ****************************************************************************/
19#ifndef _LINUX_MISCDEVICE_H
20#define _LINUX_MISCDEVICE_H
21#include <linux/module.h>
22#include <linux/major.h>
Ben Cheng654325d2012-03-07 21:13:49 -080023/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
The Android Open Source Project1dc9e472009-03-03 19:28:35 -080024#define PSMOUSE_MINOR 1
25#define MS_BUSMOUSE_MINOR 2
26#define ATIXL_BUSMOUSE_MINOR 3
The Android Open Source Project1dc9e472009-03-03 19:28:35 -080027#define ATARIMOUSE_MINOR 5
Ben Cheng654325d2012-03-07 21:13:49 -080028/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
The Android Open Source Project1dc9e472009-03-03 19:28:35 -080029#define SUN_MOUSE_MINOR 6
30#define APOLLO_MOUSE_MINOR 7
31#define PC110PAD_MINOR 9
The Android Open Source Project1dc9e472009-03-03 19:28:35 -080032#define WATCHDOG_MINOR 130
Ben Cheng654325d2012-03-07 21:13:49 -080033/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
The Android Open Source Project1dc9e472009-03-03 19:28:35 -080034#define TEMP_MINOR 131
35#define RTC_MINOR 135
36#define EFI_RTC_MINOR 136
37#define SUN_OPENPROM_MINOR 139
Ben Cheng654325d2012-03-07 21:13:49 -080038/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
The Android Open Source Project1dc9e472009-03-03 19:28:35 -080039#define DMAPI_MINOR 140
40#define NVRAM_MINOR 144
41#define SGI_MMTIMER 153
42#define STORE_QUEUE_MINOR 155
Ben Cheng654325d2012-03-07 21:13:49 -080043/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
The Android Open Source Project1dc9e472009-03-03 19:28:35 -080044#define I2O_MINOR 166
45#define MICROCODE_MINOR 184
46#define MWAVE_MINOR 219
47#define MPT_MINOR 220
Ben Cheng654325d2012-03-07 21:13:49 -080048/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
The Android Open Source Project1dc9e472009-03-03 19:28:35 -080049#define MISC_DYNAMIC_MINOR 255
The Android Open Source Project1dc9e472009-03-03 19:28:35 -080050#define TUN_MINOR 200
51#define HPET_MINOR 228
The Android Open Source Project1dc9e472009-03-03 19:28:35 -080052struct device;
Ben Cheng654325d2012-03-07 21:13:49 -080053/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
The Android Open Source Project1dc9e472009-03-03 19:28:35 -080054struct class_device;
The Android Open Source Project1dc9e472009-03-03 19:28:35 -080055struct miscdevice {
56 int minor;
57 const char *name;
Ben Cheng654325d2012-03-07 21:13:49 -080058/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
The Android Open Source Project1dc9e472009-03-03 19:28:35 -080059 const struct file_operations *fops;
60 struct list_head list;
61 struct device *dev;
62 struct class_device *class;
Ben Cheng654325d2012-03-07 21:13:49 -080063/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
The Android Open Source Project1dc9e472009-03-03 19:28:35 -080064};
The Android Open Source Project1dc9e472009-03-03 19:28:35 -080065#define MODULE_ALIAS_MISCDEV(minor) MODULE_ALIAS("char-major-" __stringify(MISC_MAJOR) "-" __stringify(minor))
66#endif