Refer people looking to figure out what major to use for a device to

MAKEDEV and sys/conf/majors, not sys/conf/device.<arch>, which has
never existed in the history of FreeBSD (well, at least it isn't in
the repository).

PR:		31558
This commit is contained in:
Dima Dorfman 2001-11-04 23:11:25 +00:00
parent 1fddc467ee
commit 76b363a605

View File

@ -77,16 +77,10 @@ and pseudo devices, and are type
.It Ar major
The major device number is an integer number which tells the kernel
which device driver entry point to use. To learn what
major device number to use for a particular device, check the file
major device number to use for a particular device, check
.Pa /dev/MAKEDEV
to see if the device is known, or check
the system dependent device configuration file:
.Bd -ragged -offset indent
.Dq Pa /usr/src/sys/conf/device. Ns Aq Ar architecture
.Ed
.Pp
(for example
.Pa device.hp300 ) .
or
.Pa /usr/src/sys/conf/majors .
.It Ar minor
The minor device number tells the kernel which subunit
the node corresponds to on the device; for example,