Synchronize with Feral CVS repository:

Add unit attention injection. Fix some ridiculous Sense things.

Say why we couldn't pci register the driver.

Make isp_thread_event return an int if it fails to send the event. If it
fails to send the event, and this was for the 24XX card finding out the
initiator for a command, return the command with a BUSY status.

An N-port handle of zero is legal for a 24XX.

Add some more special N-Port handle definitions for 2K f/w.


git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@265 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
Stanislaw Gruszka
2008-02-12 09:40:40 +00:00
parent 4bfc86256a
commit dc71cd464c
10 changed files with 198 additions and 120 deletions
+3 -2
View File
@@ -1,4 +1,4 @@
/* $Id: isp_linux.h,v 1.145 2007/12/05 00:41:42 mjacob Exp $ */
/* $Id: isp_linux.h,v 1.146 2007/12/11 22:19:07 mjacob Exp $ */
/*
* Copyright (c) 1997-2007 by Matthew Jacob
* All rights reserved.
@@ -361,6 +361,7 @@ struct isposinfo {
u64 cmds_started;
u64 cmds_completed;
unsigned long out_of_tmds;
#endif
};
#define mbtimer isp_osinfo.mbtimer
@@ -678,7 +679,7 @@ void isplinux_undo_proc(ispsoftc_t *);
int isplinux_reinit(ispsoftc_t *);
void isplinux_sqd(struct Scsi_Host *, struct scsi_device *);
void isp_thread_event(ispsoftc_t *, int, void *, int, const char *, const int line);
int isp_thread_event(ispsoftc_t *, int, void *, int, const char *, const int line);
static inline uint64_t _isp_microtime_sub(struct timeval *, struct timeval *);
static inline void _isp_usec_delay(unsigned int);