From b15971d062dbfb3280b6ce2a5b8720c366aeb54e Mon Sep 17 00:00:00 2001 From: ed Date: Fri, 19 Sep 2008 10:21:30 +0000 Subject: [PATCH] Even though snp(4) in SVN is still broken, remove the unneeded D_NEEDMINOR. kib@ and I have decided we will MFC the bpf(4)/snp(4) fixes after we've released 7.1. Make sure the code in HEAD doesn't refer to a flag we don't need anyway. snp(4) in the MPSAFE TTY P4 branch already works, but still needs some polishing before it can be integrated to SVN. --- sys/dev/snp/snp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/dev/snp/snp.c b/sys/dev/snp/snp.c index 417b35719daa..0a960d2fcdd7 100644 --- a/sys/dev/snp/snp.c +++ b/sys/dev/snp/snp.c @@ -43,7 +43,7 @@ static d_poll_t snppoll; static struct cdevsw snp_cdevsw = { .d_version = D_VERSION, - .d_flags = D_PSEUDO | D_NEEDGIANT | D_NEEDMINOR, + .d_flags = D_PSEUDO | D_NEEDGIANT, .d_open = snpopen, .d_read = snpread, .d_write = snpwrite,