# There are a number of modifiers that are allowed to be used in the NAME or PROGRAM fields.
# They provide the following subsitutions:
# %n - the "kernel number" of the device.
#      for example, 'sda3' has a "kernel number" of '3'
# %k - the kernel name for the device.
# %M - the kernel major number for the device
# %m - the kernel minor number for the device
# %b - the bus id for the device
# %c - the return value for the CALLOUT program (note, this doesn't work within
#      the PROGRAM field for the obvious reason.)
# %D - use the devfs style disk name for this device.
#      For partitions, this will result in 'part%n'
#      If this is not a partition, it will result in 'disc'
#

# block
# ignore dm
KERNEL="dm-[0-9]*",	NAME=""
KERNEL="device-mapper",	NAME="mapper/control"

KERNEL="raw[0-9]*",	NAME="raw/%k"

#KERNEL="dri-card[1-9]*",NAME="dri/card%n"

# some stuff is commented out below, as IIRC the max of tv cards == 8
KERNEL="video0",	SYMLINK="video"
KERNEL="radio0",	SYMLINK="radio"
KERNEL="vbi0",		SYMLINK="vbi"
KERNEL="vtx0",		SYMLINK="vtx"


KERNEL="em8300",	NAME="video/%k"
KERNEL="em8300_ma",	NAME="video/%k"
KERNEL="em8300_mv",	NAME="video/%k"
KERNEL="em8300_sp",	NAME="video/%k"

# input 
KERNEL="psaux",					SYMLINK="psmouse mouse"
KERNEL="mice",		NAME="input/%k",	SYMLINK="usbmouse"
KERNEL="mouse[0-9]*",	NAME="input/%k"
KERNEL="event[0-9]*",	NAME="input/%k"
KERNEL="js0",		NAME="input/%k",	SYMLINK="js"
KERNEL="js[1-9]",	NAME="input/%k",	SYMLINK="js%n"


KERNEL="controlC[0-9]",		NAME="snd/%k" 
KERNEL="hwC[0-9]D[0-9]",	NAME="snd/%k" 
KERNEL="midiC[0-9]D[0-9]",	NAME="snd/%k" 
KERNEL="pcmC[0-9]D[0-9]c",	NAME="snd/%k" 
KERNEL="pcmC[0-9]D[0-9]p",	NAME="snd/%k" 
KERNEL="timer",			NAME="snd/%k" 
KERNEL="seq",			NAME="snd/%k" 
