OSDN Git Service

rndis_host: Add early_init function pointer to 'struct rndis_data'.
authorJussi Kivilinna <jussi.kivilinna@mbnet.fi>
Fri, 25 Jan 2008 22:51:28 +0000 (00:51 +0200)
committerDavid S. Miller <davem@davemloft.net>
Fri, 1 Feb 2008 03:26:58 +0000 (19:26 -0800)
commit7c39e038fc738012ba36ed222bb62545ee59c012
tree89d295e93ffe70fbc6f498fde466eade8c173d8a
parent476842b1962c7cf5ccea57dcfad26dc77d16e363
rndis_host: Add early_init function pointer to 'struct rndis_data'.

Function pointer is for 'subminidrivers' that need to do work on device
right after minidriver has initialized hardware.

For example, rndis_wlan setting device specific configuration parameters
with OID_GEN_RNDIS_CONFIG_PARAMETER right after rndis_host has
initialized hardware with RNDIS_INIT.

Signed-off-by: Jussi Kivilinna <jussi.kivilinna@mbnet.fi>
Acked-by: David Brownell <dbrownell@users.sourceforge.net>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/usb/rndis_host.c
drivers/net/usb/usbnet.h