Change DRVSUSPENDDEV ioctl number. Fixes PR kern/38740.
This commit is contained in:
parent
7b8f512433
commit
bb3bf45dbb
14
UPDATING
14
UPDATING
|
@ -1,4 +1,4 @@
|
|||
$NetBSD: UPDATING,v 1.172 2008/05/31 09:47:23 lukem Exp $
|
||||
$NetBSD: UPDATING,v 1.173 2008/05/31 13:24:57 freza Exp $
|
||||
|
||||
This file (UPDATING) is intended to be a brief reference to recent
|
||||
changes that might cause problems in the build process, and a guide for
|
||||
|
@ -16,6 +16,18 @@ See also: BUILDING, build.sh, Makefile.
|
|||
Recent changes:
|
||||
^^^^^^^^^^^^^^^
|
||||
|
||||
20080531:
|
||||
The ioctl number of DRVSUSPENDDEV command on /dev/drvctl changed
|
||||
from 125 (conflicted with DRVCTLCOMMAND) to 129. The drvctl(8)
|
||||
utility needs to be rebuilt and reinstalled as older binaries
|
||||
won't work correctly. The following sequence of commands:
|
||||
|
||||
$ (cd sys/sys/ && nbmake-$arch includes)
|
||||
$ (cd sbin/drvctl/ && nbmake-$arch clean)
|
||||
$ (cd sbin/drvctl/ && nbmake-$arch all)
|
||||
|
||||
leaves new drvctl utility in sbin/drvctl build directory.
|
||||
|
||||
20080503:
|
||||
The <bsd.lib.mk> variable MKPRIVATELIB was renamed to LIBISPRIVATE.
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: drvctlio.h,v 1.6 2008/05/25 12:30:40 jmcneill Exp $ */
|
||||
/* $NetBSD: drvctlio.h,v 1.7 2008/05/31 13:24:57 freza Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 2006 The NetBSD Foundation, Inc.
|
||||
|
@ -67,12 +67,16 @@ struct devrescanargs {
|
|||
|
||||
#define DRVDETACHDEV _IOW('D', 123, struct devdetachargs)
|
||||
#define DRVRESCANBUS _IOW('D', 124, struct devrescanargs)
|
||||
#define DRVSUSPENDDEV _IOW('D', 125, struct devpmargs)
|
||||
#define DRVCTLCOMMAND _IOWR('D', 125, struct plistref)
|
||||
#define DRVRESUMEDEV _IOW('D', 126, struct devpmargs)
|
||||
#define DRVLISTDEV _IOWR('D', 127, struct devlistargs)
|
||||
#define DRVGETEVENT _IOR('D', 128, struct plistref)
|
||||
#define DRVSUSPENDDEV _IOW('D', 129, struct devpmargs)
|
||||
|
||||
/*
|
||||
* DRVCTLCOMMAND documentation
|
||||
* ~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
*
|
||||
* Generic ioctl that takes a dictionary as an argument (specifies the
|
||||
* command and arguments) and returns a dictionary with the results.
|
||||
*
|
||||
|
@ -103,14 +107,11 @@ struct devrescanargs {
|
|||
* <!-- results vary with command -->
|
||||
* </dict>
|
||||
* </dict>
|
||||
*/
|
||||
#define DRVCTLCOMMAND _IOWR('D', 125, struct plistref)
|
||||
|
||||
/*****************************************************************************
|
||||
*
|
||||
*
|
||||
* Commands recognized by DRVCTLCOMMAND
|
||||
*****************************************************************************/
|
||||
|
||||
/*
|
||||
* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
*
|
||||
* get-properties
|
||||
*
|
||||
* Arguments:
|
||||
|
|
Loading…
Reference in New Issue