diff options
author | Konstantin Belousov <kib@FreeBSD.org> | 2016-05-01 17:46:56 +0000 |
---|---|---|
committer | Konstantin Belousov <kib@FreeBSD.org> | 2016-05-01 17:46:56 +0000 |
commit | e1da986b54db549b245725dbbb7c289fbb22bc1d (patch) | |
tree | 6ca381b4cab2514309d965f400db2d2b0f575eb4 /sys/dev/firewire | |
parent | a8702c83831552781739ba895ae961ea1f837fa9 (diff) | |
download | src-e1da986b54db549b245725dbbb7c289fbb22bc1d.tar.gz src-e1da986b54db549b245725dbbb7c289fbb22bc1d.zip |
Make it explicit that D_MEM cdevsw d_flag is to signify that the
driver is (or behaves identically to) /dev/mem. Remove the D_MEM flag
from random drivers.
Note that currently the D_MEM flag does not affect any behaviour, but
this going to change in the next commit.
Noted and reviewed by: alc
Sponsored by: The FreeBSD Foundation
MFC after: 1 week
X-Differential revision: https://reviews.freebsd.org/D6149
Notes
Notes:
svn path=/head/; revision=298890
Diffstat (limited to 'sys/dev/firewire')
-rw-r--r-- | sys/dev/firewire/fwdev.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/sys/dev/firewire/fwdev.c b/sys/dev/firewire/fwdev.c index e09ce2c947bf..cebd28ad876a 100644 --- a/sys/dev/firewire/fwdev.c +++ b/sys/dev/firewire/fwdev.c @@ -80,7 +80,6 @@ struct cdevsw firewire_cdevsw = { .d_mmap = fw_mmap, .d_strategy = fw_strategy, .d_name = "fw", - .d_flags = D_MEM }; struct fw_drv1 { |