Add D_DISK flag.

This commit is contained in:
Poul-Henning Kamp 1998-06-26 18:13:57 +00:00
parent d41e2bb8a1
commit 761b9eeed9
3 changed files with 6 additions and 6 deletions

View File

@ -13,7 +13,7 @@
* all derivative works or modified versions.
*
* From: Version 1.9, Mon Oct 9 20:27:42 MSK 1995
* $Id: wcd.c,v 1.54 1998/06/08 08:50:43 bde Exp $
* $Id: wcd.c,v 1.55 1998/06/25 11:27:20 phk Exp $
*/
#include "wdc.h"
@ -49,7 +49,7 @@ static d_strategy_t wcdstrategy;
static struct cdevsw wcd_cdevsw;
static struct bdevsw wcd_bdevsw =
{ wcdopen, wcdclose, wcdstrategy, wcdioctl, /*19*/
nodump, nopsize, 0, "wcd", &wcd_cdevsw, -1 };
nodump, nopsize, D_DISK, "wcd", &wcd_cdevsw, -1 };
#ifndef ATAPI_STATIC
static

View File

@ -23,7 +23,7 @@
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*
* $Id: wfd.c,v 1.9 1998/03/20 23:14:52 msmith Exp $
* $Id: wfd.c,v 1.10 1998/06/07 17:11:06 dfr Exp $
*/
/*
@ -62,7 +62,7 @@ static d_strategy_t wfdstrategy;
static struct cdevsw wfd_cdevsw;
static struct bdevsw wfd_bdevsw =
{ wfdbopen, wfdbclose, wfdstrategy, wfdioctl,
nodump, nopsize, 0, "wfd", &wfd_cdevsw, -1 };
nodump, nopsize, D_DISK, "wfd", &wfd_cdevsw, -1 };
#ifndef ATAPI_STATIC
static

View File

@ -23,7 +23,7 @@
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*
* $Id: wfd.c,v 1.9 1998/03/20 23:14:52 msmith Exp $
* $Id: wfd.c,v 1.10 1998/06/07 17:11:06 dfr Exp $
*/
/*
@ -62,7 +62,7 @@ static d_strategy_t wfdstrategy;
static struct cdevsw wfd_cdevsw;
static struct bdevsw wfd_bdevsw =
{ wfdbopen, wfdbclose, wfdstrategy, wfdioctl,
nodump, nopsize, 0, "wfd", &wfd_cdevsw, -1 };
nodump, nopsize, D_DISK, "wfd", &wfd_cdevsw, -1 };
#ifndef ATAPI_STATIC
static