linux/drivers/scsi/mpt3sas/mpt3sas_trigger_pages.h

/* SPDX-License-Identifier: GPL-2.0-or-later */

/*
 * This is the Fusion MPT base driver providing common API layer interface
 * to store diag trigger values into persistent driver triggers pages
 * for MPT (Message Passing Technology) based controllers.
 *
 * Copyright (C) 2020  Broadcom Inc.
 *
 * Authors: Broadcom Inc.
 * Sreekanth Reddy  <[email protected]>
 *
 * Send feedback to : [email protected])
 */

#include "mpi/mpi2_cnfg.h"

#ifndef MPI2_TRIGGER_PAGES_H
#define MPI2_TRIGGER_PAGES_H

#define MPI2_CONFIG_EXTPAGETYPE_DRIVER_PERSISTENT_TRIGGER
#define MPI26_DRIVER_TRIGGER_PAGE0_PAGEVERSION
Mpi26DriverTriggerPage0_t;

/* Trigger Flags */
#define MPI26_DRIVER_TRIGGER0_FLAG_MASTER_TRIGGER_VALID
#define MPI26_DRIVER_TRIGGER0_FLAG_MPI_EVENT_TRIGGER_VALID
#define MPI26_DRIVER_TRIGGER0_FLAG_SCSI_SENSE_TRIGGER_VALID
#define MPI26_DRIVER_TRIGGER0_FLAG_LOGINFO_TRIGGER_VALID

#define MPI26_DRIVER_TRIGGER_PAGE1_PAGEVERSION
MPI26_DRIVER_MASTER_TRIGGER_ENTRY;

#define MPI26_MAX_MASTER_TRIGGERS
Mpi26DriverTriggerPage1_t;

#define MPI26_DRIVER_TRIGGER_PAGE2_PAGEVERSION
MPI26_DRIVER_MPI_EVENT_TRIGGER_ENTRY;

#define MPI26_MAX_MPI_EVENT_TRIGGERS
Mpi26DriverTriggerPage2_t;

#define MPI26_DRIVER_TRIGGER_PAGE3_PAGEVERSION
MPI26_DRIVER_SCSI_SENSE_TRIGGER_ENTRY;

#define MPI26_MAX_SCSI_SENSE_TRIGGERS
Mpi26DriverTriggerPage3_t;

#define MPI26_DRIVER_TRIGGER_PAGE4_PAGEVERSION
MPI26_DRIVER_IOCSTATUS_LOGINFO_TRIGGER_ENTRY;

#define MPI26_MAX_LOGINFO_TRIGGERS
Mpi26DriverTriggerPage4_t;

#endif