Skip to content

Commit fe6c791

Browse files
committed
Merge branch 'master' of master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6
Conflicts: drivers/net/wireless/ath/ath9k/ar9003_eeprom.c net/llc/af_llc.c
2 parents f8bf568 + f198725 commit fe6c791

84 files changed

Lines changed: 824 additions & 516 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

‎Documentation/networking/ip-sysctl.txt‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -144,6 +144,7 @@ tcp_adv_win_scale - INTEGER
144144
Count buffering overhead as bytes/2^tcp_adv_win_scale
145145
(if tcp_adv_win_scale > 0) or bytes-bytes/2^(-tcp_adv_win_scale),
146146
if it is <= 0.
147+
Possible values are [-31, 31], inclusive.
147148
Default: 2
148149

149150
tcp_allowed_congestion_control - STRING

‎MAINTAINERS‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1359,7 +1359,7 @@ F: include/net/bluetooth/
13591359

13601360
BONDING DRIVER
13611361
M: Jay Vosburgh <fubar@us.ibm.com>
1362-
L: bonding-devel@lists.sourceforge.net
1362+
L: netdev@vger.kernel.org
13631363
W: http://sourceforge.net/projects/bonding/
13641364
S: Supported
13651365
F: drivers/net/bonding/

‎drivers/bluetooth/ath3k.c‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,10 @@
3535
static struct usb_device_id ath3k_table[] = {
3636
/* Atheros AR3011 */
3737
{ USB_DEVICE(0x0CF3, 0x3000) },
38+
39+
/* Atheros AR3011 with sflash firmware*/
40+
{ USB_DEVICE(0x0CF3, 0x3002) },
41+
3842
{ } /* Terminating entry */
3943
};
4044

‎drivers/bluetooth/btusb.c‎

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -99,6 +99,9 @@ static struct usb_device_id blacklist_table[] = {
9999
/* Broadcom BCM2033 without firmware */
100100
{ USB_DEVICE(0x0a5c, 0x2033), .driver_info = BTUSB_IGNORE },
101101

102+
/* Atheros 3011 with sflash firmware */
103+
{ USB_DEVICE(0x0cf3, 0x3002), .driver_info = BTUSB_IGNORE },
104+
102105
/* Broadcom BCM2035 */
103106
{ USB_DEVICE(0x0a5c, 0x2035), .driver_info = BTUSB_WRONG_SCO_MTU },
104107
{ USB_DEVICE(0x0a5c, 0x200a), .driver_info = BTUSB_WRONG_SCO_MTU },
@@ -239,7 +242,8 @@ static void btusb_intr_complete(struct urb *urb)
239242

240243
err = usb_submit_urb(urb, GFP_ATOMIC);
241244
if (err < 0) {
242-
BT_ERR("%s urb %p failed to resubmit (%d)",
245+
if (err != -EPERM)
246+
BT_ERR("%s urb %p failed to resubmit (%d)",
243247
hdev->name, urb, -err);
244248
usb_unanchor_urb(urb);
245249
}
@@ -323,7 +327,8 @@ static void btusb_bulk_complete(struct urb *urb)
323327

324328
err = usb_submit_urb(urb, GFP_ATOMIC);
325329
if (err < 0) {
326-
BT_ERR("%s urb %p failed to resubmit (%d)",
330+
if (err != -EPERM)
331+
BT_ERR("%s urb %p failed to resubmit (%d)",
327332
hdev->name, urb, -err);
328333
usb_unanchor_urb(urb);
329334
}
@@ -412,7 +417,8 @@ static void btusb_isoc_complete(struct urb *urb)
412417

413418
err = usb_submit_urb(urb, GFP_ATOMIC);
414419
if (err < 0) {
415-
BT_ERR("%s urb %p failed to resubmit (%d)",
420+
if (err != -EPERM)
421+
BT_ERR("%s urb %p failed to resubmit (%d)",
416422
hdev->name, urb, -err);
417423
usb_unanchor_urb(urb);
418424
}

‎drivers/isdn/icn/icn.c‎

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1627,7 +1627,7 @@ __setup("icn=", icn_setup);
16271627
static int __init icn_init(void)
16281628
{
16291629
char *p;
1630-
char rev[10];
1630+
char rev[20];
16311631

16321632
memset(&dev, 0, sizeof(icn_dev));
16331633
dev.memaddr = (membase & 0x0ffc000);
@@ -1637,9 +1637,10 @@ static int __init icn_init(void)
16371637
spin_lock_init(&dev.devlock);
16381638

16391639
if ((p = strchr(revision, ':'))) {
1640-
strcpy(rev, p + 1);
1640+
strncpy(rev, p + 1, 20);
16411641
p = strchr(rev, '$');
1642-
*p = 0;
1642+
if (p)
1643+
*p = 0;
16431644
} else
16441645
strcpy(rev, " ??? ");
16451646
printk(KERN_NOTICE "ICN-ISDN-driver Rev%smem=0x%08lx\n", rev,

‎drivers/net/Kconfig‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2543,10 +2543,10 @@ config PCH_GBE
25432543
depends on PCI
25442544
select MII
25452545
---help---
2546-
This is a gigabit ethernet driver for Topcliff PCH.
2547-
Topcliff PCH is the platform controller hub that is used in Intel's
2546+
This is a gigabit ethernet driver for EG20T PCH.
2547+
EG20T PCH is the platform controller hub that is used in Intel's
25482548
general embedded platform.
2549-
Topcliff PCH has Gigabit Ethernet interface.
2549+
EG20T PCH has Gigabit Ethernet interface.
25502550
Using this interface, it is able to access system devices connected
25512551
to Gigabit Ethernet.
25522552
This driver enables Gigabit Ethernet function.

‎drivers/net/atl1c/atl1c_hw.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ static int atl1c_get_permanent_address(struct atl1c_hw *hw)
8282
addr[0] = addr[1] = 0;
8383
AT_READ_REG(hw, REG_OTP_CTRL, &otp_ctrl_data);
8484
if (atl1c_check_eeprom_exist(hw)) {
85-
if (hw->nic_type == athr_l1c || hw->nic_type == athr_l2c_b) {
85+
if (hw->nic_type == athr_l1c || hw->nic_type == athr_l2c) {
8686
/* Enable OTP CLK */
8787
if (!(otp_ctrl_data & OTP_CTRL_CLK_EN)) {
8888
otp_ctrl_data |= OTP_CTRL_CLK_EN;

‎drivers/net/au1000_eth.c‎

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -155,10 +155,10 @@ static void au1000_enable_mac(struct net_device *dev, int force_reset)
155155
spin_lock_irqsave(&aup->lock, flags);
156156

157157
if (force_reset || (!aup->mac_enabled)) {
158-
writel(MAC_EN_CLOCK_ENABLE, &aup->enable);
158+
writel(MAC_EN_CLOCK_ENABLE, aup->enable);
159159
au_sync_delay(2);
160160
writel((MAC_EN_RESET0 | MAC_EN_RESET1 | MAC_EN_RESET2
161-
| MAC_EN_CLOCK_ENABLE), &aup->enable);
161+
| MAC_EN_CLOCK_ENABLE), aup->enable);
162162
au_sync_delay(2);
163163

164164
aup->mac_enabled = 1;
@@ -503,9 +503,9 @@ static void au1000_reset_mac_unlocked(struct net_device *dev)
503503

504504
au1000_hard_stop(dev);
505505

506-
writel(MAC_EN_CLOCK_ENABLE, &aup->enable);
506+
writel(MAC_EN_CLOCK_ENABLE, aup->enable);
507507
au_sync_delay(2);
508-
writel(0, &aup->enable);
508+
writel(0, aup->enable);
509509
au_sync_delay(2);
510510

511511
aup->tx_full = 0;
@@ -1119,7 +1119,7 @@ static int __devinit au1000_probe(struct platform_device *pdev)
11191119
/* set a random MAC now in case platform_data doesn't provide one */
11201120
random_ether_addr(dev->dev_addr);
11211121

1122-
writel(0, &aup->enable);
1122+
writel(0, aup->enable);
11231123
aup->mac_enabled = 0;
11241124

11251125
pd = pdev->dev.platform_data;

‎drivers/net/b44.c‎

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -381,11 +381,11 @@ static void b44_set_flow_ctrl(struct b44 *bp, u32 local, u32 remote)
381381
__b44_set_flow_ctrl(bp, pause_enab);
382382
}
383383

384-
#ifdef SSB_DRIVER_MIPS
385-
extern char *nvram_get(char *name);
384+
#ifdef CONFIG_BCM47XX
385+
#include <asm/mach-bcm47xx/nvram.h>
386386
static void b44_wap54g10_workaround(struct b44 *bp)
387387
{
388-
const char *str;
388+
char buf[20];
389389
u32 val;
390390
int err;
391391

@@ -394,10 +394,9 @@ static void b44_wap54g10_workaround(struct b44 *bp)
394394
* see https://dev.openwrt.org/ticket/146
395395
* check and reset bit "isolate"
396396
*/
397-
str = nvram_get("boardnum");
398-
if (!str)
397+
if (nvram_getenv("boardnum", buf, sizeof(buf)) < 0)
399398
return;
400-
if (simple_strtoul(str, NULL, 0) == 2) {
399+
if (simple_strtoul(buf, NULL, 0) == 2) {
401400
err = __b44_readphy(bp, 0, MII_BMCR, &val);
402401
if (err)
403402
goto error;

‎drivers/net/benet/be_cmds.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1274,7 +1274,7 @@ int be_cmd_multicast_set(struct be_adapter *adapter, u32 if_id,
12741274

12751275
i = 0;
12761276
netdev_for_each_mc_addr(ha, netdev)
1277-
memcpy(req->mac[i].byte, ha->addr, ETH_ALEN);
1277+
memcpy(req->mac[i++].byte, ha->addr, ETH_ALEN);
12781278
} else {
12791279
req->promiscuous = 1;
12801280
}

0 commit comments

Comments
 (0)