Thread (33 messages) 33 messages, 5 authors, 2008-04-25

Re: [RFC] ucb1400 touchscreen, irq auto probing and ac97 with its private field

From: Takashi Iwai <hidden>
Date: 2008-04-25 10:15:50
Also in: alsa-devel

At Fri, 25 Apr 2008 10:51:07 +0100,
Mark Brown wrote:
quoted
For multiple anonymous data, we can use a data with a key like below:
This sounds like a reinvention of OpenFirmware, which presents pretty
much the same sort of key/value interface.  It'd be nice to be able to
share the same client code.
Yeah, that looks so.
quoted
and the controller driver assigns the data like
Doing this would mean that the controller would need to be modified for
each system that wants to pass configuration data to a driver - at that
point much of the win from providing an interface like this is lost.
The question (must have been primery one) is what this data passing
should do really.  From my undesrstanding, it's data the controller
driver gives as some hints for the proper device configuration, IFF
the standard configuration doesn't work.

In the case of ucb1400, it's just an irq number.  It sounds logical to
just pass this as an optional info to the driver.
Now, you want to make it general so that you can use it for other
purposes -- but what are the other purpose exactly?  IOW, such data
must be passed through ac97 struct inevitably?


Takashi
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help