Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
linux-davinci
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
linux
linux-davinci
Commits
9992d4aa
Commit
9992d4aa
authored
Jun 05, 2005
by
Manfred Spraul
Committed by
Jeff Garzik
Jun 27, 2005
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[PATCH] forcedeth: add two new pci ids
This is a multi-part message in MIME format.
parent
4f2ad811
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
19 additions
and
2 deletions
+19
-2
drivers/net/forcedeth.c
drivers/net/forcedeth.c
+19
-2
No files found.
drivers/net/forcedeth.c
View file @
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
,},
};
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment