Print this page
hg changesets 607a5b46a793..b706c96317c3
Fix ncpus for early boot config
Purge the ack to the interrupt before exiting mptsas_intr()
Changes from code review
Changes to enable driver to compile.
Header paths, object lists, etc.
*** 20,44 ****
*/
/*
* Copyright (c) 2009, 2010, Oracle and/or its affiliates. All rights reserved.
* Copyright 2013 Nexenta Systems, Inc. All rights reserved.
*/
/*
* SM-HBA interfaces/definitions for MPT SAS driver.
*/
! #ifndef _MPTSAS_SMHBA_H
! #define _MPTSAS_SMHBA_H
#ifdef __cplusplus
extern "C" {
#endif
/* Leverage definition of data_type_t in nvpair.h */
#include <sys/nvpair.h>
! #include <sys/scsi/adapters/mpt_sas/mptsas_var.h>
#define MPTSAS_NUM_PHYS "num-phys"
#define MPTSAS_NUM_PHYS_HBA "num-phys-hba"
#define MPTSAS_SMHBA_SUPPORTED "sm-hba-supported"
#define MPTSAS_DRV_VERSION "driver-version"
--- 20,45 ----
*/
/*
* Copyright (c) 2009, 2010, Oracle and/or its affiliates. All rights reserved.
* Copyright 2013 Nexenta Systems, Inc. All rights reserved.
+ * Copyright (c) 2014, Tegile Systems Inc. All rights reserved.
*/
/*
* SM-HBA interfaces/definitions for MPT SAS driver.
*/
! #ifndef _MPTSAS3_SMHBA_H
! #define _MPTSAS3_SMHBA_H
#ifdef __cplusplus
extern "C" {
#endif
/* Leverage definition of data_type_t in nvpair.h */
#include <sys/nvpair.h>
! #include <sys/scsi/adapters/mpt_sas3/mptsas3_var.h>
#define MPTSAS_NUM_PHYS "num-phys"
#define MPTSAS_NUM_PHYS_HBA "num-phys-hba"
#define MPTSAS_SMHBA_SUPPORTED "sm-hba-supported"
#define MPTSAS_DRV_VERSION "driver-version"
*** 77,82 ****
int mptsas_smhba_phy_init(mptsas_t *mpt);
int mptsas_smhba_phy_state_update(mptsas_t *mpt, uint8_t phy);
#ifdef __cplusplus
}
#endif
! #endif /* _MPTSAS_SMHBA_H */
--- 78,83 ----
int mptsas_smhba_phy_init(mptsas_t *mpt);
int mptsas_smhba_phy_state_update(mptsas_t *mpt, uint8_t phy);
#ifdef __cplusplus
}
#endif
! #endif /* _MPTSAS3_SMHBA_H */