lkml.org 
[lkml]   [2011]   [Mar]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [RFC PATCHv2 1/4] drivers/otp: add initial support for OTP memory
Date
On Saturday 26 March 2011 00:28:47 Greg KH wrote:

> Yes, that is how it used to be, but then it turns out that both of them
> are really just "subsystems" as far as it all goes. They are just ways
> that devices are bound to drivers in a logical manner. We have patches
> floating around that get rid of both busses and classes to merge them
> together, which is the end goal here. I know Kay has posted detailed
> reasons for why this all is on lkml in the past, and had working code
> about 5 years ago, it's just been slow going...

How will that work? I suppose we can't really change the directory
structure anyway, so to users it will still look like it does today,
even if the kernel just uses the same code for bus and class internally.

> So we recommend all new subsystems use the bus code, it's simple and
> works well.

I'm not worried about the code at all, just how it shows up in
sysfs, which is rather confusing when things become a bus that
are not really buses by any stretch. Obviously there are grey
areas and corner cases where a bus makes as much sense as a class,
but I think this one is not such a case.

Arnd


\
 
 \ /
  Last update: 2011-03-26 12:27    [W:0.807 / U:0.004 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site