From e1da986b54db549b245725dbbb7c289fbb22bc1d Mon Sep 17 00:00:00 2001 From: Konstantin Belousov Date: Sun, 1 May 2016 17:46:56 +0000 Subject: 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 --- sys/dev/firewire/fwdev.c | 1 - 1 file changed, 1 deletion(-) (limited to 'sys/dev/firewire') 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 { -- cgit v1.2.3