+ natsemi-fix-detection-of-vanilla-natsemi-cards.patch added to -mm tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The patch titled
     natsemi: fix detection of vanilla natsemi cards
has been added to the -mm tree.  Its filename is
     natsemi-fix-detection-of-vanilla-natsemi-cards.patch

*** Remember to use Documentation/SubmitChecklist when testing your code ***

See http://www.zip.com.au/~akpm/linux/patches/stuff/added-to-mm.txt to find
out what to do about this

------------------------------------------------------
Subject: natsemi: fix detection of vanilla natsemi cards
From: Mark Brown <broonie@xxxxxxxxxxxxx>

Bob Tracy <rct@xxxxxxxxxxxxxxxx> reported that the addition of support for
Aculab E1/T1 cPCI carrier cards broke detection of vanilla natsemi cards. 
This patch fixes that: the problem is that the driver-specific ta in the
PCI device table is an index into a second table and this had not been
updated for the vanilla cards.

This patch fixes the problem minimally.

Signed-off-by: Mark Brown <broonie@xxxxxxxxxxxxx>
Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>
---

 drivers/net/natsemi.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff -puN drivers/net/natsemi.c~natsemi-fix-detection-of-vanilla-natsemi-cards drivers/net/natsemi.c
--- a/drivers/net/natsemi.c~natsemi-fix-detection-of-vanilla-natsemi-cards
+++ a/drivers/net/natsemi.c
@@ -260,7 +260,7 @@ static const struct {
 
 static const struct pci_device_id natsemi_pci_tbl[] __devinitdata = {
 	{ PCI_VENDOR_ID_NS, 0x0020, 0x12d9,     0x000c,     0, 0, 0 },
-	{ PCI_VENDOR_ID_NS, 0x0020, PCI_ANY_ID, PCI_ANY_ID, 0, 0, 0 },
+	{ PCI_VENDOR_ID_NS, 0x0020, PCI_ANY_ID, PCI_ANY_ID, 0, 0, 1 },
 	{ }	/* terminate list */
 };
 MODULE_DEVICE_TABLE(pci, natsemi_pci_tbl);
_

Patches currently in -mm which might be from broonie@xxxxxxxxxxxxx are

natsemi-fix-detection-of-vanilla-natsemi-cards.patch

-
To unsubscribe from this list: send the line "unsubscribe mm-commits" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Kernel Newbies FAQ]     [Kernel Archive]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [Bugtraq]     [Photo]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]

  Powered by Linux