summaryrefslogtreecommitdiffstats
path: root/sys/dev/snp
diff options
context:
space:
mode:
authored <ed@FreeBSD.org>2008-09-19 10:21:30 +0000
committered <ed@FreeBSD.org>2008-09-19 10:21:30 +0000
commitb15971d062dbfb3280b6ce2a5b8720c366aeb54e (patch)
treea61d4de983396128ae33a9b6cdfda22a0487f844 /sys/dev/snp
parent6cbacb751963b7fb0d73e6333319edfb1faa81f8 (diff)
downloadFreeBSD-src-b15971d062dbfb3280b6ce2a5b8720c366aeb54e.zip
FreeBSD-src-b15971d062dbfb3280b6ce2a5b8720c366aeb54e.tar.gz
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.
Diffstat (limited to 'sys/dev/snp')
-rw-r--r--sys/dev/snp/snp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/snp/snp.c b/sys/dev/snp/snp.c
index 417b357..0a960d2 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,
OpenPOWER on IntegriCloud