* Patch for eepro100 to support more cards
@ 2002-02-01 8:06 Hanno Böck
2002-02-06 12:27 ` David Weinehall
0 siblings, 1 reply; 4+ messages in thread
From: Hanno Böck @ 2002-02-01 8:06 UTC (permalink / raw)
To: linux-kernel
This patch adds support for the
Intel Pro/100 VE
Network card to the eepro100.c
This card is installed in my notebook (Sony Vaio PCG-GR114MK). Seems to work
fine.
Patch is for Kernel 2.4.17
--- linux/drivers/net/eepro100.c Fri Dec 21 18:41:54 2001
+++ linux-2.4.17-patch/drivers/net/eepro100.c Thu Jan 31 15:51:50 2002
@@ -168,6 +168,9 @@
#ifndef PCI_DEVICE_ID_INTEL_ID1030
#define PCI_DEVICE_ID_INTEL_ID1030 0x1030
#endif
+#ifndef PCI_DEVICE_ID_INTEL_ID1031 // Support for Intel Pro/100
VE added by Hanno Boeck <hanno@gmx.de>
+#define PCI_DEVICE_ID_INTEL_ID1031 0x1031
+#endif
static int speedo_debug = 1;
@@ -2270,6 +2273,8 @@
{ PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_ID1029,
PCI_ANY_ID, PCI_ANY_ID, },
{ PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_ID1030,
+ PCI_ANY_ID, PCI_ANY_ID, },
+ { PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_ID1031, // Support
for
Intel Pro/100 VE added by Hanno Boeck <hanno@gmx.de>
PCI_ANY_ID, PCI_ANY_ID, },
{ PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_82801BA_7,
PCI_ANY_ID, PCI_ANY_ID, },
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Patch for eepro100 to support more cards
2002-02-01 8:06 Patch for eepro100 to support more cards Hanno Böck
@ 2002-02-06 12:27 ` David Weinehall
2002-02-06 14:45 ` Hanno Böck
0 siblings, 1 reply; 4+ messages in thread
From: David Weinehall @ 2002-02-06 12:27 UTC (permalink / raw)
To: Hanno Böck; +Cc: linux-kernel
On Fri, Feb 01, 2002 at 09:06:26AM +0100, Hanno Böck wrote:
> This patch adds support for the
> Intel Pro/100 VE
> Network card to the eepro100.c
>
> This card is installed in my notebook (Sony Vaio PCG-GR114MK). Seems to work
> fine.
Nice!
[snip]
> +#ifndef PCI_DEVICE_ID_INTEL_ID1031 // Support for Intel Pro/100
> VE added by Hanno Boeck <hanno@gmx.de>
[snip]
PLEASE put this kind of comments in the changelog or similarly fitting
place instead of in the code. If everyone had their e-mail address
in a comment after every line they added, would be bloated beyond
proportions (some argue that it already is, but let's ignore that for
now...)
Regards: David Weinehall
_ _
// David Weinehall <tao@acc.umu.se> /> Northern lights wander \\
// Maintainer of the v2.0 kernel // Dance across the winter sky //
\> http://www.acc.umu.se/~tao/ </ Full colour fire </
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Patch for eepro100 to support more cards
2002-02-06 12:27 ` David Weinehall
@ 2002-02-06 14:45 ` Hanno Böck
2002-02-07 17:45 ` Josh Grebe
0 siblings, 1 reply; 4+ messages in thread
From: Hanno Böck @ 2002-02-06 14:45 UTC (permalink / raw)
To: David Weinehall; +Cc: linux-kernel
Because of some complains and as pre8 is out now, I made it again for the 2.4.18pre8-kernel.
I hope it is okay now.
I put up a site for the patch: http://www.int21.de/eepro100/
The Patch adds definitions for the Intel Pro/100 VE-card to the eepro100-driver.
--- linux-2.4.18-pre8/drivers/net/eepro100.c Wed Feb 6 15:15:16 2002
+++ linux/drivers/net/eepro100.c Wed Feb 6 15:19:14 2002
@@ -168,6 +168,9 @@
#ifndef PCI_DEVICE_ID_INTEL_ID1030
#define PCI_DEVICE_ID_INTEL_ID1030 0x1030
#endif
+#ifndef PCI_DEVICE_ID_INTEL_ID1031 /* support for Intel Pro/100 VE */
+#define PCI_DEVICE_ID_INTEL_ID1031 0x1031
+#endif
static int speedo_debug = 1;
@@ -2270,6 +2273,8 @@
{ PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_ID1029,
PCI_ANY_ID, PCI_ANY_ID, },
{ PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_ID1030,
+ PCI_ANY_ID, PCI_ANY_ID, },
+ { PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_ID1031, /* support for Intel Pro/100 VE */
PCI_ANY_ID, PCI_ANY_ID, },
{ PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_82801BA_7,
PCI_ANY_ID, PCI_ANY_ID, },
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Patch for eepro100 to support more cards
2002-02-06 14:45 ` Hanno Böck
@ 2002-02-07 17:45 ` Josh Grebe
0 siblings, 0 replies; 4+ messages in thread
From: Josh Grebe @ 2002-02-07 17:45 UTC (permalink / raw)
To: Hanno Böck, David Weinehall; +Cc: linux-kernel
Hanno,
Patches that I had previously sent to add support for other cards were not
accepted when I had it done like this. The fix was to ad an entry for the PCI
ID into include/linux/pci_ids.h instead of adding defines into eepro100.c.
You might try changing that and resubmitting, it is a cleaner way to do it
anyway.
Josh
On Wednesday 06 February 2002 08:45, Hanno Böck wrote:
> Because of some complains and as pre8 is out now, I made it again for the
> 2.4.18pre8-kernel. I hope it is okay now.
>
> I put up a site for the patch: http://www.int21.de/eepro100/
>
> The Patch adds definitions for the Intel Pro/100 VE-card to the
> eepro100-driver.
>
> --- linux-2.4.18-pre8/drivers/net/eepro100.c Wed Feb 6 15:15:16 2002
> +++ linux/drivers/net/eepro100.c Wed Feb 6 15:19:14 2002
> @@ -168,6 +168,9 @@
> #ifndef PCI_DEVICE_ID_INTEL_ID1030
> #define PCI_DEVICE_ID_INTEL_ID1030 0x1030
> #endif
> +#ifndef PCI_DEVICE_ID_INTEL_ID1031 /* support for Intel Pro/100
> VE */ +#define PCI_DEVICE_ID_INTEL_ID1031 0x1031
> +#endif
>
>
> static int speedo_debug = 1;
> @@ -2270,6 +2273,8 @@
> { PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_ID1029,
> PCI_ANY_ID, PCI_ANY_ID, },
> { PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_ID1030,
> + PCI_ANY_ID, PCI_ANY_ID, },
> + { PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_ID1031, /* support for
> Intel Pro/100 VE */ PCI_ANY_ID, PCI_ANY_ID, },
> { PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_82801BA_7,
> PCI_ANY_ID, PCI_ANY_ID, },
> -
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at http://www.tux.org/lkml/
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2002-02-07 17:44 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-02-01 8:06 Patch for eepro100 to support more cards Hanno Böck
2002-02-06 12:27 ` David Weinehall
2002-02-06 14:45 ` Hanno Böck
2002-02-07 17:45 ` Josh Grebe
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox