Re: drivers/w1/: why is dscore.c not ds9490r.c ?

From: Adrian Bunk
Date: Mon Nov 22 2004 - 08:37:46 EST


On Mon, Nov 22, 2004 at 10:31:12AM +0300, Evgeniy Polyakov wrote:
> On Mon, 2004-11-22 at 01:02, Adrian Bunk wrote:
> > Hi Evgeniy,
>
> Hello, Adrian.

Hi Evgeniy,

> > drivers/w1/Makefile in recent 2.6 kernels contains:
> > obj-$(CONFIG_W1_DS9490) += ds9490r.o
> > ds9490r-objs := dscore.o
> >
> > Is there a reason, why dscore.c isn't simply named ds9490r.c ?
>
> dscore.c is a core function set to work with ds2490 chip.
> ds9490* is built on top of it.
> Any vendor can create it's own w1 bus master using this chip,
> not ds9490.

if it was built on top of it, I'd have expected ds9490r.o to contain
additional object files.

How would a different w1 bus master chip look like in
drivers/w1/Makefile?

> Evgeniy Polyakov

cu
Adrian

--

"Is there not promise of rain?" Ling Tan asked suddenly out
of the darkness. There had been need of rain for many days.
"Only a promise," Lao Er said.
Pearl S. Buck - Dragon Seed

-
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/