PERFORCE change 100807 for review
John Birrell
jb at FreeBSD.org
Thu Jul 6 22:14:32 UTC 2006
http://perforce.freebsd.org/chv.cgi?CH=100807
Change 100807 by jb at jb_freebsd2 on 2006/07/06 22:14:11
I don't understand how this code compiles in current.
For sun4v, the bus accessor type was changed from u_int32_t
to u_int8_t and now this code (rightly) won't compile. It
shouldn't compile in current either.
Affected files ...
.. //depot/projects/dtrace/src/sys/dev/acpica/acpi_pci.c#4 edit
Differences ...
==== //depot/projects/dtrace/src/sys/dev/acpica/acpi_pci.c#4 (text+ko) ====
@@ -264,8 +264,10 @@
acpi_pci_probe(device_t dev)
{
+#ifdef DOODAD
if (pcib_get_bus(dev) < 0)
return (ENXIO);
+#endif
if (acpi_get_handle(dev) == NULL)
return (ENXIO);
device_set_desc(dev, "ACPI PCI bus");
More information about the p4-projects
mailing list