Training courses

Kernel and Embedded Linux

Bootlin training courses

Embedded Linux, kernel,
Yocto Project, Buildroot, real-time,
graphics, boot time, debugging...

Bootlin logo

Elixir Cross Referencer

# $NetBSD: majors,v 1.87 2019/05/18 08:38:00 mlelstv Exp $
#
# Device majors for Machine-Independent drivers.
#
# Majors 0-143 are reserved for machine-dependent drivers and
# for traditional machine-specific MI driver major mapping.
#
# Majors 144-159 are reserved for local/vendor use.
#
# Majors 160-511 are used for the MI drivers.

device-major crypto    char 160		   crypto	single
device-major pf        char 161		   pf		single
#obsolete    vinum     char 162		   vinum
device-major fss       char 163 block 163  fss		vector=4
device-major pps       char 164		   pps
device-major ptm       char 165		   pty
device-major atabus    char 166		   atabus	vector=4
device-major drvctl    char 167		   drvctl	single
device-major dk        char 168 block 168
device-major tap       char 169		   tap		vector=4
device-major veriexec  char 170		   veriexec
device-major fw        char 171		   ieee1394if
device-major ucycom    char 172		   ucycom
device-major gpio      char 173		   gpio		vector=8,linkzero
device-major utoppy    char 174		   utoppy	vector=2
device-major bthub     char 175		   bthub	single
device-major amr       char 176		   amr		vector=1
device-major lockstat  char 177		   lockstat	single
device-major putter    char 178		   putter
device-major srt       char 179		   srt		
device-major drm       char 180		   drmbase | drmkms
device-major bio       char 181		   bio		single
device-major altmem    char 182 block 182  altmem	
device-major twa       char 187		   twa
device-major cpuctl    char 188				single
device-major pad       char 189		   pad		vector=4,linkzero
device-major zfs       char 190 block 190  zfs
device-major tprof     char 191		   tprof
device-major isv       char 192		   isv
device-major video     char 193		   video	vector=4
device-major dm        char 194 block 169  dm
device-major hdaudio   char 195		   hdaudio	vector=4
device-major uhso      char 196		   uhso
device-major rumpblk   char 197 block 197  rumpblk
device-major npf       char 198		   npf
device-major flash     char 199 block 199  flash
device-major dtv       char 200		   dtv
device-major iic       char 201		   iic
device-major filemon   char 202		   filemon
device-major iscsi     char 203		   iscsi
device-major tpm       char 204		   tpm
device-major mfi       char 205		   mfi
device-major seeprom   char 206		   seeprom
device-major dtrace    char 207		   dtrace
device-major spiflash  char 208 block 208  spiflash
device-major lua       char 209		   lua

# NOTE:
# The following ranges are reserved for devices that have historical MD
# definition, but are for "partially" MI use.
# 
# Any new port should use these "previously not" MI definitions instead of
# separate MD values.
# 
# New MI devices should go to this file instead of majors.*
#
# 210-219 reserved for previously not MI ws devices
# 220-239 reserved for previously not MI usb devices
# 240-259 reserved for previously not MI "std" devices
# 260-269 reserved for previously not MI tty devices
# 310-339 reserved for previously not MI storage devices

device-major spkr      char 240		   spkr

device-major hdmicec   char 340		   hdmicec
device-major nvme      char 341		   nvme
device-major qemufwcfg char 342		   qemufwcfg
device-major autofs    char 343		   autofs
device-major gpiopps   char 344            gpiopps
device-major nvmm      char 345            nvmm
device-major kcov      char 346            kcov
device-major spi       char 347		   spi
# Majors 348-350 are reserved for HAXM (pkgsrc/emulators/haxm)
# Major 351 is reserved for sys/modules/examples
# Major 352 is reserved for external/cddl/osnet/dev/fbt/fbt.c
# Major 353 is reserved for external/cddl/osnet/dev/sdt/sdt.c
device-major ipmi      char 354		   ipmi