Re: [PATCH 3/5] ibmebus: Add device creation and bus probing based on of_device

2007-09-27 Thread Arnd Bergmann
On Wednesday 26 September 2007, Joachim Fenkes wrote: > The devtree root is now searched for devices matching a built-in whitelist > during boot, so these devices appear on the bus from the beginning. It is > still possible to manually add/remove devices to/from the bus by using the > probe/remove

[PATCH 3/5] ibmebus: Add device creation and bus probing based on of_device

2007-09-26 Thread Joachim Fenkes
The devtree root is now searched for devices matching a built-in whitelist during boot, so these devices appear on the bus from the beginning. It is still possible to manually add/remove devices to/from the bus by using the probe/remove sysfs interface. Also, when a device driver registers itself,

Re: [PATCH 3/5] ibmebus: Add device creation and bus probing based on of_device

2007-09-26 Thread Joachim Fenkes
> > +/* These devices will automatically be added to the bus during init */ > > +static struct of_device_id builtin_matches[] = { > > + { .name = "lhca" }, > > + { .compatible = "IBM,lhca" }, > > + { .name = "lhea" }, > > + { .compatible = "IBM,lhea" }, > > + {}, > > +}; > > + > > Hmm,

Re: [PATCH 3/5] ibmebus: Add device creation and bus probing based on of_device

2007-09-25 Thread Arnd Bergmann
On Tuesday 25 September 2007, Joachim Fenkes wrote: > The devtree root is now searched for devices matching a built-in whitelist > during boot, so these devices appear on the bus from the beginning. It is > still possible to manually add/remove devices to/from the bus by using the > probe/remove sy

[PATCH 3/5] ibmebus: Add device creation and bus probing based on of_device

2007-09-25 Thread Joachim Fenkes
The devtree root is now searched for devices matching a built-in whitelist during boot, so these devices appear on the bus from the beginning. It is still possible to manually add/remove devices to/from the bus by using the probe/remove sysfs interface. Also, when a device driver registers itself,