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

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/pci_subr.c between version 1.77 and 1.78

version 1.77, 2009/01/20 13:54:43 version 1.78, 2010/01/13 12:18:55
Line 431  pci_devinfo(pcireg_t id_reg, pcireg_t cl
Line 431  pci_devinfo(pcireg_t id_reg, pcireg_t cl
                 else {                  else {
                         if (subclassp == NULL || subclassp->name == NULL)                          if (subclassp == NULL || subclassp->name == NULL)
                                 cp += snprintf(cp, ep - cp,                                  cp += snprintf(cp, ep - cp,
                                     "%s subclass 0x%02x",                                      "%s, subclass 0x%02x",
                                     classp->name, subclass);                                      classp->name, subclass);
                         else                          else
                                 cp += snprintf(cp, ep - cp, "%s %s",                                  cp += snprintf(cp, ep - cp, "%s %s",
Line 859  pci_conf_print_pcie_cap(const pcireg_t *
Line 859  pci_conf_print_pcie_cap(const pcireg_t *
                         printf("      Command Completed Interrupt Enabled\n");                          printf("      Command Completed Interrupt Enabled\n");
                 if ((regs[o2i(capoff + 0x18)] & 0x0020) != 0)                  if ((regs[o2i(capoff + 0x18)] & 0x0020) != 0)
                         printf("      Hot-Plug Interrupt Enabled\n");                          printf("      Hot-Plug Interrupt Enabled\n");
                 printf("      Attention Indictor Control: ");                  printf("      Attention Indicator Control: ");
                 switch ((regs[o2i(capoff + 0x18)] & 0x00a0) >> 6) {                  switch ((regs[o2i(capoff + 0x18)] & 0x00c0) >> 6) {
                 case 0x0:                  case 0x0:
                         printf("reserved\n");                          printf("reserved\n");
                         break;                          break;
Line 874  pci_conf_print_pcie_cap(const pcireg_t *
Line 874  pci_conf_print_pcie_cap(const pcireg_t *
                         printf("off\n");                          printf("off\n");
                         break;                          break;
                 }                  }
                 printf("      Power Indictor Control: ");                  printf("      Power Indicator Control: ");
                 switch ((regs[o2i(capoff + 0x18)] & 0x0300) >> 8) {                  switch ((regs[o2i(capoff + 0x18)] & 0x0300) >> 8) {
                 case 0x0:                  case 0x0:
                         printf("reserved\n");                          printf("reserved\n");

Legend:
Removed from v.1.77  
changed lines
  Added in v.1.78

CVSweb <webmaster@jp.NetBSD.org>