mirror of
https://github.com/freebsd/freebsd-src
synced 2024-10-16 21:34:10 +00:00
Allow amr(4) to get a dynamic major number instead of a static one.
Submitted by: Andre Guibert de Bruet
This commit is contained in:
parent
60b42b1c00
commit
777a986004
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=125594
|
@ -128,7 +128,6 @@
|
|||
128 arla Arla (AFS-clone) driver
|
||||
129 i2o Intelligent I/O Character Device
|
||||
130 *mlx Mylex DAC960 RAID (control device)
|
||||
132 *amr AMI MegaRAID (control device)
|
||||
134 taupci Cronyx Tau-PCI card <vak@hanoi.cronyx.ru>
|
||||
135 *zsc TurboLaser console uart
|
||||
136 ipr Iprobe on-chip perf. counters (gallatin@freebsd.org)
|
||||
|
|
|
@ -86,8 +86,6 @@ __FBSDID("$FreeBSD$");
|
|||
#define AMR_DEFINE_TABLES
|
||||
#include <dev/amr/amr_tables.h>
|
||||
|
||||
#define AMR_CDEV_MAJOR 132
|
||||
|
||||
static d_open_t amr_open;
|
||||
static d_close_t amr_close;
|
||||
static d_ioctl_t amr_ioctl;
|
||||
|
@ -97,7 +95,6 @@ static struct cdevsw amr_cdevsw = {
|
|||
.d_close = amr_close,
|
||||
.d_ioctl = amr_ioctl,
|
||||
.d_name = "amr",
|
||||
.d_maj = AMR_CDEV_MAJOR,
|
||||
};
|
||||
|
||||
/*
|
||||
|
|
Loading…
Reference in a new issue