# HG changeset patch # User bm42561 # Date 1175639746 25200 # Node ID b92c333acf86c1059eb17ffc9a7275692ea7daab # Parent c2852f00310a1ab4ceb7680a5a23d645ed72575b 6535506 IO slots can be disappeared with opl_cfg: WARNING: IKP: Unable to probe PCI leaf diff -r c2852f00310a -r b92c333acf86 usr/src/uts/sun4u/io/opl_cfg.c --- a/usr/src/uts/sun4u/io/opl_cfg.c Tue Apr 03 11:06:40 2007 -0700 +++ b/usr/src/uts/sun4u/io/opl_cfg.c Tue Apr 03 15:35:46 2007 -0700 @@ -1759,7 +1759,9 @@ for (resp = rp->head; resp != NULL; resp = resp->next) { if (resp->type != RT_CONTIGIOUS) continue; - if (resp->fc_contig_virt == (void *)(uintptr_t)vaddr) + if (((uint64_t)resp->fc_contig_virt <= vaddr) && + (vaddr < (uint64_t)resp->fc_contig_virt + + resp->fc_contig_len)) break; } fc_unlock_resource_list(rp);