Synchronize with Feral CVS repository:

- whitespace


git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@257 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
Stanislaw Gruszka
2008-02-12 09:05:53 +00:00
parent bd61ebf496
commit 6a0dedb63d
2 changed files with 10 additions and 6 deletions

View File

@@ -1,4 +1,4 @@
/* $Id: isp_linux.c,v 1.207 2007/11/13 01:25:50 mjacob Exp $ */
/* $Id: isp_linux.c,v 1.208 2007/11/15 18:24:54 mjacob Exp $ */
/*
* Copyright (c) 1997-2007 by Matthew Jacob
* All rights reserved.
@@ -96,9 +96,9 @@ static char *isp_wwpns;
static char *isp_wwnns;
#ifdef ISP_TARGET_MODE
#ifndef ISP_PARENT_TARGET
#define ISP_PARENT_TARGET scsi_target_handler
#ifdef ISP_TARGET_MODE
#ifndef ISP_PARENT_TARGET
#define ISP_PARENT_TARGET scsi_target_handler
#endif
#define CALL_PARENT_TMD(hba, tmd, action) \
@@ -861,7 +861,7 @@ isp_init_target(ispsoftc_t *isp)
isp->isp_osinfo.npool[i].notify.nt_lreserved = &isp->isp_osinfo.npool[i+1];
}
for (i = 0; i < (N_TGT_AUX >> 5); i++) {
isp->isp_osinfo.auxbmap[i] = 0;
isp->isp_osinfo.auxbmap[i] = 0;
}
MEMCPY(isp->isp_osinfo.inqdata, inqdsd, DEFAULT_INQSIZE);
isp->isp_osinfo.pending_t = NULL;

View File

@@ -1,4 +1,4 @@
/* $Id: isp_linux.h,v 1.142 2007/11/13 20:20:04 mjacob Exp $ */
/* $Id: isp_linux.h,v 1.143 2007/11/15 18:41:47 mjacob Exp $ */
/*
* Copyright (c) 1997-2007 by Matthew Jacob
* All rights reserved.
@@ -75,6 +75,10 @@
#error "Only Linux 2.6 kernels are supported with this driver"
#endif
#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,23)
#error "There are problems with 2.6.23 and later kernels at present"
#endif
#ifndef UNUSED_PARAMETER
#define UNUSED_PARAMETER(x) (void) x
#endif