Main Page | Alphabetical List | Data Structures | Directories | File List | Data Fields | Globals

major.h File Reference

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Defines

#define MAX_CHRDEV   255
#define MAX_BLKDEV   255
#define UNNAMED_MAJOR   0
#define MEM_MAJOR   1
#define RAMDISK_MAJOR   1
#define FLOPPY_MAJOR   2
#define PTY_MASTER_MAJOR   2
#define IDE0_MAJOR   3
#define PTY_SLAVE_MAJOR   3
#define HD_MAJOR   IDE0_MAJOR
#define TTY_MAJOR   4
#define TTYAUX_MAJOR   5
#define LP_MAJOR   6
#define VCS_MAJOR   7
#define LOOP_MAJOR   7
#define SCSI_DISK0_MAJOR   8
#define SCSI_TAPE_MAJOR   9
#define MD_MAJOR   9
#define MISC_MAJOR   10
#define SCSI_CDROM_MAJOR   11
#define QIC02_TAPE_MAJOR   12
#define XT_DISK_MAJOR   13
#define SOUND_MAJOR   14
#define CDU31A_CDROM_MAJOR   15
#define JOYSTICK_MAJOR   15
#define GOLDSTAR_CDROM_MAJOR   16
#define OPTICS_CDROM_MAJOR   17
#define SANYO_CDROM_MAJOR   18
#define CYCLADES_MAJOR   19
#define CYCLADESAUX_MAJOR   20
#define MITSUMI_X_CDROM_MAJOR   20
#define MFM_ACORN_MAJOR   21
#define SCSI_GENERIC_MAJOR   21
#define Z8530_MAJOR   34
#define DIGI_MAJOR   23
#define IDE1_MAJOR   22
#define DIGICU_MAJOR   22
#define MITSUMI_CDROM_MAJOR   23
#define CDU535_CDROM_MAJOR   24
#define STL_SERIALMAJOR   24
#define MATSUSHITA_CDROM_MAJOR   25
#define STL_CALLOUTMAJOR   25
#define MATSUSHITA_CDROM2_MAJOR   26
#define QIC117_TAPE_MAJOR   27
#define MATSUSHITA_CDROM3_MAJOR   27
#define MATSUSHITA_CDROM4_MAJOR   28
#define STL_SIOMEMMAJOR   28
#define ACSI_MAJOR   28
#define AZTECH_CDROM_MAJOR   29
#define GRAPHDEV_MAJOR   29
#define SHMIQ_MAJOR   85
#define CM206_CDROM_MAJOR   32
#define IDE2_MAJOR   33
#define IDE3_MAJOR   34
#define XPRAM_MAJOR   35
#define NETLINK_MAJOR   36
#define PS2ESDI_MAJOR   36
#define IDETAPE_MAJOR   37
#define Z2RAM_MAJOR   37
#define APBLOCK_MAJOR   38
#define DDV_MAJOR   39
#define NBD_MAJOR   43
#define RISCOM8_NORMAL_MAJOR   48
#define DAC960_MAJOR   48
#define RISCOM8_CALLOUT_MAJOR   49
#define MKISS_MAJOR   55
#define DSP56K_MAJOR   55
#define IDE4_MAJOR   56
#define IDE5_MAJOR   57
#define SCSI_DISK1_MAJOR   65
#define SCSI_DISK2_MAJOR   66
#define SCSI_DISK3_MAJOR   67
#define SCSI_DISK4_MAJOR   68
#define SCSI_DISK5_MAJOR   69
#define SCSI_DISK6_MAJOR   70
#define SCSI_DISK7_MAJOR   71
#define LVM_BLK_MAJOR   58
#define COMPAQ_SMART2_MAJOR   72
#define COMPAQ_SMART2_MAJOR1   73
#define COMPAQ_SMART2_MAJOR2   74
#define COMPAQ_SMART2_MAJOR3   75
#define COMPAQ_SMART2_MAJOR4   76
#define COMPAQ_SMART2_MAJOR5   77
#define COMPAQ_SMART2_MAJOR6   78
#define COMPAQ_SMART2_MAJOR7   79
#define I2O_MAJOR   80
#define SPECIALIX_NORMAL_MAJOR   75
#define SPECIALIX_CALLOUT_MAJOR   76
#define COMPAQ_CISS_MAJOR   104
#define COMPAQ_CISS_MAJOR1   105
#define COMPAQ_CISS_MAJOR2   106
#define COMPAQ_CISS_MAJOR3   107
#define COMPAQ_CISS_MAJOR4   108
#define COMPAQ_CISS_MAJOR5   109
#define COMPAQ_CISS_MAJOR6   110
#define COMPAQ_CISS_MAJOR7   111
#define DASD_MAJOR   94
#define LVM_CHAR_MAJOR   109
#define MDISK_MAJOR   95
#define AURORA_MAJOR   79
#define UNIX98_PTY_MASTER_MAJOR   128
#define UNIX98_PTY_MAJOR_COUNT   8
#define UNIX98_PTY_SLAVE_MAJOR   (UNIX98_PTY_MASTER_MAJOR+UNIX98_PTY_MAJOR_COUNT)
#define MSR_MAJOR   202
#define CPUID_MAJOR   203
#define OSST_MAJOR   206
#define SCSI_DISK_MAJOR(M)
#define SCSI_BLK_MAJOR(M)

Functions

static __inline__ int scsi_blk_major (int m)


Define Documentation

#define ACSI_MAJOR   28
 

Definition at line 63 of file major.h.

#define APBLOCK_MAJOR   38
 

Definition at line 76 of file major.h.

#define AURORA_MAJOR   79
 

Definition at line 127 of file major.h.

Referenced by aurora_init_drivers().

#define AZTECH_CDROM_MAJOR   29
 

Definition at line 64 of file major.h.

#define CDU31A_CDROM_MAJOR   15
 

Definition at line 39 of file major.h.

#define CDU535_CDROM_MAJOR   24
 

Definition at line 54 of file major.h.

#define CM206_CDROM_MAJOR   32
 

Definition at line 67 of file major.h.

#define COMPAQ_CISS_MAJOR   104
 

Definition at line 112 of file major.h.

Referenced by add_request(), and disk_name().

#define COMPAQ_CISS_MAJOR1   105
 

Definition at line 113 of file major.h.

#define COMPAQ_CISS_MAJOR2   106
 

Definition at line 114 of file major.h.

#define COMPAQ_CISS_MAJOR3   107
 

Definition at line 115 of file major.h.

#define COMPAQ_CISS_MAJOR4   108
 

Definition at line 116 of file major.h.

#define COMPAQ_CISS_MAJOR5   109
 

Definition at line 117 of file major.h.

#define COMPAQ_CISS_MAJOR6   110
 

Definition at line 118 of file major.h.

#define COMPAQ_CISS_MAJOR7   111
 

Definition at line 119 of file major.h.

#define COMPAQ_SMART2_MAJOR   72
 

Definition at line 98 of file major.h.

Referenced by add_request(), and disk_name().

#define COMPAQ_SMART2_MAJOR1   73
 

Definition at line 99 of file major.h.

#define COMPAQ_SMART2_MAJOR2   74
 

Definition at line 100 of file major.h.

#define COMPAQ_SMART2_MAJOR3   75
 

Definition at line 101 of file major.h.

#define COMPAQ_SMART2_MAJOR4   76
 

Definition at line 102 of file major.h.

#define COMPAQ_SMART2_MAJOR5   77
 

Definition at line 103 of file major.h.

#define COMPAQ_SMART2_MAJOR6   78
 

Definition at line 104 of file major.h.

#define COMPAQ_SMART2_MAJOR7   79
 

Definition at line 105 of file major.h.

#define CPUID_MAJOR   203
 

Definition at line 134 of file major.h.

Referenced by cpuid_exit(), and cpuid_init().

#define CYCLADES_MAJOR   19
 

Definition at line 44 of file major.h.

Referenced by __initfunc().

#define CYCLADESAUX_MAJOR   20
 

Definition at line 45 of file major.h.

Referenced by __initfunc().

#define DAC960_MAJOR   48
 

Definition at line 80 of file major.h.

Referenced by add_request(), DAC960_ProcessRequest(), DAC960_RegisterBlockDevice(), DAC960_UnregisterBlockDevice(), DAC960_V1_ProcessCompletedCommand(), DAC960_V2_ProcessCompletedCommand(), and disk_name().

#define DASD_MAJOR   94
 

Definition at line 121 of file major.h.

#define DDV_MAJOR   39
 

Definition at line 77 of file major.h.

Referenced by make_request().

#define DIGI_MAJOR   23
 

Definition at line 50 of file major.h.

Referenced by __initfunc(), and pc_init().

#define DIGICU_MAJOR   22
 

Definition at line 52 of file major.h.

Referenced by __initfunc(), and pc_init().

#define DSP56K_MAJOR   55
 

Definition at line 83 of file major.h.

Referenced by __initfunc().

#define FLOPPY_MAJOR   2
 

Definition at line 21 of file major.h.

Referenced by __initfunc(), floppy_open(), mount_root(), and set_geometry().

#define GOLDSTAR_CDROM_MAJOR   16
 

Definition at line 41 of file major.h.

#define GRAPHDEV_MAJOR   29
 

Definition at line 65 of file major.h.

#define HD_MAJOR   IDE0_MAJOR
 

Definition at line 25 of file major.h.

#define I2O_MAJOR   80
 

Definition at line 107 of file major.h.

#define IDE0_MAJOR   3
 

Definition at line 23 of file major.h.

Referenced by add_request(), disk_name(), hwif_init(), and is_local_disk().

#define IDE1_MAJOR   22
 

Definition at line 51 of file major.h.

Referenced by add_request(), disk_name(), hwif_init(), and is_local_disk().

#define IDE2_MAJOR   33
 

Definition at line 68 of file major.h.

Referenced by disk_name(), hwif_init(), and is_local_disk().

#define IDE3_MAJOR   34
 

Definition at line 69 of file major.h.

Referenced by disk_name(), hwif_init(), and is_local_disk().

#define IDE4_MAJOR   56
 

Definition at line 85 of file major.h.

Referenced by disk_name(), and hwif_init().

#define IDE5_MAJOR   57
 

Definition at line 86 of file major.h.

Referenced by disk_name(), and hwif_init().

#define IDETAPE_MAJOR   37
 

Definition at line 74 of file major.h.

Referenced by idetape_cleanup(), and idetape_init().

#define JOYSTICK_MAJOR   15
 

Definition at line 40 of file major.h.

Referenced by js_init(), and js_open().

#define LOOP_MAJOR   7
 

Definition at line 30 of file major.h.

Referenced by bdflush(), isofs_get_last_session(), make_request(), and refile_buffer().

#define LP_MAJOR   6
 

Definition at line 28 of file major.h.

Referenced by __initfunc(), lp_init(), and lp_open().

#define LVM_BLK_MAJOR   58
 

Definition at line 96 of file major.h.

#define LVM_CHAR_MAJOR   109
 

Definition at line 123 of file major.h.

#define MATSUSHITA_CDROM2_MAJOR   26
 

Definition at line 58 of file major.h.

#define MATSUSHITA_CDROM3_MAJOR   27
 

Definition at line 60 of file major.h.

#define MATSUSHITA_CDROM4_MAJOR   28
 

Definition at line 61 of file major.h.

#define MATSUSHITA_CDROM_MAJOR   25
 

Definition at line 56 of file major.h.

#define MAX_BLKDEV   255
 

Definition at line 16 of file major.h.

Referenced by __initfunc(), add_blkdev_randomness(), getdev(), nfsd3_proc_mknod(), rand_initialize_blkdev(), register_cdrom(), scsi_dump_status(), sys_mount(), umount_dev(), and unregister_cdrom().

#define MAX_CHRDEV   255
 

Definition at line 15 of file major.h.

Referenced by nfsd3_proc_mknod().

#define MD_MAJOR   9
 

Definition at line 33 of file major.h.

Referenced by __initfunc(), analyze_sbs(), disk_name(), do_md_run(), do_md_stop(), get_md_status(), handle_stripe(), ll_rw_block(), make_request(), map_and_make_request(), md_do_sync(), md_error(), md_geninit(), raid1_run(), raid5_build_block(), raid5_run(), and sys32_ioctl().

#define MDISK_MAJOR   95
 

Definition at line 125 of file major.h.

#define MEM_MAJOR   1
 

Definition at line 19 of file major.h.

Referenced by __initfunc(), do_solaris_mmap(), and sunos_mmap().

#define MFM_ACORN_MAJOR   21
 

Definition at line 47 of file major.h.

#define MISC_MAJOR   10
 

Definition at line 34 of file major.h.

Referenced by ffb_init_one(), gamma_init(), i810_init(), mga_init(), misc_init(), misc_open(), r128_init(), and tdfx_init().

#define MITSUMI_CDROM_MAJOR   23
 

Definition at line 53 of file major.h.

#define MITSUMI_X_CDROM_MAJOR   20
 

Definition at line 46 of file major.h.

#define MKISS_MAJOR   55
 

Definition at line 82 of file major.h.

Referenced by __initfunc().

#define MSR_MAJOR   202
 

Definition at line 133 of file major.h.

Referenced by msr_exit(), and msr_init().

#define NBD_MAJOR   43
 

Definition at line 78 of file major.h.

Referenced by make_request().

#define NETLINK_MAJOR   36
 

Definition at line 72 of file major.h.

Referenced by __initfunc().

#define OPTICS_CDROM_MAJOR   17
 

Definition at line 42 of file major.h.

#define OSST_MAJOR   206
 

Definition at line 136 of file major.h.

#define PS2ESDI_MAJOR   36
 

Definition at line 73 of file major.h.

#define PTY_MASTER_MAJOR   2
 

Definition at line 22 of file major.h.

Referenced by __initfunc().

#define PTY_SLAVE_MAJOR   3
 

Definition at line 24 of file major.h.

Referenced by __initfunc().

#define QIC02_TAPE_MAJOR   12
 

Definition at line 36 of file major.h.

Referenced by __initfunc(), and qic02_tape_ioctl().

#define QIC117_TAPE_MAJOR   27
 

Definition at line 59 of file major.h.

#define RAMDISK_MAJOR   1
 

Definition at line 20 of file major.h.

Referenced by __initfunc(), do_basic_setup(), and identify_machine().

#define RISCOM8_CALLOUT_MAJOR   49
 

Definition at line 81 of file major.h.

Referenced by rc_init_drivers().

#define RISCOM8_NORMAL_MAJOR   48
 

Definition at line 79 of file major.h.

Referenced by rc_init_drivers().

#define SANYO_CDROM_MAJOR   18
 

Definition at line 43 of file major.h.

#define SCSI_BLK_MAJOR M   ) 
 

Value:

Definition at line 145 of file major.h.

Referenced by scsi_blk_major(), scsi_finish_command(), and scsi_old_done().

#define SCSI_CDROM_MAJOR   11
 

Definition at line 35 of file major.h.

Referenced by gemini_setup_arch(), and isofs_get_last_session().

#define SCSI_DISK0_MAJOR   8
 

Definition at line 31 of file major.h.

Referenced by add_request(), fdomain_16x0_biosparam(), and is_local_disk().

#define SCSI_DISK1_MAJOR   65
 

Definition at line 88 of file major.h.

Referenced by disk_name(), and is_local_disk().

#define SCSI_DISK2_MAJOR   66
 

Definition at line 89 of file major.h.

Referenced by is_local_disk().

#define SCSI_DISK3_MAJOR   67
 

Definition at line 90 of file major.h.

Referenced by is_local_disk().

#define SCSI_DISK4_MAJOR   68
 

Definition at line 91 of file major.h.

Referenced by is_local_disk().

#define SCSI_DISK5_MAJOR   69
 

Definition at line 92 of file major.h.

Referenced by is_local_disk().

#define SCSI_DISK6_MAJOR   70
 

Definition at line 93 of file major.h.

Referenced by is_local_disk().

#define SCSI_DISK7_MAJOR   71
 

Definition at line 94 of file major.h.

Referenced by disk_name(), and is_local_disk().

#define SCSI_DISK_MAJOR M   ) 
 

Value:

Definition at line 142 of file major.h.

#define SCSI_GENERIC_MAJOR   21
 

Definition at line 48 of file major.h.

Referenced by sg_attach(), sg_init(), and should_transform().

#define SCSI_TAPE_MAJOR   9
 

Definition at line 32 of file major.h.

Referenced by st_attach(), and st_init().

#define SHMIQ_MAJOR   85
 

Definition at line 66 of file major.h.

Referenced by shmiq_init().

#define SOUND_MAJOR   14
 

Definition at line 38 of file major.h.

Referenced by __initfunc(), and soundcore_init().

#define SPECIALIX_CALLOUT_MAJOR   76
 

Definition at line 110 of file major.h.

Referenced by sx_init_drivers().

#define SPECIALIX_NORMAL_MAJOR   75
 

Definition at line 109 of file major.h.

Referenced by sx_init_drivers().

#define STL_CALLOUTMAJOR   25
 

Definition at line 57 of file major.h.

#define STL_SERIALMAJOR   24
 

Definition at line 55 of file major.h.

#define STL_SIOMEMMAJOR   28
 

Definition at line 62 of file major.h.

#define TTY_MAJOR   4
 

Definition at line 26 of file major.h.

Referenced by __initfunc(), hwc_tty_init(), m68k_rs_init(), macserial_init(), prom_console_device(), rs_init(), rs_open(), serial167_init(), tty_open(), and zs_console_device().

#define TTYAUX_MAJOR   5
 

Definition at line 27 of file major.h.

Referenced by __initfunc(), m68k_rs_init(), macserial_init(), rs_init(), and serial167_init().

#define UNIX98_PTY_MAJOR_COUNT   8
 

Definition at line 130 of file major.h.

#define UNIX98_PTY_MASTER_MAJOR   128
 

Definition at line 129 of file major.h.

Referenced by __initfunc(), and pty_close().

#define UNIX98_PTY_SLAVE_MAJOR   (UNIX98_PTY_MASTER_MAJOR+UNIX98_PTY_MAJOR_COUNT)
 

Definition at line 131 of file major.h.

Referenced by __initfunc().

#define UNNAMED_MAJOR   0
 

Definition at line 18 of file major.h.

Referenced by __initfunc(), get_unnamed_dev(), ip_auto_config(), mount_root(), and put_unnamed_dev().

#define VCS_MAJOR   7
 

Definition at line 29 of file major.h.

Referenced by __initfunc().

#define XPRAM_MAJOR   35
 

Definition at line 70 of file major.h.

#define XT_DISK_MAJOR   13
 

Definition at line 37 of file major.h.

Referenced by add_request().

#define Z2RAM_MAJOR   37
 

Definition at line 75 of file major.h.

#define Z8530_MAJOR   34
 

Definition at line 49 of file major.h.


Function Documentation

static __inline__ int scsi_blk_major int  m  )  [static]
 

Definition at line 149 of file major.h.

References SCSI_BLK_MAJOR.

Referenced by add_request().