All of lore.kernel.org
 help / color / mirror / Atom feed
* "Miscellaneous" bus for the driver model?
@ 2004-01-07 16:00 Alan Stern
  2004-01-07 17:33 ` Greg KH
  0 siblings, 1 reply; 4+ messages in thread
From: Alan Stern @ 2004-01-07 16:00 UTC (permalink / raw)
  To: Greg KH, Patrick Mochel; +Cc: Kernel development list

Would it make sense for the driver model core to add a "miscellaneous" or 
"other" bus, intended for devices or drivers that are one-of-a-kind or 
otherwise non-standard?  Kind of similar to the platform bus but meant 
for new things, not part of a legacy or other system/architecture-specific 
base?

Doing this would give people a place to register these things without 
forcing them to go to the trouble of making up their own special-purpose 
bus or class.  And without the extra code/data space a special-purpose 
driver-specific bus would require.

Alan Stern


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: "Miscellaneous" bus for the driver model?
  2004-01-07 16:00 "Miscellaneous" bus for the driver model? Alan Stern
@ 2004-01-07 17:33 ` Greg KH
  2004-01-07 21:16   ` Russell King
  0 siblings, 1 reply; 4+ messages in thread
From: Greg KH @ 2004-01-07 17:33 UTC (permalink / raw)
  To: Alan Stern; +Cc: Kernel development list, Patrick Mochel

On Wed, Jan 07, 2004 at 11:00:16AM -0500, Alan Stern wrote:
> Would it make sense for the driver model core to add a "miscellaneous" or 
> "other" bus, intended for devices or drivers that are one-of-a-kind or 
> otherwise non-standard?  Kind of similar to the platform bus but meant 
> for new things, not part of a legacy or other system/architecture-specific 
> base?

That's what the "legacy" bus is for.  There's a patch floating around
that renames that bus to "platform" to remove any connotation that
"legacy" might occur.

Hope this helps,

greg k-h

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: "Miscellaneous" bus for the driver model?
  2004-01-07 17:33 ` Greg KH
@ 2004-01-07 21:16   ` Russell King
  2004-01-07 21:20     ` Jeff Garzik
  0 siblings, 1 reply; 4+ messages in thread
From: Russell King @ 2004-01-07 21:16 UTC (permalink / raw)
  To: Greg KH; +Cc: Alan Stern, Kernel development list, Patrick Mochel

On Wed, Jan 07, 2004 at 09:33:45AM -0800, Greg KH wrote:
> On Wed, Jan 07, 2004 at 11:00:16AM -0500, Alan Stern wrote:
> > Would it make sense for the driver model core to add a "miscellaneous" or 
> > "other" bus, intended for devices or drivers that are one-of-a-kind or 
> > otherwise non-standard?  Kind of similar to the platform bus but meant 
> > for new things, not part of a legacy or other system/architecture-specific 
> > base?
> 
> That's what the "legacy" bus is for.  There's a patch floating around
> that renames that bus to "platform" to remove any connotation that
> "legacy" might occur.

Can we get this patch merged ASAP please?  It should really have gone
in before 2.6 so we don't have this change during a stable kernel series.

-- 
Russell King
 Linux kernel    2.6 ARM Linux   - http://www.arm.linux.org.uk/
 maintainer of:  2.6 PCMCIA      - http://pcmcia.arm.linux.org.uk/
                 2.6 Serial core

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: "Miscellaneous" bus for the driver model?
  2004-01-07 21:16   ` Russell King
@ 2004-01-07 21:20     ` Jeff Garzik
  0 siblings, 0 replies; 4+ messages in thread
From: Jeff Garzik @ 2004-01-07 21:20 UTC (permalink / raw)
  To: Russell King; +Cc: Greg KH, Alan Stern, Kernel development list, Patrick Mochel

Russell King wrote:
> On Wed, Jan 07, 2004 at 09:33:45AM -0800, Greg KH wrote:
> 
>>On Wed, Jan 07, 2004 at 11:00:16AM -0500, Alan Stern wrote:
>>
>>>Would it make sense for the driver model core to add a "miscellaneous" or 
>>>"other" bus, intended for devices or drivers that are one-of-a-kind or 
>>>otherwise non-standard?  Kind of similar to the platform bus but meant 
>>>for new things, not part of a legacy or other system/architecture-specific 
>>>base?
>>
>>That's what the "legacy" bus is for.  There's a patch floating around
>>that renames that bus to "platform" to remove any connotation that
>>"legacy" might occur.
> 
> 
> Can we get this patch merged ASAP please?  It should really have gone
> in before 2.6 so we don't have this change during a stable kernel series.


It's already in :)

	Jeff



ChangeSet@1.1474.51.99, 2003-12-29 21:54:21-08:00, akpm@osdl.org
   [PATCH] Rename legacy_bus to platform_bus

   From: Jeff Garzik <jgarzik@pobox.com>

   I've seen this patch floating around.  Not sure the origin, but it's
   surfaced on lkml and also when I was poking around handhelds.org CVS for
   iPAQ patches:  on non-PCs, particularly system-on-chip devices but not
   just there, you have a custom "platform bus" that is the root of pretty
   much all other devices and buses.

   It's something I wanted to make sure people didn't forget; to make sure
   the legacy_bus didn't get "legacied out of existence."  ;-)



^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2004-01-07 21:21 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-01-07 16:00 "Miscellaneous" bus for the driver model? Alan Stern
2004-01-07 17:33 ` Greg KH
2004-01-07 21:16   ` Russell King
2004-01-07 21:20     ` Jeff Garzik

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.