Source-Changes-HG archive

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

[src/trunk]: src/sys/dev/ic Get rid of AHC_LUN_WILDCARD, making differences w...



details:   https://anonhg.NetBSD.org/src/rev/c004bd2ad8ef
branches:  trunk
changeset: 546080:c004bd2ad8ef
user:      fvdl <fvdl%NetBSD.org@localhost>
date:      Sun Apr 20 11:17:20 2003 +0000

description:
Get rid of AHC_LUN_WILDCARD, making differences with FreeBSD smaller.

diffstat:

 sys/dev/ic/aic7xxx_cam.h |  4 ++--
 sys/dev/ic/aic7xxxvar.h  |  4 +---
 2 files changed, 3 insertions(+), 5 deletions(-)

diffs (39 lines):

diff -r 7edbddefadad -r c004bd2ad8ef sys/dev/ic/aic7xxx_cam.h
--- a/sys/dev/ic/aic7xxx_cam.h  Sun Apr 20 07:06:33 2003 +0000
+++ b/sys/dev/ic/aic7xxx_cam.h  Sun Apr 20 11:17:20 2003 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: aic7xxx_cam.h,v 1.2 2003/04/19 19:38:21 fvdl Exp $     */
+/*     $NetBSD: aic7xxx_cam.h,v 1.3 2003/04/20 11:17:20 fvdl Exp $     */
 
 /*
  * Data structures and definitions for the CAM system.
@@ -44,7 +44,7 @@
 
 #define        CAM_BUS_WILDCARD ((u_int)~0)
 #define        CAM_TARGET_WILDCARD ((u_int)~0)
-#define        CAM_LUN_WILDCARD AHC_LUN_WILDCARD
+#define        CAM_LUN_WILDCARD -1
 
 /*
  * XXX translate FreeBSD SCSI status byte values to NetBSD, and define
diff -r 7edbddefadad -r c004bd2ad8ef sys/dev/ic/aic7xxxvar.h
--- a/sys/dev/ic/aic7xxxvar.h   Sun Apr 20 07:06:33 2003 +0000
+++ b/sys/dev/ic/aic7xxxvar.h   Sun Apr 20 11:17:20 2003 +0000
@@ -37,7 +37,7 @@
  * IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
  * POSSIBILITY OF SUCH DAMAGES.
  *
- * $Id: aic7xxxvar.h,v 1.33 2003/04/19 19:33:30 fvdl Exp $
+ * $Id: aic7xxxvar.h,v 1.34 2003/04/20 11:17:20 fvdl Exp $
  *
  * $FreeBSD: /repoman/r/ncvs/src/sys/dev/aic7xxx/aic7xxx.h,v 1.44 2003/01/20 20:44:55 gibbs Exp $
  */
@@ -137,8 +137,6 @@
                uint32_t           integer;
 };
 
-#define AHC_LUN_WILDCARD       -1
-
 /************************* Forward Declarations *******************************/
 struct ahc_platform_data;
 struct scb_platform_data;



Home | Main Index | Thread Index | Old Index