Re: [PATCH net-next 4/6] r8152: add rtl_ops

2013-12-27 Thread David Miller
From: Hayes Wang Date: Fri, 27 Dec 2013 10:34:08 +0800 > > +static int rtl_ops_init(struct r8152 *tp, const struct usb_device_id *id) ... > > + if (rtl_ops_init(tp, id)) { > + netif_err(tp, probe, netdev, "Unknown Device"); > + return -ENODEV; You're completely

Re: [PATCH net-next 4/6] r8152: add rtl_ops

2013-12-27 Thread David Miller
From: Hayes Wang hayesw...@realtek.com Date: Fri, 27 Dec 2013 10:34:08 +0800 +static int rtl_ops_init(struct r8152 *tp, const struct usb_device_id *id) ... + if (rtl_ops_init(tp, id)) { + netif_err(tp, probe, netdev, Unknown Device); + return -ENODEV;

[PATCH net-next 4/6] r8152: add rtl_ops

2013-12-26 Thread Hayes Wang
The different chips may have different settings. This makes it easy to let different chips have the same flow with differnt settings. Signed-off-by: Hayes Wang --- drivers/net/usb/r8152.c | 56 ++--- 1 file changed, 49 insertions(+), 7 deletions(-)

[PATCH net-next 4/6] r8152: add rtl_ops

2013-12-26 Thread Hayes Wang
The different chips may have different settings. This makes it easy to let different chips have the same flow with differnt settings. Signed-off-by: Hayes Wang hayesw...@realtek.com --- drivers/net/usb/r8152.c | 56 ++--- 1 file changed, 49