major.h revision 655a7c081f83b8351ed5f11a6c6accd9458293a8
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_MAJOR_H 20#define _LINUX_MAJOR_H 21#define UNNAMED_MAJOR 0 22#define MEM_MAJOR 1 23/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 24#define RAMDISK_MAJOR 1 25#define FLOPPY_MAJOR 2 26#define PTY_MASTER_MAJOR 2 27#define IDE0_MAJOR 3 28/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 29#define HD_MAJOR IDE0_MAJOR 30#define PTY_SLAVE_MAJOR 3 31#define TTY_MAJOR 4 32#define TTYAUX_MAJOR 5 33/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 34#define LP_MAJOR 6 35#define VCS_MAJOR 7 36#define LOOP_MAJOR 7 37#define SCSI_DISK0_MAJOR 8 38/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 39#define SCSI_TAPE_MAJOR 9 40#define MD_MAJOR 9 41#define MISC_MAJOR 10 42#define SCSI_CDROM_MAJOR 11 43/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 44#define MUX_MAJOR 11 45#define XT_DISK_MAJOR 13 46#define INPUT_MAJOR 13 47#define SOUND_MAJOR 14 48/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 49#define CDU31A_CDROM_MAJOR 15 50#define JOYSTICK_MAJOR 15 51#define GOLDSTAR_CDROM_MAJOR 16 52#define OPTICS_CDROM_MAJOR 17 53/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 54#define SANYO_CDROM_MAJOR 18 55#define CYCLADES_MAJOR 19 56#define CYCLADESAUX_MAJOR 20 57#define MITSUMI_X_CDROM_MAJOR 20 58/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 59#define MFM_ACORN_MAJOR 21 60#define SCSI_GENERIC_MAJOR 21 61#define IDE1_MAJOR 22 62#define DIGICU_MAJOR 22 63/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 64#define DIGI_MAJOR 23 65#define MITSUMI_CDROM_MAJOR 23 66#define CDU535_CDROM_MAJOR 24 67#define STL_SERIALMAJOR 24 68/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 69#define MATSUSHITA_CDROM_MAJOR 25 70#define STL_CALLOUTMAJOR 25 71#define MATSUSHITA_CDROM2_MAJOR 26 72#define QIC117_TAPE_MAJOR 27 73/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 74#define MATSUSHITA_CDROM3_MAJOR 27 75#define MATSUSHITA_CDROM4_MAJOR 28 76#define STL_SIOMEMMAJOR 28 77#define ACSI_MAJOR 28 78/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 79#define AZTECH_CDROM_MAJOR 29 80#define FB_MAJOR 29 81#define CM206_CDROM_MAJOR 32 82#define IDE2_MAJOR 33 83/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 84#define IDE3_MAJOR 34 85#define Z8530_MAJOR 34 86#define XPRAM_MAJOR 35 87#define NETLINK_MAJOR 36 88/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 89#define PS2ESDI_MAJOR 36 90#define IDETAPE_MAJOR 37 91#define Z2RAM_MAJOR 37 92#define APBLOCK_MAJOR 38 93/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 94#define DDV_MAJOR 39 95#define NBD_MAJOR 43 96#define RISCOM8_NORMAL_MAJOR 48 97#define DAC960_MAJOR 48 98/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 99#define RISCOM8_CALLOUT_MAJOR 49 100#define MKISS_MAJOR 55 101#define DSP56K_MAJOR 55 102#define IDE4_MAJOR 56 103/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 104#define IDE5_MAJOR 57 105#define SCSI_DISK1_MAJOR 65 106#define SCSI_DISK2_MAJOR 66 107#define SCSI_DISK3_MAJOR 67 108/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 109#define SCSI_DISK4_MAJOR 68 110#define SCSI_DISK5_MAJOR 69 111#define SCSI_DISK6_MAJOR 70 112#define SCSI_DISK7_MAJOR 71 113/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 114#define COMPAQ_SMART2_MAJOR 72 115#define COMPAQ_SMART2_MAJOR1 73 116#define COMPAQ_SMART2_MAJOR2 74 117#define COMPAQ_SMART2_MAJOR3 75 118/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 119#define COMPAQ_SMART2_MAJOR4 76 120#define COMPAQ_SMART2_MAJOR5 77 121#define COMPAQ_SMART2_MAJOR6 78 122#define COMPAQ_SMART2_MAJOR7 79 123/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 124#define SPECIALIX_NORMAL_MAJOR 75 125#define SPECIALIX_CALLOUT_MAJOR 76 126#define AURORA_MAJOR 79 127#define I2O_MAJOR 80 128/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 129#define SHMIQ_MAJOR 85 130#define SCSI_CHANGER_MAJOR 86 131#define IDE6_MAJOR 88 132#define IDE7_MAJOR 89 133/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 134#define IDE8_MAJOR 90 135#define IDE9_MAJOR 91 136#define DASD_MAJOR 94 137#define MDISK_MAJOR 95 138/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 139#define UBD_MAJOR 98 140#define PP_MAJOR 99 141#define JSFD_MAJOR 99 142#define PHONE_MAJOR 100 143/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 144#define COMPAQ_CISS_MAJOR 104 145#define COMPAQ_CISS_MAJOR1 105 146#define COMPAQ_CISS_MAJOR2 106 147#define COMPAQ_CISS_MAJOR3 107 148/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 149#define COMPAQ_CISS_MAJOR4 108 150#define COMPAQ_CISS_MAJOR5 109 151#define COMPAQ_CISS_MAJOR6 110 152#define COMPAQ_CISS_MAJOR7 111 153/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 154#define VIODASD_MAJOR 112 155#define VIOCD_MAJOR 113 156#define ATARAID_MAJOR 114 157#define SCSI_DISK8_MAJOR 128 158/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 159#define SCSI_DISK9_MAJOR 129 160#define SCSI_DISK10_MAJOR 130 161#define SCSI_DISK11_MAJOR 131 162#define SCSI_DISK12_MAJOR 132 163/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 164#define SCSI_DISK13_MAJOR 133 165#define SCSI_DISK14_MAJOR 134 166#define SCSI_DISK15_MAJOR 135 167#define UNIX98_PTY_MASTER_MAJOR 128 168/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 169#define UNIX98_PTY_MAJOR_COUNT 8 170#define UNIX98_PTY_SLAVE_MAJOR (UNIX98_PTY_MASTER_MAJOR+UNIX98_PTY_MAJOR_COUNT) 171#define DRBD_MAJOR 147 172#define RTF_MAJOR 150 173/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 174#define RAW_MAJOR 162 175#define USB_ACM_MAJOR 166 176#define USB_ACM_AUX_MAJOR 167 177#define USB_CHAR_MAJOR 180 178/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 179#define MMC_BLOCK_MAJOR 179 180#define VXVM_MAJOR 199 181#define VXSPEC_MAJOR 200 182#define VXDMP_MAJOR 201 183/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 184#define XENVBD_MAJOR 202 185#define MSR_MAJOR 202 186#define CPUID_MAJOR 203 187#define OSST_MAJOR 206 188/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 189#define IBM_TTY3270_MAJOR 227 190#define IBM_FS3270_MAJOR 228 191#define VIOTAPE_MAJOR 230 192#define BLOCK_EXT_MAJOR 259 193/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 194#define SCSI_OSD_MAJOR 260 195#endif 196