Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
openanolis
cloud-kernel
提交
fca1287a
cloud-kernel
项目概览
openanolis
/
cloud-kernel
1 年多 前同步成功
通知
160
Star
36
Fork
7
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
10
列表
看板
标记
里程碑
合并请求
2
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
cloud-kernel
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
10
Issue
10
列表
看板
标记
里程碑
合并请求
2
合并请求
2
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
提交
fca1287a
编写于
9月 03, 2008
作者:
D
David S. Miller
浏览文件
操作
浏览文件
下载
差异文件
Merge branch 'davem-fixes' of master.kernel.org:/pub/scm/linux/kernel/git/jgarzik/netdev-2.6
上级
437cf2f1
0b62afb4
变更
5
隐藏空白更改
内联
并排
Showing
5 changed file
with
14 addition
and
16 deletion
+14
-16
drivers/net/ixgbe/ixgbe_main.c
drivers/net/ixgbe/ixgbe_main.c
+6
-0
drivers/net/netxen/netxen_nic_main.c
drivers/net/netxen/netxen_nic_main.c
+0
-10
drivers/net/pcmcia/axnet_cs.c
drivers/net/pcmcia/axnet_cs.c
+1
-0
drivers/net/pcmcia/pcnet_cs.c
drivers/net/pcmcia/pcnet_cs.c
+1
-1
drivers/net/usb/pegasus.c
drivers/net/usb/pegasus.c
+6
-5
未找到文件。
drivers/net/ixgbe/ixgbe_main.c
浏览文件 @
fca1287a
...
...
@@ -2303,6 +2303,12 @@ static int __devinit ixgbe_set_interrupt_capability(struct ixgbe_adapter
int
err
=
0
;
int
vector
,
v_budget
;
/*
* Set the default interrupt throttle rate.
*/
adapter
->
rx_eitr
=
(
1000000
/
IXGBE_DEFAULT_ITR_RX_USECS
);
adapter
->
tx_eitr
=
(
1000000
/
IXGBE_DEFAULT_ITR_TX_USECS
);
/*
* It's easy to be greedy for MSI-X vectors, but it really
* doesn't do us much good if we have a lot more vectors
...
...
drivers/net/netxen/netxen_nic_main.c
浏览文件 @
fca1287a
...
...
@@ -359,16 +359,6 @@ static void netxen_pcie_strap_init(struct netxen_adapter *adapter)
int
i
,
pos
;
struct
pci_dev
*
pdev
;
pdev
=
pci_get_device
(
0x1166
,
0x0140
,
NULL
);
if
(
pdev
)
{
pci_dev_put
(
pdev
);
adapter
->
hw_read_wx
(
adapter
,
NETXEN_PCIE_REG
(
PCIE_TGT_SPLIT_CHICKEN
),
&
chicken
,
4
);
chicken
|=
0x4000
;
adapter
->
hw_write_wx
(
adapter
,
NETXEN_PCIE_REG
(
PCIE_TGT_SPLIT_CHICKEN
),
&
chicken
,
4
);
}
pdev
=
adapter
->
pdev
;
adapter
->
hw_read_wx
(
adapter
,
...
...
drivers/net/pcmcia/axnet_cs.c
浏览文件 @
fca1287a
...
...
@@ -784,6 +784,7 @@ static struct pcmcia_device_id axnet_ids[] = {
PCMCIA_DEVICE_PROD_ID12
(
"corega K.K."
,
"corega FEther PCC-TXD"
,
0x5261440f
,
0x436768c5
),
PCMCIA_DEVICE_PROD_ID12
(
"corega K.K."
,
"corega FEtherII PCC-TXD"
,
0x5261440f
,
0x730df72e
),
PCMCIA_DEVICE_PROD_ID12
(
"Dynalink"
,
"L100C16"
,
0x55632fd5
,
0x66bc2a90
),
PCMCIA_DEVICE_PROD_ID12
(
"IO DATA"
,
"ETXPCM"
,
0x547e66dc
,
0x233adac2
),
PCMCIA_DEVICE_PROD_ID12
(
"Linksys"
,
"EtherFast 10/100 PC Card (PCMPC100 V3)"
,
0x0733cc81
,
0x232019a8
),
PCMCIA_DEVICE_PROD_ID12
(
"MELCO"
,
"LPC3-TX"
,
0x481e0094
,
0xf91af609
),
PCMCIA_DEVICE_PROD_ID12
(
"PCMCIA"
,
"100BASE"
,
0x281f1c5d
,
0x7c2add04
),
...
...
drivers/net/pcmcia/pcnet_cs.c
浏览文件 @
fca1287a
...
...
@@ -1626,6 +1626,7 @@ static struct pcmcia_device_id pcnet_ids[] = {
PCMCIA_DEVICE_PROD_ID12
(
"corega K.K."
,
"corega EtherII PCC-TD"
,
0x5261440f
,
0xc49bd73d
),
PCMCIA_DEVICE_PROD_ID12
(
"Corega K.K."
,
"corega EtherII PCC-TD"
,
0xd4fdcbd8
,
0xc49bd73d
),
PCMCIA_DEVICE_PROD_ID12
(
"corega K.K."
,
"corega Ether PCC-T"
,
0x5261440f
,
0x6705fcaa
),
PCMCIA_DEVICE_PROD_ID12
(
"corega K.K."
,
"corega Ether PCC-TD"
,
0x5261440f
,
0x47d5ca83
),
PCMCIA_DEVICE_PROD_ID12
(
"corega K.K."
,
"corega FastEther PCC-TX"
,
0x5261440f
,
0x485e85d9
),
PCMCIA_DEVICE_PROD_ID12
(
"Corega,K.K."
,
"Ethernet LAN Card"
,
0x110d26d9
,
0x9fd2f0a2
),
PCMCIA_DEVICE_PROD_ID12
(
"corega,K.K."
,
"Ethernet LAN Card"
,
0x9791a90e
,
0x9fd2f0a2
),
...
...
@@ -1737,7 +1738,6 @@ static struct pcmcia_device_id pcnet_ids[] = {
PCMCIA_DEVICE_PROD_ID1
(
"CyQ've 10 Base-T LAN CARD"
,
0x94faf360
),
PCMCIA_DEVICE_PROD_ID1
(
"EP-210 PCMCIA LAN CARD."
,
0x8850b4de
),
PCMCIA_DEVICE_PROD_ID1
(
"ETHER-C16"
,
0x06a8514f
),
PCMCIA_DEVICE_PROD_ID1
(
"IC-CARD"
,
0x60cb09a6
),
PCMCIA_DEVICE_PROD_ID1
(
"NE2000 Compatible"
,
0x75b8ad5a
),
PCMCIA_DEVICE_PROD_ID2
(
"EN-6200P2"
,
0xa996d078
),
/* too generic! */
...
...
drivers/net/usb/pegasus.c
浏览文件 @
fca1287a
...
...
@@ -117,7 +117,7 @@ static void ctrl_callback(struct urb *urb)
case
-
ENOENT
:
break
;
default:
if
(
netif_msg_drv
(
pegasus
))
if
(
netif_msg_drv
(
pegasus
)
&&
printk_ratelimit
()
)
dev_dbg
(
&
pegasus
->
intf
->
dev
,
"%s, status %d
\n
"
,
__FUNCTION__
,
urb
->
status
);
}
...
...
@@ -166,7 +166,7 @@ static int get_registers(pegasus_t * pegasus, __u16 indx, __u16 size,
set_current_state
(
TASK_RUNNING
);
if
(
ret
==
-
ENODEV
)
netif_device_detach
(
pegasus
->
net
);
if
(
netif_msg_drv
(
pegasus
))
if
(
netif_msg_drv
(
pegasus
)
&&
printk_ratelimit
()
)
dev_err
(
&
pegasus
->
intf
->
dev
,
"%s, status %d
\n
"
,
__FUNCTION__
,
ret
);
goto
out
;
...
...
@@ -275,7 +275,7 @@ static int set_register(pegasus_t * pegasus, __u16 indx, __u8 data)
if
((
ret
=
usb_submit_urb
(
pegasus
->
ctrl_urb
,
GFP_ATOMIC
)))
{
if
(
ret
==
-
ENODEV
)
netif_device_detach
(
pegasus
->
net
);
if
(
netif_msg_drv
(
pegasus
))
if
(
netif_msg_drv
(
pegasus
)
&&
printk_ratelimit
()
)
dev_err
(
&
pegasus
->
intf
->
dev
,
"%s, status %d
\n
"
,
__FUNCTION__
,
ret
);
goto
out
;
...
...
@@ -1209,8 +1209,7 @@ static void pegasus_set_multicast(struct net_device *net)
pegasus
->
eth_regs
[
EthCtrl2
]
|=
RX_PROMISCUOUS
;
if
(
netif_msg_link
(
pegasus
))
pr_info
(
"%s: Promiscuous mode enabled.
\n
"
,
net
->
name
);
}
else
if
(
net
->
mc_count
||
(
net
->
flags
&
IFF_ALLMULTI
))
{
}
else
if
(
net
->
mc_count
||
(
net
->
flags
&
IFF_ALLMULTI
))
{
pegasus
->
eth_regs
[
EthCtrl0
]
|=
RX_MULTICAST
;
pegasus
->
eth_regs
[
EthCtrl2
]
&=
~
RX_PROMISCUOUS
;
if
(
netif_msg_link
(
pegasus
))
...
...
@@ -1220,6 +1219,8 @@ static void pegasus_set_multicast(struct net_device *net)
pegasus
->
eth_regs
[
EthCtrl2
]
&=
~
RX_PROMISCUOUS
;
}
pegasus
->
ctrl_urb
->
status
=
0
;
pegasus
->
flags
|=
ETH_REGS_CHANGE
;
ctrl_callback
(
pegasus
->
ctrl_urb
);
}
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录