Print this page
fixup .text where possible
7127  remove -Wno-missing-braces from Makefile.uts

Split Close
Expand all
Collapse all
          --- old/usr/src/uts/common/io/mac/plugins/mac_ib.c
          +++ new/usr/src/uts/common/io/mac/plugins/mac_ib.c
↓ open down ↓ 15 lines elided ↑ open up ↑
  16   16   * fields enclosed by brackets "[]" replaced with your own identifying
  17   17   * information: Portions Copyright [yyyy] [name of copyright owner]
  18   18   *
  19   19   * CDDL HEADER END
  20   20   */
  21   21  /*
  22   22   * Copyright 2008 Sun Microsystems, Inc.  All rights reserved.
  23   23   * Use is subject to license terms.
  24   24   */
  25   25  
  26      -#pragma ident   "%Z%%M% %I%     %E% SMI"
  27      -
  28   26  /*
  29   27   * DL_IB MAC Type plugin for the Nemo mac module
  30   28   */
  31   29  
  32   30  #include <sys/types.h>
  33   31  #include <sys/modctl.h>
  34   32  #include <sys/dlpi.h>
  35   33  #include <sys/ib/clients/ibd/ibd.h>
  36   34  #include <sys/mac.h>
  37   35  #include <sys/mac_ib.h>
↓ open down ↓ 7 lines elided ↑ open up ↑
  45   43      0xff, 0x10, 0x40, 0x1b, 0x00, 0x00, 0x00, 0x00,
  46   44      0x00, 0x00, 0x00, 0x00, 0xff, 0xff, 0xff, 0xff };
  47   45  
  48   46  static struct modlmisc mac_ib_modlmisc = {
  49   47          &mod_miscops,
  50   48          "Infiniband MAC Type plugin 1.0"
  51   49  };
  52   50  
  53   51  static struct modlinkage mac_ib_modlinkage = {
  54   52          MODREV_1,
  55      -        &mac_ib_modlmisc,
  56      -        NULL
       53 +        {   &mac_ib_modlmisc,
       54 +            NULL }
  57   55  };
  58   56  
  59   57  static mactype_ops_t mac_ib_type_ops;
  60   58  
  61   59  int
  62   60  _init(void)
  63   61  {
  64   62          mactype_register_t *mtrp;
  65   63          int     err;
  66   64  
↓ open down ↓ 242 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX