Re: [PATCH 2 2/4] net ethernet introduce mac_la_ap helper

2012-07-03 Thread Arnd Bergmann
On Tuesday 03 July 2012, Andy Green wrote: I think it would be simpler to register the notifier from an initcall and drop the mac_la_ap_started variable. That was my first approach, to structure it as a real driver. I had tried a few likely-looking initcall levels but the init of the

Re: [PATCH 2 2/4] net ethernet introduce mac_la_ap helper

2012-07-03 Thread Joe Perches
On Mon, 2012-07-02 at 12:35 -0400, Steven Rostedt wrote: On Mon, 2012-07-02 at 16:12 +, Arnd Bergmann wrote: include/net/mac-la-ap.h | 28 net/Kconfig | 14 net/ethernet/Makefile|2 + net/ethernet/mac-la-ap.c | 165

Re: [PATCH 2 2/4] net ethernet introduce mac_la_ap helper

2012-07-02 Thread Arnd Bergmann
On Monday 02 July 2012, Andy Green wrote: From: Andy Green a...@warmcat.com This introduces a small helper in net/ethernet, which registers a network notifier on init, and accepts registrations of expected asynchronously- probed network device paths (like, usb1/1-1/1-1.1/1-1.1:1.0) and the

Re: [PATCH 2 2/4] net ethernet introduce mac_la_ap helper

2012-07-02 Thread Steven Rostedt
On Mon, 2012-07-02 at 16:12 +, Arnd Bergmann wrote: include/net/mac-la-ap.h | 28 net/Kconfig | 14 net/ethernet/Makefile|2 + net/ethernet/mac-la-ap.c | 165 ++ 4 files changed, 209

Re: [PATCH 2 2/4] net ethernet introduce mac_la_ap helper

2012-07-02 Thread Andy Green
On 07/03/12 00:12, the mail apparently from Arnd Bergmann included: On Monday 02 July 2012, Andy Green wrote: From: Andy Green a...@warmcat.com This introduces a small helper in net/ethernet, which registers a network notifier on init, and accepts registrations of expected asynchronously-

[PATCH 2 2/4] net ethernet introduce mac_la_ap helper

2012-07-02 Thread Andy Green
From: Andy Green a...@warmcat.com This introduces a small helper in net/ethernet, which registers a network notifier on init, and accepts registrations of expected asynchronously- probed network device paths (like, usb1/1-1/1-1.1/1-1.1:1.0) and the MAC that is needed to be assigned to the device