diff options
-rw-r--r-- | sys/dev/firewire/fwdev.c | 1 | ||||
-rw-r--r-- | sys/i386/bios/smapi.c | 2 | ||||
-rw-r--r-- | sys/sys/conf.h | 2 |
3 files changed, 2 insertions, 3 deletions
diff --git a/sys/dev/firewire/fwdev.c b/sys/dev/firewire/fwdev.c index d26810d..442eb9c 100644 --- a/sys/dev/firewire/fwdev.c +++ b/sys/dev/firewire/fwdev.c @@ -98,7 +98,6 @@ struct cdevsw firewire_cdevsw = { .d_mmap = fw_mmap, .d_strategy = fw_strategy, .d_name = "fw", - .d_flags = D_MEM #else #define CDEV_MAJOR 127 fw_open, fw_close, fw_read, fw_write, fw_ioctl, diff --git a/sys/i386/bios/smapi.c b/sys/i386/bios/smapi.c index a7710bb..ef1ba42 100644 --- a/sys/i386/bios/smapi.c +++ b/sys/i386/bios/smapi.c @@ -80,7 +80,7 @@ static struct cdevsw smapi_cdevsw = { .d_version = D_VERSION, .d_ioctl = smapi_ioctl, .d_name = "smapi", - .d_flags = D_MEM | D_NEEDGIANT, + .d_flags = D_NEEDGIANT, }; static void smapi_identify(driver_t *, device_t); diff --git a/sys/sys/conf.h b/sys/sys/conf.h index 34c65a8..946656d 100644 --- a/sys/sys/conf.h +++ b/sys/sys/conf.h @@ -156,7 +156,7 @@ typedef int dumper_t( #define D_TAPE 0x0001 #define D_DISK 0x0002 #define D_TTY 0x0004 -#define D_MEM 0x0008 +#define D_MEM 0x0008 /* /dev/(k)mem */ #ifdef _KERNEL |