Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/dev/pci Add TWEIO_{ADD, DEL}_UNIT ioctls (used by 3ware m...



details:   https://anonhg.NetBSD.org/src/rev/c2d914bd1d8b
branches:  trunk
changeset: 552233:c2d914bd1d8b
user:      thorpej <thorpej%NetBSD.org@localhost>
date:      Mon Sep 22 01:44:57 2003 +0000

description:
Add TWEIO_{ADD,DEL}_UNIT ioctls (used by 3ware management tools).  From
FreeBSD.

diffstat:

 sys/dev/pci/tweio.h |  8 +++++++-
 1 files changed, 7 insertions(+), 1 deletions(-)

diffs (19 lines):

diff -r d5828ad6db81 -r c2d914bd1d8b sys/dev/pci/tweio.h
--- a/sys/dev/pci/tweio.h       Mon Sep 22 01:28:25 2003 +0000
+++ b/sys/dev/pci/tweio.h       Mon Sep 22 01:44:57 2003 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: tweio.h,v 1.1 2002/12/13 23:31:33 christos Exp $       */
+/*     $NetBSD: tweio.h,v 1.2 2003/09/22 01:44:57 thorpej Exp $        */
 /*-
  * Copyright (c) 2000 Michael Smith
  * Copyright (c) 2000 BSDi
@@ -92,3 +92,9 @@
  * Request a controller soft-reset
  */
 #define        TWEIO_RESET     _IO('T', 106)
+
+/*
+ * Request a drive addition or deletion
+ */
+#define        TWEIO_ADD_UNIT  _IOW('U', 107, int)
+#define        TWEIO_DEL_UNIT  _IOW('U', 108, int)



Home | Main Index | Thread Index | Old Index