diff options
author | scottl <scottl@FreeBSD.org> | 2003-09-29 14:10:04 +0000 |
---|---|---|
committer | scottl <scottl@FreeBSD.org> | 2003-09-29 14:10:04 +0000 |
commit | 09f3be495f7348c98e759f1613248b79d505e53e (patch) | |
tree | ddf7f8410d25a5d25e71a861b599b4043fa36b96 /sys/dev/aac | |
parent | c568e81b8f4e488590ce470487e671f615491e59 (diff) | |
download | FreeBSD-src-09f3be495f7348c98e759f1613248b79d505e53e.zip FreeBSD-src-09f3be495f7348c98e759f1613248b79d505e53e.tar.gz |
Eliminate the use of a statically assign major number for the aac device.
Diffstat (limited to 'sys/dev/aac')
-rw-r--r-- | sys/dev/aac/aac.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/sys/dev/aac/aac.c b/sys/dev/aac/aac.c index 9389511..2abee31 100644 --- a/sys/dev/aac/aac.c +++ b/sys/dev/aac/aac.c @@ -180,15 +180,12 @@ static int aac_getnext_aif(struct aac_softc *sc, caddr_t arg); static int aac_return_aif(struct aac_softc *sc, caddr_t uptr); static int aac_query_disk(struct aac_softc *sc, caddr_t uptr); -#define AAC_CDEV_MAJOR 150 - static struct cdevsw aac_cdevsw = { .d_open = aac_open, .d_close = aac_close, .d_ioctl = aac_ioctl, .d_poll = aac_poll, .d_name = "aac", - .d_maj = AAC_CDEV_MAJOR, }; MALLOC_DEFINE(M_AACBUF, "aacbuf", "Buffers for the AAC driver"); |