Deleted Added
full compact
ispvar.h (120018) ispvar.h (125544)
1/* $FreeBSD: head/sys/dev/isp/ispvar.h 120018 2003-09-13 01:59:14Z mjacob $ */
1/* $FreeBSD: head/sys/dev/isp/ispvar.h 125544 2004-02-07 03:38:39Z mjacob $ */
2/*
3 * Soft Definitions for for Qlogic ISP SCSI adapters.
4 *
5 * Copyright (c) 1997, 1998, 1999, 2000 by Matthew Jacob
6 * All rights reserved.
7 *
8 * Redistribution and use in source and binary forms, with or without
9 * modification, are permitted provided that the following conditions

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

482 * options, but you haven't given the f/w any ram resources for ATIOs or
483 * Immediate Notifies, the f/w just handles what it can and you never see
484 * anything. Basically, it sends a single byte of data (the first byte,
485 * which you can set as part of the INITIALIZE CONTROL BLOCK command) for
486 * INQUIRY, and sends back QUEUE FULL status for any other command.
487 *
488 */
489#define ISP_ROLE_NONE 0x0
2/*
3 * Soft Definitions for for Qlogic ISP SCSI adapters.
4 *
5 * Copyright (c) 1997, 1998, 1999, 2000 by Matthew Jacob
6 * All rights reserved.
7 *
8 * Redistribution and use in source and binary forms, with or without
9 * modification, are permitted provided that the following conditions

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

482 * options, but you haven't given the f/w any ram resources for ATIOs or
483 * Immediate Notifies, the f/w just handles what it can and you never see
484 * anything. Basically, it sends a single byte of data (the first byte,
485 * which you can set as part of the INITIALIZE CONTROL BLOCK command) for
486 * INQUIRY, and sends back QUEUE FULL status for any other command.
487 *
488 */
489#define ISP_ROLE_NONE 0x0
490#define ISP_ROLE_INITIATOR 0x1
491#define ISP_ROLE_TARGET 0x2
490#define ISP_ROLE_TARGET 0x1
491#define ISP_ROLE_INITIATOR 0x2
492#define ISP_ROLE_BOTH (ISP_ROLE_TARGET|ISP_ROLE_INITIATOR)
493#define ISP_ROLE_EITHER ISP_ROLE_BOTH
494#ifndef ISP_DEFAULT_ROLES
495#define ISP_DEFAULT_ROLES ISP_ROLE_INITIATOR
496#endif
497
498
499/*

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

674 ISPCTL_UPDATE_PARAMS, /* Update Operating Parameters (SCSI) */
675 ISPCTL_FCLINK_TEST, /* Test FC Link Status */
676 ISPCTL_SCAN_FABRIC, /* (Re)scan Fabric Name Server */
677 ISPCTL_SCAN_LOOP, /* (Re)scan Local Loop */
678 ISPCTL_PDB_SYNC, /* Synchronize Port Database */
679 ISPCTL_SEND_LIP, /* Send a LIP */
680 ISPCTL_GET_POSMAP, /* Get FC-AL position map */
681 ISPCTL_RUN_MBOXCMD, /* run a mailbox command */
492#define ISP_ROLE_BOTH (ISP_ROLE_TARGET|ISP_ROLE_INITIATOR)
493#define ISP_ROLE_EITHER ISP_ROLE_BOTH
494#ifndef ISP_DEFAULT_ROLES
495#define ISP_DEFAULT_ROLES ISP_ROLE_INITIATOR
496#endif
497
498
499/*

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

674 ISPCTL_UPDATE_PARAMS, /* Update Operating Parameters (SCSI) */
675 ISPCTL_FCLINK_TEST, /* Test FC Link Status */
676 ISPCTL_SCAN_FABRIC, /* (Re)scan Fabric Name Server */
677 ISPCTL_SCAN_LOOP, /* (Re)scan Local Loop */
678 ISPCTL_PDB_SYNC, /* Synchronize Port Database */
679 ISPCTL_SEND_LIP, /* Send a LIP */
680 ISPCTL_GET_POSMAP, /* Get FC-AL position map */
681 ISPCTL_RUN_MBOXCMD, /* run a mailbox command */
682 ISPCTL_TOGGLE_TMODE /* toggle target mode */
682 ISPCTL_TOGGLE_TMODE, /* toggle target mode */
683 ISPCTL_GET_PDB /* get a single port database entry */
683} ispctl_t;
684int isp_control(struct ispsoftc *, ispctl_t, void *);
685
686
687/*
688 * Platform Dependent to Internal to External Control Function
689 * (each platform must provide such a function)
690 *

--- 212 unchanged lines hidden ---
684} ispctl_t;
685int isp_control(struct ispsoftc *, ispctl_t, void *);
686
687
688/*
689 * Platform Dependent to Internal to External Control Function
690 * (each platform must provide such a function)
691 *

--- 212 unchanged lines hidden ---