[BACK]Return to ehci_pci.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/ehci_pci.c between version 1.18.8.1 and 1.19

version 1.18.8.1, 2005/11/22 16:08:11 version 1.19, 2005/11/20 14:46:23
Line 243  ehci_dump_caps(ehci_softc_t *sc, pci_chi
Line 243  ehci_dump_caps(ehci_softc_t *sc, pci_chi
                 case EHCI_CAP_ID_LEGACY:                  case EHCI_CAP_ID_LEGACY:
                         legctlsts = pci_conf_read(pc, tag,                          legctlsts = pci_conf_read(pc, tag,
                                                   addr + PCI_EHCI_USBLEGCTLSTS);                                                    addr + PCI_EHCI_USBLEGCTLSTS);
                         printf("ehci_dump_caps: legsup=0x%08x "                          printf("ehci_dump_caps: 0x%08x 0x%08x\n",
                                "legctlsts=0x%08x\n", cap, legctlsts);                                 cap, legctlsts);
                         break;                          break;
                 default:                  default:
                         printf("ehci_dump_caps: cap=0x%08x\n", cap);                          printf("ehci_dump_caps: 0x%08x\n", cap);
                         break;                          break;
                 }                  }
                 if (--maxdump < 0)                  if (--maxdump < 0)
Line 266  ehci_get_ownership(ehci_softc_t *sc, pci
Line 266  ehci_get_ownership(ehci_softc_t *sc, pci
         int ms;          int ms;
   
 #ifdef EHCI_DEBUG  #ifdef EHCI_DEBUG
         if (ehcidebug)          ehci_dump_caps(sc, pc, tag);
                 ehci_dump_caps(sc, pc, tag);  
 #endif  #endif
         cparams = EREAD4(sc, EHCI_HCCPARAMS);          cparams = EREAD4(sc, EHCI_HCCPARAMS);
         addr = EHCI_HCC_EECP(cparams);          addr = EHCI_HCC_EECP(cparams);
Line 275  ehci_get_ownership(ehci_softc_t *sc, pci
Line 274  ehci_get_ownership(ehci_softc_t *sc, pci
                 cap = pci_conf_read(pc, tag, addr);                  cap = pci_conf_read(pc, tag, addr);
                 if (EHCI_CAP_GET_ID(cap) == EHCI_CAP_ID_LEGACY)                  if (EHCI_CAP_GET_ID(cap) == EHCI_CAP_ID_LEGACY)
                         break;                          break;
                 if (--maxcap < 0) {                  if (--maxcap < 0)
                         aprint_normal("%s: broken extended capabilities "  
                                       "ignored\n", devname);  
                         return;                          return;
                 }  
                 addr = EHCI_CAP_GET_NEXT(cap);                  addr = EHCI_CAP_GET_NEXT(cap);
         }          }
   

Legend:
Removed from v.1.18.8.1  
changed lines
  Added in v.1.19

CVSweb <webmaster@jp.NetBSD.org>