bou...@antioche.eu.org said: > up to now, device_properties() has been used to pass informations > which doesn't comes directly from the parent (as opposed to the attach > structure)
If we allow to attach pci at acpi, the information would come directly from the parent. It is not only address space usage but also interrupt routing and power management. > It looks like this fits device_properties(), much more than and extention > of the pci attach args. It would not be "the" pci attach args. That's the power of multiple frontends that we can have special attach args, the softc extended as needed and the extra code in its own source file which gets only compiled if the kernel is configured that way. With properties, you would have all that nasty parsing code in the common sources. And no compile time type checks. best regards Matthias ------------------------------------------------------------------------------------------------ ------------------------------------------------------------------------------------------------ Forschungszentrum Juelich GmbH 52425 Juelich Sitz der Gesellschaft: Juelich Eingetragen im Handelsregister des Amtsgerichts Dueren Nr. HR B 3498 Vorsitzender des Aufsichtsrats: MinDirig Dr. Karl Eugen Huthmacher Geschaeftsfuehrung: Prof. Dr. Achim Bachem (Vorsitzender), Dr. Ulrich Krafft (stellv. Vorsitzender), Prof. Dr.-Ing. Harald Bolt, Prof. Dr. Sebastian M. Schmidt ------------------------------------------------------------------------------------------------ ------------------------------------------------------------------------------------------------