Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
openeuler
raspberrypi-kernel
提交
039f02eb
R
raspberrypi-kernel
项目概览
openeuler
/
raspberrypi-kernel
通知
13
Star
1
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
R
raspberrypi-kernel
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
提交
039f02eb
编写于
7月 11, 2011
作者:
D
David S. Miller
浏览文件
操作
浏览文件
下载
差异文件
Merge branch 'master' of master.kernel.org:/pub/scm/linux/kernel/git/jkirsher/net-next-2.6
上级
f610b74b
1fc5f038
变更
18
隐藏空白更改
内联
并排
Showing
18 changed file
with
43 addition
and
23 deletion
+43
-23
drivers/net/igb/Makefile
drivers/net/igb/Makefile
+1
-1
drivers/net/igb/e1000_82575.c
drivers/net/igb/e1000_82575.c
+19
-3
drivers/net/igb/e1000_82575.h
drivers/net/igb/e1000_82575.h
+3
-1
drivers/net/igb/e1000_defines.h
drivers/net/igb/e1000_defines.h
+4
-3
drivers/net/igb/e1000_hw.h
drivers/net/igb/e1000_hw.h
+1
-1
drivers/net/igb/e1000_mac.c
drivers/net/igb/e1000_mac.c
+1
-1
drivers/net/igb/e1000_mac.h
drivers/net/igb/e1000_mac.h
+1
-1
drivers/net/igb/e1000_mbx.c
drivers/net/igb/e1000_mbx.c
+1
-1
drivers/net/igb/e1000_mbx.h
drivers/net/igb/e1000_mbx.h
+1
-1
drivers/net/igb/e1000_nvm.c
drivers/net/igb/e1000_nvm.c
+1
-1
drivers/net/igb/e1000_nvm.h
drivers/net/igb/e1000_nvm.h
+1
-1
drivers/net/igb/e1000_phy.c
drivers/net/igb/e1000_phy.c
+1
-1
drivers/net/igb/e1000_phy.h
drivers/net/igb/e1000_phy.h
+1
-1
drivers/net/igb/e1000_regs.h
drivers/net/igb/e1000_regs.h
+1
-1
drivers/net/igb/igb.h
drivers/net/igb/igb.h
+1
-1
drivers/net/igb/igb_ethtool.c
drivers/net/igb/igb_ethtool.c
+1
-1
drivers/net/igb/igb_main.c
drivers/net/igb/igb_main.c
+1
-1
drivers/net/ixgbe/ixgbe_main.c
drivers/net/ixgbe/ixgbe_main.c
+3
-2
未找到文件。
drivers/net/igb/Makefile
浏览文件 @
039f02eb
################################################################################
#
# Intel 82575 PCI-Express Ethernet Linux driver
# Copyright(c) 1999 - 20
09
Intel Corporation.
# Copyright(c) 1999 - 20
11
Intel Corporation.
#
# This program is free software; you can redistribute it and/or modify it
# under the terms and conditions of the GNU General Public License,
...
...
drivers/net/igb/e1000_82575.c
浏览文件 @
039f02eb
/*******************************************************************************
Intel(R) Gigabit Ethernet Linux driver
Copyright(c) 2007-20
09
Intel Corporation.
Copyright(c) 2007-20
11
Intel Corporation.
This program is free software; you can redistribute it and/or modify it
under the terms and conditions of the GNU General Public License,
...
...
@@ -1156,10 +1156,13 @@ static s32 igb_setup_serdes_link_82575(struct e1000_hw *hw)
{
u32
ctrl_ext
,
ctrl_reg
,
reg
;
bool
pcs_autoneg
;
s32
ret_val
=
E1000_SUCCESS
;
u16
data
;
if
((
hw
->
phy
.
media_type
!=
e1000_media_type_internal_serdes
)
&&
!
igb_sgmii_active_82575
(
hw
))
return
0
;
return
ret_val
;
/*
* On the 82575, SerDes loopback mode persists until it is
...
...
@@ -1203,6 +1206,18 @@ static s32 igb_setup_serdes_link_82575(struct e1000_hw *hw)
/* disable PCS autoneg and support parallel detect only */
pcs_autoneg
=
false
;
default:
if
(
hw
->
mac
.
type
==
e1000_82575
||
hw
->
mac
.
type
==
e1000_82576
)
{
ret_val
=
hw
->
nvm
.
ops
.
read
(
hw
,
NVM_COMPAT
,
1
,
&
data
);
if
(
ret_val
)
{
printk
(
KERN_DEBUG
"NVM Read Error
\n\n
"
);
return
ret_val
;
}
if
(
data
&
E1000_EEPROM_PCS_AUTONEG_DISABLE_BIT
)
pcs_autoneg
=
false
;
}
/*
* non-SGMII modes only supports a speed of 1000/Full for the
* link so it is best to just force the MAC and let the pcs
...
...
@@ -1250,7 +1265,7 @@ static s32 igb_setup_serdes_link_82575(struct e1000_hw *hw)
if
(
!
igb_sgmii_active_82575
(
hw
))
igb_force_mac_fc
(
hw
);
return
0
;
return
ret_val
;
}
/**
...
...
@@ -1735,6 +1750,7 @@ static s32 igb_reset_hw_82580(struct e1000_hw *hw)
ctrl
|=
E1000_CTRL_RST
;
wr32
(
E1000_CTRL
,
ctrl
);
wrfl
();
/* Add delay to insure DEV_RST has time to complete */
if
(
global_device_reset
)
...
...
drivers/net/igb/e1000_82575.h
浏览文件 @
039f02eb
/*******************************************************************************
Intel(R) Gigabit Ethernet Linux driver
Copyright(c) 2007-20
09
Intel Corporation.
Copyright(c) 2007-20
11
Intel Corporation.
This program is free software; you can redistribute it and/or modify it
under the terms and conditions of the GNU General Public License,
...
...
@@ -243,6 +243,8 @@ struct e1000_adv_tx_context_desc {
#define E1000_DTXCTL_MDP_EN 0x0020
#define E1000_DTXCTL_SPOOF_INT 0x0040
#define E1000_EEPROM_PCS_AUTONEG_DISABLE_BIT (1 << 14)
#define ALL_QUEUES 0xFFFF
/* RX packet buffer size defines */
...
...
drivers/net/igb/e1000_defines.h
浏览文件 @
039f02eb
/*******************************************************************************
Intel(R) Gigabit Ethernet Linux driver
Copyright(c) 2007-20
09
Intel Corporation.
Copyright(c) 2007-20
11
Intel Corporation.
This program is free software; you can redistribute it and/or modify it
under the terms and conditions of the GNU General Public License,
...
...
@@ -437,6 +437,7 @@
#define E1000_RAH_POOL_1 0x00040000
/* Error Codes */
#define E1000_SUCCESS 0
#define E1000_ERR_NVM 1
#define E1000_ERR_PHY 2
#define E1000_ERR_CONFIG 3
...
...
@@ -587,8 +588,8 @@
#define E1000_NVM_POLL_READ 0
/* Flag for polling for read complete */
/* NVM Word Offsets */
#define NVM_
ID_LED_SETTINGS 0x0004
/* For SERDES output amplitude adjustment.
*/
#define NVM_
COMPAT 0x0003
#define NVM_ID_LED_SETTINGS 0x0004
/* SERDES output amplitude
*/
#define NVM_INIT_CONTROL2_REG 0x000F
#define NVM_INIT_CONTROL3_PORT_B 0x0014
#define NVM_INIT_CONTROL3_PORT_A 0x0024
...
...
drivers/net/igb/e1000_hw.h
浏览文件 @
039f02eb
/*******************************************************************************
Intel(R) Gigabit Ethernet Linux driver
Copyright(c) 2007-20
09
Intel Corporation.
Copyright(c) 2007-20
11
Intel Corporation.
This program is free software; you can redistribute it and/or modify it
under the terms and conditions of the GNU General Public License,
...
...
drivers/net/igb/e1000_mac.c
浏览文件 @
039f02eb
/*******************************************************************************
Intel(R) Gigabit Ethernet Linux driver
Copyright(c) 2007-20
09
Intel Corporation.
Copyright(c) 2007-20
11
Intel Corporation.
This program is free software; you can redistribute it and/or modify it
under the terms and conditions of the GNU General Public License,
...
...
drivers/net/igb/e1000_mac.h
浏览文件 @
039f02eb
/*******************************************************************************
Intel(R) Gigabit Ethernet Linux driver
Copyright(c) 2007-20
09
Intel Corporation.
Copyright(c) 2007-20
11
Intel Corporation.
This program is free software; you can redistribute it and/or modify it
under the terms and conditions of the GNU General Public License,
...
...
drivers/net/igb/e1000_mbx.c
浏览文件 @
039f02eb
/*******************************************************************************
Intel(R) Gigabit Ethernet Linux driver
Copyright(c) 2007-20
09
Intel Corporation.
Copyright(c) 2007-20
11
Intel Corporation.
This program is free software; you can redistribute it and/or modify it
under the terms and conditions of the GNU General Public License,
...
...
drivers/net/igb/e1000_mbx.h
浏览文件 @
039f02eb
/*******************************************************************************
Intel(R) Gigabit Ethernet Linux driver
Copyright(c) 2007-20
09
Intel Corporation.
Copyright(c) 2007-20
11
Intel Corporation.
This program is free software; you can redistribute it and/or modify it
under the terms and conditions of the GNU General Public License,
...
...
drivers/net/igb/e1000_nvm.c
浏览文件 @
039f02eb
/*******************************************************************************
Intel(R) Gigabit Ethernet Linux driver
Copyright(c) 2007-20
09
Intel Corporation.
Copyright(c) 2007-20
11
Intel Corporation.
This program is free software; you can redistribute it and/or modify it
under the terms and conditions of the GNU General Public License,
...
...
drivers/net/igb/e1000_nvm.h
浏览文件 @
039f02eb
/*******************************************************************************
Intel(R) Gigabit Ethernet Linux driver
Copyright(c) 20
07
Intel Corporation.
Copyright(c) 20
11
Intel Corporation.
This program is free software; you can redistribute it and/or modify it
under the terms and conditions of the GNU General Public License,
...
...
drivers/net/igb/e1000_phy.c
浏览文件 @
039f02eb
/*******************************************************************************
Intel(R) Gigabit Ethernet Linux driver
Copyright(c) 2007-20
09
Intel Corporation.
Copyright(c) 2007-20
11
Intel Corporation.
This program is free software; you can redistribute it and/or modify it
under the terms and conditions of the GNU General Public License,
...
...
drivers/net/igb/e1000_phy.h
浏览文件 @
039f02eb
/*******************************************************************************
Intel(R) Gigabit Ethernet Linux driver
Copyright(c) 2007-20
09
Intel Corporation.
Copyright(c) 2007-20
11
Intel Corporation.
This program is free software; you can redistribute it and/or modify it
under the terms and conditions of the GNU General Public License,
...
...
drivers/net/igb/e1000_regs.h
浏览文件 @
039f02eb
/*******************************************************************************
Intel(R) Gigabit Ethernet Linux driver
Copyright(c) 2007-20
09
Intel Corporation.
Copyright(c) 2007-20
11
Intel Corporation.
This program is free software; you can redistribute it and/or modify it
under the terms and conditions of the GNU General Public License,
...
...
drivers/net/igb/igb.h
浏览文件 @
039f02eb
/*******************************************************************************
Intel(R) Gigabit Ethernet Linux driver
Copyright(c) 2007-20
09
Intel Corporation.
Copyright(c) 2007-20
11
Intel Corporation.
This program is free software; you can redistribute it and/or modify it
under the terms and conditions of the GNU General Public License,
...
...
drivers/net/igb/igb_ethtool.c
浏览文件 @
039f02eb
/*******************************************************************************
Intel(R) Gigabit Ethernet Linux driver
Copyright(c) 2007-20
09
Intel Corporation.
Copyright(c) 2007-20
11
Intel Corporation.
This program is free software; you can redistribute it and/or modify it
under the terms and conditions of the GNU General Public License,
...
...
drivers/net/igb/igb_main.c
浏览文件 @
039f02eb
/*******************************************************************************
Intel(R) Gigabit Ethernet Linux driver
Copyright(c) 2007-20
09
Intel Corporation.
Copyright(c) 2007-20
11
Intel Corporation.
This program is free software; you can redistribute it and/or modify it
under the terms and conditions of the GNU General Public License,
...
...
drivers/net/ixgbe/ixgbe_main.c
浏览文件 @
039f02eb
...
...
@@ -5155,8 +5155,6 @@ static int __devinit ixgbe_sw_init(struct ixgbe_adapter *adapter)
adapter
->
flags2
|=
IXGBE_FLAG2_RSC_ENABLED
;
if
(
hw
->
device_id
==
IXGBE_DEV_ID_82599_T3_LOM
)
adapter
->
flags2
|=
IXGBE_FLAG2_TEMP_SENSOR_CAPABLE
;
/* n-tuple support exists, always init our spinlock */
spin_lock_init
(
&
adapter
->
fdir_perfect_lock
);
/* Flow Director hash filters enabled */
adapter
->
flags
|=
IXGBE_FLAG_FDIR_HASH_CAPABLE
;
adapter
->
atr_sample_rate
=
20
;
...
...
@@ -5177,6 +5175,9 @@ static int __devinit ixgbe_sw_init(struct ixgbe_adapter *adapter)
break
;
}
/* n-tuple support exists, always init our spinlock */
spin_lock_init
(
&
adapter
->
fdir_perfect_lock
);
#ifdef CONFIG_IXGBE_DCB
/* Configure DCB traffic classes */
for
(
j
=
0
;
j
<
MAX_TRAFFIC_CLASS
;
j
++
)
{
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录