/[linux-patches]/genpatches-2.6/trunk/2.6.12/4311_forcedeth-poll.patch
Gentoo

Contents of /genpatches-2.6/trunk/2.6.12/4311_forcedeth-poll.patch

Parent Directory Parent Directory | Revision Log Revision Log


Revision 62 - (show annotations) (download)
Mon Jun 27 18:18:55 2005 UTC (13 years, 4 months ago) by dsd
File size: 4801 byte(s)
New hardware support for forcedeth and a bugfix
1 manfred@colorfullife.com
2 [PATCH] forcedeth: Poll for link changes
3 [PATCH] forcedeth: Poll for link changes
4
5 This is a multi-part message in MIME format.
6
7 ---
8 commit 8f767fc83cf4e4f1241b5a0b949b54088d075411
9 tree 489464703d572cab71c0504d835e7ae446f88733
10 parent 9992d4aa6b3b169a7903e029fc2c3eaa4b4055a1
11 author Manfred Spraul <manfred@colorfullife.com> Sat, 18 Jun 2005 15:55:19 +0200
12 committer Jeff Garzik <jgarzik@pobox.com> Mon, 27 Jun 2005 01:12:29 -0400
13
14 drivers/net/forcedeth.c | 25 +++++++++++++------------
15 1 files changed, 13 insertions(+), 12 deletions(-)
16
17 diff --git a/drivers/net/forcedeth.c b/drivers/net/forcedeth.c
18 --- a/drivers/net/forcedeth.c
19 +++ b/drivers/net/forcedeth.c
20 @@ -82,7 +82,8 @@
21 * 0.31: 14 Nov 2004: ethtool support for getting/setting link
22 * capabilities.
23 * 0.32: 16 Apr 2005: RX_ERROR4 handling added.
24 - * 0.33: 16 Mai 2005: Support for MCP51 added.
25 + * 0.33: 16 May 2005: Support for MCP51 added.
26 + * 0.34: 18 Jun 2005: Add DEV_NEED_LINKTIMER to all nForce nics.
27 *
28 * Known bugs:
29 * We suspect that on some hardware no TX done interrupts are generated.
30 @@ -94,7 +95,7 @@
31 * DEV_NEED_TIMERIRQ will not harm you on sane hardware, only generating a few
32 * superfluous timer interrupts from the nic.
33 */
34 -#define FORCEDETH_VERSION "0.33"
35 +#define FORCEDETH_VERSION "0.34"
36 #define DRV_NAME "forcedeth"
37
38 #include <linux/module.h>
39 @@ -2218,70 +2219,70 @@ static struct pci_device_id pci_tbl[] =
40 .device = PCI_DEVICE_ID_NVIDIA_NVENET_4,
41 .subvendor = PCI_ANY_ID,
42 .subdevice = PCI_ANY_ID,
43 - .driver_data = DEV_NEED_LASTPACKET1|DEV_IRQMASK_2|DEV_NEED_TIMERIRQ,
44 + .driver_data = DEV_NEED_LASTPACKET1|DEV_IRQMASK_2|DEV_NEED_TIMERIRQ|DEV_NEED_LINKTIMER,
45 },
46 { /* nForce3 Ethernet Controller */
47 .vendor = PCI_VENDOR_ID_NVIDIA,
48 .device = PCI_DEVICE_ID_NVIDIA_NVENET_5,
49 .subvendor = PCI_ANY_ID,
50 .subdevice = PCI_ANY_ID,
51 - .driver_data = DEV_NEED_LASTPACKET1|DEV_IRQMASK_2|DEV_NEED_TIMERIRQ,
52 + .driver_data = DEV_NEED_LASTPACKET1|DEV_IRQMASK_2|DEV_NEED_TIMERIRQ|DEV_NEED_LINKTIMER,
53 },
54 { /* nForce3 Ethernet Controller */
55 .vendor = PCI_VENDOR_ID_NVIDIA,
56 .device = PCI_DEVICE_ID_NVIDIA_NVENET_6,
57 .subvendor = PCI_ANY_ID,
58 .subdevice = PCI_ANY_ID,
59 - .driver_data = DEV_NEED_LASTPACKET1|DEV_IRQMASK_2|DEV_NEED_TIMERIRQ,
60 + .driver_data = DEV_NEED_LASTPACKET1|DEV_IRQMASK_2|DEV_NEED_TIMERIRQ|DEV_NEED_LINKTIMER,
61 },
62 { /* nForce3 Ethernet Controller */
63 .vendor = PCI_VENDOR_ID_NVIDIA,
64 .device = PCI_DEVICE_ID_NVIDIA_NVENET_7,
65 .subvendor = PCI_ANY_ID,
66 .subdevice = PCI_ANY_ID,
67 - .driver_data = DEV_NEED_LASTPACKET1|DEV_IRQMASK_2|DEV_NEED_TIMERIRQ,
68 + .driver_data = DEV_NEED_LASTPACKET1|DEV_IRQMASK_2|DEV_NEED_TIMERIRQ|DEV_NEED_LINKTIMER,
69 },
70 { /* CK804 Ethernet Controller */
71 .vendor = PCI_VENDOR_ID_NVIDIA,
72 .device = PCI_DEVICE_ID_NVIDIA_NVENET_8,
73 .subvendor = PCI_ANY_ID,
74 .subdevice = PCI_ANY_ID,
75 - .driver_data = DEV_NEED_LASTPACKET1|DEV_IRQMASK_2|DEV_NEED_TIMERIRQ,
76 + .driver_data = DEV_NEED_LASTPACKET1|DEV_IRQMASK_2|DEV_NEED_TIMERIRQ|DEV_NEED_LINKTIMER,
77 },
78 { /* CK804 Ethernet Controller */
79 .vendor = PCI_VENDOR_ID_NVIDIA,
80 .device = PCI_DEVICE_ID_NVIDIA_NVENET_9,
81 .subvendor = PCI_ANY_ID,
82 .subdevice = PCI_ANY_ID,
83 - .driver_data = DEV_NEED_LASTPACKET1|DEV_IRQMASK_2|DEV_NEED_TIMERIRQ,
84 + .driver_data = DEV_NEED_LASTPACKET1|DEV_IRQMASK_2|DEV_NEED_TIMERIRQ|DEV_NEED_LINKTIMER,
85 },
86 { /* MCP04 Ethernet Controller */
87 .vendor = PCI_VENDOR_ID_NVIDIA,
88 .device = PCI_DEVICE_ID_NVIDIA_NVENET_10,
89 .subvendor = PCI_ANY_ID,
90 .subdevice = PCI_ANY_ID,
91 - .driver_data = DEV_NEED_LASTPACKET1|DEV_IRQMASK_2|DEV_NEED_TIMERIRQ,
92 + .driver_data = DEV_NEED_LASTPACKET1|DEV_IRQMASK_2|DEV_NEED_TIMERIRQ|DEV_NEED_LINKTIMER,
93 },
94 { /* MCP04 Ethernet Controller */
95 .vendor = PCI_VENDOR_ID_NVIDIA,
96 .device = PCI_DEVICE_ID_NVIDIA_NVENET_11,
97 .subvendor = PCI_ANY_ID,
98 .subdevice = PCI_ANY_ID,
99 - .driver_data = DEV_NEED_LASTPACKET1|DEV_IRQMASK_2|DEV_NEED_TIMERIRQ,
100 + .driver_data = DEV_NEED_LASTPACKET1|DEV_IRQMASK_2|DEV_NEED_TIMERIRQ|DEV_NEED_LINKTIMER,
101 },
102 { /* MCP51 Ethernet Controller */
103 .vendor = PCI_VENDOR_ID_NVIDIA,
104 .device = PCI_DEVICE_ID_NVIDIA_NVENET_12,
105 .subvendor = PCI_ANY_ID,
106 .subdevice = PCI_ANY_ID,
107 - .driver_data = DEV_NEED_LASTPACKET1|DEV_IRQMASK_2|DEV_NEED_TIMERIRQ,
108 + .driver_data = DEV_NEED_LASTPACKET1|DEV_IRQMASK_2|DEV_NEED_TIMERIRQ|DEV_NEED_LINKTIMER,
109 },
110 { /* MCP51 Ethernet Controller */
111 .vendor = PCI_VENDOR_ID_NVIDIA,
112 .device = PCI_DEVICE_ID_NVIDIA_NVENET_13,
113 .subvendor = PCI_ANY_ID,
114 .subdevice = PCI_ANY_ID,
115 - .driver_data = DEV_NEED_LASTPACKET1|DEV_IRQMASK_2|DEV_NEED_TIMERIRQ,
116 + .driver_data = DEV_NEED_LASTPACKET1|DEV_IRQMASK_2|DEV_NEED_TIMERIRQ|DEV_NEED_LINKTIMER,
117 },
118 {0,},
119 };

  ViewVC Help
Powered by ViewVC 1.1.20