On Fri, 07 Sep 2007, David Brownell wrote:
> > The platform for a ThinkPad is either i386 or amd64.
>
> Both i386 and x86_64 are clearly an "arch". They even live in
> an "arch" directory: linux/arch/{i386,x86_64}.
Well, I stand corrected on the "platform" term, then.
> When folk talk about a "PC Platform", they're talking about a
> thing that doesn't quite exist in today's Linux tree. If we
> ever get to an arch/x86, that could have a plat-pc (or mach-pc)
> subdirectory. ThinkPads should then be a variant of that.
You'd have so many, it wouldn't be funny. It would also cause some
headaches for distros, unless one can have an "all platform" kernel or
somesuch.
> > I don't feel like drivers like hdaps, thinkpad-acpi, dock, bay,
> > and many others really belong in the platform bus. But that's
> > what happens right now.
>
> As a rule, there needs to be a Good Reason to create a new bus
> type. A "feel" is a pretty weak reason...
The "feel" is there because:
1. Comments about how what we do is wrong for the platform bus (i.e. adding
the devices and the driver in the same module). Even the documentation
for platform devices make it quite clear we are abusing it. There was
one of those comments in this very thread.
2. The fact that a module that has a number of different devices has to
register itself a number of times as a driver, if it wants to name the
devices something different...
--
"One disk to rule them all, One disk to find them. One disk to bring
them all and in the darkness grind them. In the Land of Redmond
where the shadows lie." -- The Silicon Valley Tarot
Henrique Holschuh
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
[Index of Archives]
[Kernel Newbies]
[Netfilter]
[Bugtraq]
[Photo]
[Stuff]
[Gimp]
[Yosemite News]
[MIPS Linux]
[ARM Linux]
[Linux Security]
[Linux RAID]
[Video 4 Linux]
[Linux for the blind]
[Linux Resources]