Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/uebayasi-xip]: src/sys/dev Use consistent cdevsw/bdevsw flags.
details: https://anonhg.NetBSD.org/src/rev/1c4f0f66da80
branches: uebayasi-xip
changeset: 751779:1c4f0f66da80
user: uebayasi <uebayasi%NetBSD.org@localhost>
date: Fri Aug 20 07:03:23 2010 +0000
description:
Use consistent cdevsw/bdevsw flags.
diffstat:
sys/dev/flash.c | 4 ++--
sys/dev/xmd.c | 4 ++--
2 files changed, 4 insertions(+), 4 deletions(-)
diffs (36 lines):
diff -r 15e1a382942d -r 1c4f0f66da80 sys/dev/flash.c
--- a/sys/dev/flash.c Thu Aug 19 12:36:58 2010 +0000
+++ b/sys/dev/flash.c Fri Aug 20 07:03:23 2010 +0000
@@ -1,4 +1,4 @@
-/* $Id: flash.c,v 1.1.2.12 2010/08/11 13:24:47 uebayasi Exp $ */
+/* $Id: flash.c,v 1.1.2.13 2010/08/20 07:03:23 uebayasi Exp $ */
/*-
* Copyright (c) 2010 Tsubai Masanari. All rights reserved.
@@ -53,7 +53,7 @@
struct cdevsw flash_cdevsw = {
nullopen, nullclose, nullread, nowrite, flash_ioctl,
- nostop, notty, nopoll, flash_mmap, nokqfilter
+ nostop, notty, nopoll, flash_mmap, nokqfilter, D_DISK | D_MPSAFE
};
static int
diff -r 15e1a382942d -r 1c4f0f66da80 sys/dev/xmd.c
--- a/sys/dev/xmd.c Thu Aug 19 12:36:58 2010 +0000
+++ b/sys/dev/xmd.c Fri Aug 20 07:03:23 2010 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: xmd.c,v 1.1.2.1 2010/08/19 12:36:58 uebayasi Exp $ */
+/* $NetBSD: xmd.c,v 1.1.2.2 2010/08/20 07:03:23 uebayasi Exp $ */
/*-
* Copyright (c) 2010 Tsubai Masanari. All rights reserved.
@@ -79,7 +79,7 @@
struct cdevsw xmd_cdevsw = {
nullopen, nullclose, nullread, nowrite, xmd_ioctl,
- nostop, notty, nopoll, xmd_mmap, nokqfilter
+ nostop, notty, nopoll, xmd_mmap, nokqfilter, D_DISK | D_MPSAFE
};
extern struct cfdriver xmd_cd;
Home |
Main Index |
Thread Index |
Old Index