Messages in this thread | | | Subject | Re: [PATCH/RFC 1/4]device core changes | From | Li Shaohua <> | Date | Wed, 10 Nov 2004 09:45:37 +0800 |
| |
On Wed, 2004-11-10 at 09:24, Greg KH wrote: > > > > > > Hm, hopefully Pat will chime in about what would be best for this, as he > > > created the platform_notify interface. > > Ok, an updated version. Use 'platform_notify', but add a 'type' in > > 'struct bus_type'. Using bus_type->name to identify the bus type is > > pretty much ugly and slow. > > No, no "type" for a bus, sorry. > > Maybe your other patches weren't so bad... If we implement them, can we > drop the platform notify stuff? Currently only ARM use 'platform_notify', and we can easily convert it to use per-bus 'platform_bind'. One concern of per-bus 'platform_bind' is we will have many '#ifdef ..' if many platforms implement their per-bus 'platform_bind'.
Thanks, Shaohua
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |