Deleted Added
full compact
aic7xxx.h (41816) aic7xxx.h (42652)
1/*
2 * Interface to the generic driver for the aic7xxx based adaptec
3 * SCSI controllers. This is used to implement product specific
4 * probe and attach routines.
5 *
6 * Copyright (c) 1994, 1995, 1996, 1997, 1998 Justin T. Gibbs.
7 * All rights reserved.
8 *

--- 20 unchanged lines hidden (view full) ---

29 * ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
30 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
31 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
32 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
33 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
34 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
35 * SUCH DAMAGE.
36 *
1/*
2 * Interface to the generic driver for the aic7xxx based adaptec
3 * SCSI controllers. This is used to implement product specific
4 * probe and attach routines.
5 *
6 * Copyright (c) 1994, 1995, 1996, 1997, 1998 Justin T. Gibbs.
7 * All rights reserved.
8 *

--- 20 unchanged lines hidden (view full) ---

29 * ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
30 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
31 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
32 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
33 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
34 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
35 * SUCH DAMAGE.
36 *
37 * $Id: aic7xxx.h,v 1.3 1998/12/10 04:14:50 gibbs Exp $
37 * $Id: aic7xxx.h,v 1.4 1998/12/15 08:22:41 gibbs Exp $
38 */
39
40#ifndef _AIC7XXX_H_
41#define _AIC7XXX_H_
42
43#include "ahc.h" /* for NAHC from config */
44#include "opt_aic7xxx.h" /* for config options */
45

--- 358 unchanged lines hidden (view full) ---

404
405 /*
406 * Target mode related state kept on a per enabled lun basis.
407 * Targets that are not enabled will have null entries.
408 */
409 struct tmode_tstate* enabled_targets[16];
410
411 /*
38 */
39
40#ifndef _AIC7XXX_H_
41#define _AIC7XXX_H_
42
43#include "ahc.h" /* for NAHC from config */
44#include "opt_aic7xxx.h" /* for config options */
45

--- 358 unchanged lines hidden (view full) ---

404
405 /*
406 * Target mode related state kept on a per enabled lun basis.
407 * Targets that are not enabled will have null entries.
408 */
409 struct tmode_tstate* enabled_targets[16];
410
411 /*
412 * The black hole device responsible for handling requests for
413 * disabled luns on enabled targets.
414 */
415 struct tmode_lstate* black_hole;
416
417 /*
412 * Device instance currently on the bus awaiting a continue TIO
413 * for a command that was not given the disconnect priveledge.
414 */
415 struct tmode_lstate* pending_device;
416
417 /*
418 * Card characteristics
419 */

--- 67 unchanged lines hidden (view full) ---

487 u_int8_t send_msg_perror;
488 ahc_msg_type msg_type;
489 u_int8_t msgout_buf[8]; /* Message we are sending */
490 u_int8_t msgin_buf[8]; /* Message we are receiving */
491 u_int msgout_len; /* Length of message to send */
492 u_int msgout_index; /* Current index in msgout */
493 u_int msgin_index; /* Current index in msgin */
494
418 * Device instance currently on the bus awaiting a continue TIO
419 * for a command that was not given the disconnect priveledge.
420 */
421 struct tmode_lstate* pending_device;
422
423 /*
424 * Card characteristics
425 */

--- 67 unchanged lines hidden (view full) ---

493 u_int8_t send_msg_perror;
494 ahc_msg_type msg_type;
495 u_int8_t msgout_buf[8]; /* Message we are sending */
496 u_int8_t msgin_buf[8]; /* Message we are receiving */
497 u_int msgout_len; /* Length of message to send */
498 u_int msgout_index; /* Current index in msgout */
499 u_int msgin_index; /* Current index in msgin */
500
501 u_int enabled_luns;
502
495 /*
496 * "Bus" addresses of our data structures.
497 */
498 u_int32_t hscb_busaddr;
499};
500
501struct full_ahc_softc {
502 struct ahc_softc softc;

--- 39 unchanged lines hidden ---
503 /*
504 * "Bus" addresses of our data structures.
505 */
506 u_int32_t hscb_busaddr;
507};
508
509struct full_ahc_softc {
510 struct ahc_softc softc;

--- 39 unchanged lines hidden ---