psm_common.c (0f2cfdbb) | psm_common.c (5cff7825) |
---|---|
1/* 2 * CDDL HEADER START 3 * 4 * The contents of this file are subject to the terms of the 5 * Common Development and Distribution License (the "License"). 6 * You may not use this file except in compliance with the License. 7 * 8 * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE --- 397 unchanged lines hidden (view full) --- 406 while (curdip != ddi_root_node()) { 407 parentdip = ddi_get_parent(curdip); 408 ASSERT(parentdip != NULL); 409 410 if (get_bdf(curdip, &curbus, &curdev, NULL) != 0) { 411 break; 412 } 413 | 1/* 2 * CDDL HEADER START 3 * 4 * The contents of this file are subject to the terms of the 5 * Common Development and Distribution License (the "License"). 6 * You may not use this file except in compliance with the License. 7 * 8 * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE --- 397 unchanged lines hidden (view full) --- 406 while (curdip != ddi_root_node()) { 407 parentdip = ddi_get_parent(curdip); 408 ASSERT(parentdip != NULL); 409 410 if (get_bdf(curdip, &curbus, &curdev, NULL) != 0) { 411 break; 412 } 413 |
414 status = acpica_find_pciobj(parentdip, &pciobj); | 414 status = acpica_get_handle(parentdip, &pciobj); |
415 if ((status == AE_OK) && psm_node_has_prt(pciobj)) { 416 return (acpi_get_gsiv(curdip, pciobj, curdev, curpin, 417 pci_irqp, intr_flagp, acpipsmlnkp)); 418 } 419 420 /* if we got here, we need to traverse a bridge upwards */ 421 if (!psm_is_pci_bridge(parentdip)) 422 break; --- 562 unchanged lines hidden --- | 415 if ((status == AE_OK) && psm_node_has_prt(pciobj)) { 416 return (acpi_get_gsiv(curdip, pciobj, curdev, curpin, 417 pci_irqp, intr_flagp, acpipsmlnkp)); 418 } 419 420 /* if we got here, we need to traverse a bridge upwards */ 421 if (!psm_is_pci_bridge(parentdip)) 422 break; --- 562 unchanged lines hidden --- |