smsc95xx.c (150a7fcc5ccf6ffe4a2280f5a447d104ec77912d) smsc95xx.c (0227abc9d011892fd13f360b56a7b276ebea8b07)
1 /***************************************************************************
2 *
3 * Copyright (C) 2007-2008 SMSC
4 *
5 * This program is free software; you can redistribute it and/or
6 * modify it under the terms of the GNU General Public License
7 * as published by the Free Software Foundation; either version 2
8 * of the License, or (at your option) any later version.

--- 44 unchanged lines hidden (view full) ---

53 bool use_rx_csum;
54};
55
56struct usb_context {
57 struct usb_ctrlrequest req;
58 struct usbnet *dev;
59};
60
1 /***************************************************************************
2 *
3 * Copyright (C) 2007-2008 SMSC
4 *
5 * This program is free software; you can redistribute it and/or
6 * modify it under the terms of the GNU General Public License
7 * as published by the Free Software Foundation; either version 2
8 * of the License, or (at your option) any later version.

--- 44 unchanged lines hidden (view full) ---

53 bool use_rx_csum;
54};
55
56struct usb_context {
57 struct usb_ctrlrequest req;
58 struct usbnet *dev;
59};
60
61int turbo_mode = true;
61static int turbo_mode = true;
62module_param(turbo_mode, bool, 0644);
63MODULE_PARM_DESC(turbo_mode, "Enable multiple frames per Rx transaction");
64
65static int smsc95xx_read_reg(struct usbnet *dev, u32 index, u32 *data)
66{
67 u32 *buf = kmalloc(4, GFP_KERNEL);
68 int ret;
69

--- 1182 unchanged lines hidden ---
62module_param(turbo_mode, bool, 0644);
63MODULE_PARM_DESC(turbo_mode, "Enable multiple frames per Rx transaction");
64
65static int smsc95xx_read_reg(struct usbnet *dev, u32 index, u32 *data)
66{
67 u32 *buf = kmalloc(4, GFP_KERNEL);
68 int ret;
69

--- 1182 unchanged lines hidden ---