Print this page
5719 Add support for LSI Fury adapters

Split Close
Expand all
Collapse all
          --- old/usr/src/uts/common/io/mr_sas/mr_sas.c
          +++ new/usr/src/uts/common/io/mr_sas/mr_sas.c
↓ open down ↓ 37 lines elided ↑ open up ↑
  38   38   * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
  39   39   * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
  40   40   * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH
  41   41   * DAMAGE.
  42   42   */
  43   43  
  44   44  /*
  45   45   * Copyright (c) 2009, 2010, Oracle and/or its affiliates. All rights reserved.
  46   46   * Copyright (c) 2011 Bayard G. Bell. All rights reserved.
  47   47   * Copyright 2013 Nexenta Systems, Inc. All rights reserved.
       48 + * Copyright 2015 Garrett D'Amore <garrett@damore.org>
  48   49   */
  49   50  
  50   51  #include <sys/types.h>
  51   52  #include <sys/param.h>
  52   53  #include <sys/file.h>
  53   54  #include <sys/errno.h>
  54   55  #include <sys/open.h>
  55   56  #include <sys/cred.h>
  56   57  #include <sys/modctl.h>
  57   58  #include <sys/conf.h>
↓ open down ↓ 508 lines elided ↑ open up ↑
 566  567                              "enable bus-mastering", instance_no));
 567  568                  } else {
 568  569                          con_log(CL_DLEVEL1, (CE_CONT, "mr_sas%d: "
 569  570                              "bus-mastering already set", instance_no));
 570  571                  }
 571  572  
 572  573                  /* initialize function pointers */
 573  574                  switch (device_id) {
 574  575                  case PCI_DEVICE_ID_LSI_TBOLT:
 575  576                  case PCI_DEVICE_ID_LSI_INVADER:
      577 +                case PCI_DEVICE_ID_LSI_FURY:
 576  578                          con_log(CL_ANN, (CE_NOTE,
 577  579                              "mr_sas: 2208 T.B. device detected"));
 578  580  
 579  581                          instance->func_ptr =
 580  582                              &mrsas_function_template_fusion;
 581  583                          instance->tbolt = 1;
 582  584                          break;
 583  585  
 584  586                  case PCI_DEVICE_ID_LSI_SKINNY:
 585  587                  case PCI_DEVICE_ID_LSI_SKINNY_NEW:
↓ open down ↓ 7352 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX