Re: Patch for eepro100 to support more cards

From: Josh Grebe (squash2@dropnet.net)
Date: Thu Feb 07 2002 - 12:45:25 EST


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/
-
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/



This archive was generated by hypermail 2b29 : Thu Feb 07 2002 - 21:01:04 EST