diff options
author | Poul-Henning Kamp <phk@FreeBSD.org> | 2003-03-09 11:03:45 +0000 |
---|---|---|
committer | Poul-Henning Kamp <phk@FreeBSD.org> | 2003-03-09 11:03:45 +0000 |
commit | d42ee4e410658ce8c760c726668d8050d3ff0720 (patch) | |
tree | cfa97a9d4fdebe78406e688b9759ba8119bb7dfc /sys/dev/zs | |
parent | 441931b53cf1305a812c65645f532a4f14a85964 (diff) | |
download | src-d42ee4e410658ce8c760c726668d8050d3ff0720.tar.gz src-d42ee4e410658ce8c760c726668d8050d3ff0720.zip |
Note that MAJOR_AUTO is now the default if d_maj is not initialized. This
is more robust and prevents the hijacking of /dev/console for the typical
mistake.
Remove unneeded MAJOR_AUTO uses, it is only needed explicitly now if the
driver source has cross-branch compatibility to old releases.
Notes
Notes:
svn path=/head/; revision=112037
Diffstat (limited to 'sys/dev/zs')
-rw-r--r-- | sys/dev/zs/zs.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/sys/dev/zs/zs.c b/sys/dev/zs/zs.c index d901e10501f1..5a04a0e31fd9 100644 --- a/sys/dev/zs/zs.c +++ b/sys/dev/zs/zs.c @@ -157,7 +157,6 @@ static struct cdevsw zstty_cdevsw = { .d_ioctl = zsttyioctl, .d_poll = ttypoll, .d_name = "zstty", - .d_maj = MAJOR_AUTO, .d_flags = D_TTY, .d_kqfilter = ttykqfilter, }; |