[PATCH] support for Hotplug/DLPAR PCI multifunction cards

Benjamin Herrenschmidt benh at kernel.crashing.org
Sat Feb 14 10:04:33 EST 2004


On Sat, 2004-02-14 at 03:43, Linda Xie wrote:
> The attached patch fixes OF device tree update code so that it supports
> Hotplug and DLPAR PCI multifunction cards.
>
> Comments are welcome.

Can't this code be moved out of prom.c ?

It's time to think about cleaning up that pile of mess that is prom.c,
ultimately, things that have to run in the context of the firmware
environement early during boot, should be completely split from things
that are used later on during normal kernel usage.

And low level device-tree accessors split from higher level things like
this hotplug stuff.

We won't do that right away, but starting to slowly move things away
as they are modified is a good way to make things simpler for anton and
I when it's time to do the big cleanup.

Ben.


** Sent via the linuxppc64-dev mail list. See http://lists.linuxppc.org/





More information about the Linuxppc64-dev mailing list