acpi_pcib.c (b8581e0d567d1cdf5ddb03df7e535ffd181347f7) acpi_pcib.c (f144391b8f22b422baa8ba24f4c4017893cd4ca3)
1/*-
2 * Copyright (c) 2000 Michael Smith
3 * Copyright (c) 2000 BSDi
4 * All rights reserved.
5 *
6 * Redistribution and use in source and binary forms, with or without
7 * modification, are permitted provided that the following conditions
8 * are met:

--- 58 unchanged lines hidden (view full) ---

67
68 /*
69 * Get the PCI interrupt routing table for this bus.
70 */
71 prt->Length = ACPI_ALLOCATE_BUFFER;
72 status = AcpiGetIrqRoutingTable(acpi_get_handle(dev), prt);
73 if (ACPI_FAILURE(status))
74 /* This is not an error, but it may reduce functionality. */
1/*-
2 * Copyright (c) 2000 Michael Smith
3 * Copyright (c) 2000 BSDi
4 * All rights reserved.
5 *
6 * Redistribution and use in source and binary forms, with or without
7 * modification, are permitted provided that the following conditions
8 * are met:

--- 58 unchanged lines hidden (view full) ---

67
68 /*
69 * Get the PCI interrupt routing table for this bus.
70 */
71 prt->Length = ACPI_ALLOCATE_BUFFER;
72 status = AcpiGetIrqRoutingTable(acpi_get_handle(dev), prt);
73 if (ACPI_FAILURE(status))
74 /* This is not an error, but it may reduce functionality. */
75 device_printf(dev, "could not get PCI interrupt routing table - %s\n",
76 AcpiFormatException(status));
75 device_printf(dev,
76 "could not get PCI interrupt routing table for %s - %s\n",
77 acpi_name(acpi_get_handle(dev)), AcpiFormatException(status));
77
78 /*
79 * Attach the PCI bus proper.
80 */
81 if ((child = device_add_child(dev, "pci", busno)) == NULL) {
82 device_printf(device_get_parent(dev), "couldn't attach pci bus");
83 return_VALUE(ENXIO);
84 }

--- 243 unchanged lines hidden ---
78
79 /*
80 * Attach the PCI bus proper.
81 */
82 if ((child = device_add_child(dev, "pci", busno)) == NULL) {
83 device_printf(device_get_parent(dev), "couldn't attach pci bus");
84 return_VALUE(ENXIO);
85 }

--- 243 unchanged lines hidden ---