Skip to content

RFC USB: async platform_data support for usb and usbnet

Andy Green lkml 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 RFC Latest3 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3USB HOST CORE:probed devices collect any platform_data waiting for themdrivers/usb/core/usb.c+3 -00 replies
2/3USBNET: Introduce usbnet platform datainclude/linux/usb/usbnet.h+8 -00 replies
3/3USBNET: Use usbnet platform data if it is presentdrivers/net/usb/usbnet.c+17 -60 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [RFC PATCH 0/3] USB: async platform_data support for usb and usbnet

The following series allows usb probe to benefit from the proposed async platform_data API described here

http://marc.info/?l=linux-kernel&m=129996915023642&w=2

It causes the usb host core system to bind to any registered async platform data that matches the device path of the device automatically, and in addition adds platform data to usbnet and causes it to take notice of the plaform data settings during init, allowing override of usb%d vs eth%d naming convention and actual MAC address from the board definition file.

---

Andy Green (3):
USBNET: Use usbnet platform data if it is present
USBNET: Introduce usbnet platform data
USB HOST CORE:probed devices collect any platform_data waiting for them

 drivers/net/usb/usbnet.c   |   23 +++++++++++++++++------
 drivers/usb/core/usb.c     |    3 +++
 include/linux/usb/usbnet.h |    8 ++++++++
 3 files changed, 28 insertions(+), 6 deletions(-)
Signature · 1 line
Signature