[BACK]Return to ixv.c CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / src / sys / dev / pci / ixgbe

Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.

Diff for /src/sys/dev/pci/ixgbe/ixv.c between version 1.59 and 1.60

version 1.59, 2017/09/11 09:52:13 version 1.60, 2017/09/11 10:11:05
Line 290  ixv_attach(device_t parent, device_t dev
Line 290  ixv_attach(device_t parent, device_t dev
         pcireg_t        id, subid;          pcireg_t        id, subid;
         ixgbe_vendor_info_t *ent;          ixgbe_vendor_info_t *ent;
         const struct pci_attach_args *pa = aux;          const struct pci_attach_args *pa = aux;
           const char *apivstr;
         INIT_DEBUGOUT("ixv_attach: begin");          INIT_DEBUGOUT("ixv_attach: begin");
   
         /*          /*
Line 414  ixv_attach(device_t parent, device_t dev
Line 414  ixv_attach(device_t parent, device_t dev
         if (error)          if (error)
                 aprint_normal_dev(dev,                  aprint_normal_dev(dev,
                     "MBX API negotiation failed during attach!\n");                      "MBX API negotiation failed during attach!\n");
           switch (hw->api_version) {
           case ixgbe_mbox_api_10:
                   apivstr = "1.0";
                   break;
           case ixgbe_mbox_api_20:
                   apivstr = "2.0";
                   break;
           case ixgbe_mbox_api_11:
                   apivstr = "1.1";
                   break;
           case ixgbe_mbox_api_12:
                   apivstr = "1.2";
                   break;
           case ixgbe_mbox_api_13:
                   apivstr = "1.3";
                   break;
           default:
                   apivstr = "unknown";
                   break;
           }
           aprint_normal_dev(dev, "Mailbox API %s\n", apivstr);
   
         /* If no mac address was assigned, make a random one */          /* If no mac address was assigned, make a random one */
         if (!ixv_check_ether_addr(hw->mac.addr)) {          if (!ixv_check_ether_addr(hw->mac.addr)) {

Legend:
Removed from v.1.59  
changed lines
  Added in v.1.60

CVSweb <webmaster@jp.NetBSD.org>