Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
openeuler
Kernel
提交
238523e1
K
Kernel
项目概览
openeuler
/
Kernel
大约 1 年 前同步成功
通知
5
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
K
Kernel
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
238523e1
编写于
12月 12, 2005
作者:
L
Linus Torvalds
浏览文件
操作
浏览文件
下载
差异文件
Merge branch 'upstream-fixes' of master.kernel.org:/pub/scm/linux/kernel/git/jgarzik/netdev-2.6
上级
1ff80389
016cc850
变更
2
隐藏空白更改
内联
并排
Showing
2 changed file
with
2 addition
and
7 deletion
+2
-7
drivers/net/pcnet32.c
drivers/net/pcnet32.c
+0
-5
drivers/net/sk98lin/skge.c
drivers/net/sk98lin/skge.c
+2
-2
未找到文件。
drivers/net/pcnet32.c
浏览文件 @
238523e1
...
...
@@ -1251,12 +1251,7 @@ pcnet32_probe1(unsigned long ioaddr, int shared, struct pci_dev *pdev)
if
(
memcmp
(
promaddr
,
dev
->
dev_addr
,
6
)
||
!
is_valid_ether_addr
(
dev
->
dev_addr
))
{
#ifndef __powerpc__
if
(
is_valid_ether_addr
(
promaddr
))
{
#else
if
(
!
is_valid_ether_addr
(
dev
->
dev_addr
)
&&
is_valid_ether_addr
(
promaddr
))
{
#endif
if
(
pcnet32_debug
&
NETIF_MSG_PROBE
)
{
printk
(
" warning: CSR address invalid,
\n
"
);
printk
(
KERN_INFO
" using instead PROM address of"
);
...
...
drivers/net/sk98lin/skge.c
浏览文件 @
238523e1
...
...
@@ -818,7 +818,7 @@ uintptr_t VNextDescr; /* the virtual bus address of the next descriptor */
/* set the pointers right */
pDescr
->
VNextRxd
=
VNextDescr
&
0xffffffffULL
;
pDescr
->
pNextRxd
=
pNextDescr
;
pDescr
->
TcpSumStarts
=
0
;
if
(
!
IsTx
)
pDescr
->
TcpSumStarts
=
ETH_HLEN
<<
16
|
ETH_HLEN
;
/* advance one step */
pPrevDescr
=
pDescr
;
...
...
@@ -2169,7 +2169,7 @@ SK_U64 PhysAddr;
}
/* frame > SK_COPY_TRESHOLD */
#ifdef USE_SK_RX_CHECKSUM
pMsg
->
csum
=
pRxd
->
TcpSums
;
pMsg
->
csum
=
pRxd
->
TcpSums
&
0xffff
;
pMsg
->
ip_summed
=
CHECKSUM_HW
;
#else
pMsg
->
ip_summed
=
CHECKSUM_NONE
;
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录