summaryrefslogtreecommitdiffstats
path: root/sys/sys/devicestat.h
diff options
context:
space:
mode:
authorwollman <wollman@FreeBSD.org>1998-11-14 21:58:51 +0000
committerwollman <wollman@FreeBSD.org>1998-11-14 21:58:51 +0000
commit2f0e3424ed6bcb975173592be454fab41a7d659a (patch)
tree570ac1a59a276154fa1ecdf8529f4edc007e8800 /sys/sys/devicestat.h
parentd0ac456c883f5146f0c93ef654a57e02ffbffb87 (diff)
downloadFreeBSD-src-2f0e3424ed6bcb975173592be454fab41a7d659a.zip
FreeBSD-src-2f0e3424ed6bcb975173592be454fab41a7d659a.tar.gz
My changes to the new device interface:
- Interface wth the new resource manager. - Allow for multiple drivers implementing a single devclass. - Remove ordering dependencies between header files. - Style cleanup. - Add DEVICE_SUSPEND and DEVICE_RESUME methods. - Move to a single-phase interrupt setup scheme. Kernel builds on the Alpha are brken until Doug gets a chance to incorporate these changes on that side. Agreed to in principle by: dfr
Diffstat (limited to 'sys/sys/devicestat.h')
-rw-r--r--sys/sys/devicestat.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/sys/devicestat.h b/sys/sys/devicestat.h
index 03d106a..8ffd049 100644
--- a/sys/sys/devicestat.h
+++ b/sys/sys/devicestat.h
@@ -25,7 +25,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * $Id: devicestat.h,v 1.1 1998/09/15 08:16:17 gibbs Exp $
+ * $Id: devicestat.h,v 1.2 1998/09/20 00:10:58 ken Exp $
*/
#ifndef _DEVICESTAT_H
@@ -182,7 +182,7 @@ struct devstat {
};
#ifdef KERNEL
-void devstat_add_entry(struct devstat *ds, char *dev_name,
+void devstat_add_entry(struct devstat *ds, const char *dev_name,
int unit_number, u_int32_t block_size,
devstat_support_flags flags,
devstat_type_flags device_type);
OpenPOWER on IntegriCloud