Use dynamic major number allocation.

This commit is contained in:
Poul-Henning Kamp 2005-02-27 22:16:30 +00:00
parent 78b7c8d68d
commit e70377df79
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=142716
8 changed files with 0 additions and 13 deletions

View File

@ -22,7 +22,6 @@
4 *geom GEOMetry
19 *tw X-10 power interface
22 *fd (/dev/stdin etc)
30 *snd sound driver system
32 lkmc Loadable Kernel Module Controller
33 lkm assigned to Loadable Kernel Modules
34 lkm assigned to Loadable Kernel Modules
@ -54,7 +53,6 @@
93 coda CODA filesystem.
96 altq alternate queueing (including cbq, red, wfq)
98 loe Loopback pseudo-ethernet (sbabkin@dcn.att.com)
99 *ct Cronyx Tau-ISA serial adapters (driver name "ctau")
115 dag University of Waikato DAG network capture boards
117 *acd ATAPI CDROM
119 *ast ATAPI tape

View File

@ -52,7 +52,6 @@ struct cdevsw dsp_cdevsw = {
.d_poll = dsp_poll,
.d_mmap = dsp_mmap,
.d_name = "dsp",
.d_maj = SND_CDEV_MAJOR,
};
#ifdef USING_DEVFS

View File

@ -79,7 +79,6 @@ static struct cdevsw mixer_cdevsw = {
.d_close = mixer_close,
.d_ioctl = mixer_ioctl,
.d_name = "mixer",
.d_maj = SND_CDEV_MAJOR,
};
#ifdef USING_DEVFS

View File

@ -50,7 +50,6 @@ static struct cdevsw sndstat_cdevsw = {
.d_close = sndstat_close,
.d_read = sndstat_read,
.d_name = "sndstat",
.d_maj = SND_CDEV_MAJOR,
};
struct sndstat_entry {

View File

@ -152,11 +152,6 @@ currently minor = (channel << 16) + (unit << 4) + dev
struct pcm_channel *fkchan_setup(device_t dev);
int fkchan_kill(struct pcm_channel *c);
/*
* Major nuber for the sound driver.
*/
#define SND_CDEV_MAJOR 30
#define SND_MAXVCHANS 255
/*

View File

@ -82,7 +82,6 @@ static struct cdevsw isavga_cdevsw = {
.d_ioctl = isavga_ioctl,
.d_mmap = isavga_mmap,
.d_name = VGA_DRIVER_NAME,
.d_maj = -1,
};
#endif /* FB_INSTALL_CDEV */

View File

@ -113,7 +113,6 @@ static struct cdevsw gdc_cdevsw = {
.d_ioctl = gdcioctl,
.d_mmap = gdcmmap,
.d_name = DRIVER_NAME,
.d_maj = -1,
};
#endif /* FB_INSTALL_CDEV */

View File

@ -113,7 +113,6 @@ static struct cdevsw gdc_cdevsw = {
.d_ioctl = gdcioctl,
.d_mmap = gdcmmap,
.d_name = DRIVER_NAME,
.d_maj = -1,
};
#endif /* FB_INSTALL_CDEV */