Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
openeuler
raspberrypi-kernel
提交
9992d4aa
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看板
提交
9992d4aa
编写于
6月 05, 2005
作者:
M
Manfred Spraul
提交者:
Jeff Garzik
6月 27, 2005
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
[PATCH] forcedeth: add two new pci ids
This is a multi-part message in MIME format.
上级
4f2ad811
变更
1
隐藏空白更改
内联
并排
Showing
1 changed file
with
19 addition
and
2 deletion
+19
-2
drivers/net/forcedeth.c
drivers/net/forcedeth.c
+19
-2
未找到文件。
drivers/net/forcedeth.c
浏览文件 @
9992d4aa
...
...
@@ -82,6 +82,7 @@
* 0.31: 14 Nov 2004: ethtool support for getting/setting link
* capabilities.
* 0.32: 16 Apr 2005: RX_ERROR4 handling added.
* 0.33: 16 Mai 2005: Support for MCP51 added.
*
* Known bugs:
* We suspect that on some hardware no TX done interrupts are generated.
...
...
@@ -93,7 +94,7 @@
* DEV_NEED_TIMERIRQ will not harm you on sane hardware, only generating a few
* superfluous timer interrupts from the nic.
*/
#define FORCEDETH_VERSION "0.3
2
"
#define FORCEDETH_VERSION "0.3
3
"
#define DRV_NAME "forcedeth"
#include <linux/module.h>
...
...
@@ -2005,7 +2006,9 @@ static int __devinit nv_probe(struct pci_dev *pci_dev, const struct pci_device_i
/* handle different descriptor versions */
if
(
pci_dev
->
device
==
PCI_DEVICE_ID_NVIDIA_NVENET_1
||
pci_dev
->
device
==
PCI_DEVICE_ID_NVIDIA_NVENET_2
||
pci_dev
->
device
==
PCI_DEVICE_ID_NVIDIA_NVENET_3
)
pci_dev
->
device
==
PCI_DEVICE_ID_NVIDIA_NVENET_3
||
pci_dev
->
device
==
PCI_DEVICE_ID_NVIDIA_NVENET_12
||
pci_dev
->
device
==
PCI_DEVICE_ID_NVIDIA_NVENET_13
)
np
->
desc_ver
=
DESC_VER_1
;
else
np
->
desc_ver
=
DESC_VER_2
;
...
...
@@ -2266,6 +2269,20 @@ static struct pci_device_id pci_tbl[] = {
.
subdevice
=
PCI_ANY_ID
,
.
driver_data
=
DEV_NEED_LASTPACKET1
|
DEV_IRQMASK_2
|
DEV_NEED_TIMERIRQ
,
},
{
/* MCP51 Ethernet Controller */
.
vendor
=
PCI_VENDOR_ID_NVIDIA
,
.
device
=
PCI_DEVICE_ID_NVIDIA_NVENET_12
,
.
subvendor
=
PCI_ANY_ID
,
.
subdevice
=
PCI_ANY_ID
,
.
driver_data
=
DEV_NEED_LASTPACKET1
|
DEV_IRQMASK_2
|
DEV_NEED_TIMERIRQ
,
},
{
/* MCP51 Ethernet Controller */
.
vendor
=
PCI_VENDOR_ID_NVIDIA
,
.
device
=
PCI_DEVICE_ID_NVIDIA_NVENET_13
,
.
subvendor
=
PCI_ANY_ID
,
.
subdevice
=
PCI_ANY_ID
,
.
driver_data
=
DEV_NEED_LASTPACKET1
|
DEV_IRQMASK_2
|
DEV_NEED_TIMERIRQ
,
},
{
0
,},
};
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录