summaryrefslogtreecommitdiffstats
path: root/sys/i386/bios
diff options
context:
space:
mode:
authorkib <kib@FreeBSD.org>2016-05-01 17:46:56 +0000
committerkib <kib@FreeBSD.org>2016-05-01 17:46:56 +0000
commit52ea16e6badd453a497e167d8c0cdd71305dc75c (patch)
tree6ca381b4cab2514309d965f400db2d2b0f575eb4 /sys/i386/bios
parent30f106f63572c12bcdfddf0361b02695c635a17e (diff)
downloadFreeBSD-src-52ea16e6badd453a497e167d8c0cdd71305dc75c.zip
FreeBSD-src-52ea16e6badd453a497e167d8c0cdd71305dc75c.tar.gz
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
Diffstat (limited to 'sys/i386/bios')
-rw-r--r--sys/i386/bios/smapi.c2
1 files changed, 1 insertions, 1 deletions
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);
OpenPOWER on IntegriCloud