Re: [PATCH 1/4] properly create kobjects in acpi/scan.c

Dmitry Torokhov
2004-08-24T22:45:38Z

On Tuesday 24 August 2004 04:45 pm, Keshavamurthy, Anil S wrote:
>
> >> Btw, why don't we just convert ACPI to be standard driver core bus
> >> with standard drivers and devices? I could cook up something... The
> >> /sys/firmware/acpi hierarchy is not populated with any
> >useful data yet
> >> so there should be no concern of breakign userspace interface (I am
> >> mot talking about removing /proc/acpi part at the moment).
> >
> >Funny you should mention it.
> >
> >My current opinion is that /sys/firmware/acpi should probably
> >not exist at all, and that there should be a single
> >/sys/devices including both ACPI-enumerated and pci-enumerated
> >devices. Adam and I have been ganging up on Patrick on this,
> >but we don't have him convinced yet...
> >
> For my hotplug work I am currently banking on
> /sys/firmware/acpi/namespace/ACPI
> to find the all the children devices and from there to find the
> corresponding logical
> devices. Once I find the all child devices then the scripts would turn
> online or offline of all the child devices.
>
> If we are proposing to eliminate /sys/firmware/acpi can anyone pass a
> pointer to the above discussion.
>

We would not eliminate it, it would naturally move to something like

/sys/bus/acpi/devices/acpi_root/... and /sys/devices/acpi_root/...

Or something along these lines.

--
Dmitry