Re: [PATCH 0/2] Add dev_sysdata and use it for ACPI

From: Cornelia Huck
Date: Thu Nov 09 2006 - 11:04:25 EST


On Thu, 09 Nov 2006 11:45:21 +1100,
Benjamin Herrenschmidt <benh@xxxxxxxxxxx> wrote:

> - Add a dev_sysdata structure to struct device whose content is arch
> specific. It will allow architectures like powerpc, arm, i386, ... who
> need different types of DMA ops for busses and other kind of auxilliary
> data for devices in general (numa node id, firmware data, etc...) to put
> them in there, without bloating all architectures. The patch adds an
> empty definition for the structure to all architectures.

I like this. If we could move the dma stuff in there, we could get rid
of it on s390 where it is just bloat we drag around...

(Maybe dev_archdata would be a better name, since the definition is
architecture specific?)

--
Cornelia Huck
Linux for zSeries Developer
Tel.: +49-7031-16-4837, Mail: cornelia.huck@xxxxxxxxxx
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/