Mercurial > illumos > illumos-gate
changeset 1007:2f6b16d17f28
6353359 physical-slot# property missing for some PCIe devices
author | anish |
---|---|
date | Mon, 28 Nov 2005 14:14:46 -0800 |
parents | 6478a2efe89e |
children | e8bc13e29d60 |
files | usr/src/uts/i86pc/io/pci/pci_boot.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/usr/src/uts/i86pc/io/pci/pci_boot.c Mon Nov 28 12:14:38 2005 -0800 +++ b/usr/src/uts/i86pc/io/pci/pci_boot.c Mon Nov 28 14:14:46 2005 -0800 @@ -526,7 +526,7 @@ if (status & PCI_STAT_UDF) (void) ndi_prop_create_boolean(DDI_DEV_T_NONE, dip, "udf-supported"); - if (pciex & slot_num) + if (pciex && slot_num) (void) ndi_prop_update_int(DDI_DEV_T_NONE, dip, "physical-slot#", slot_num);