Linux wireless drivers development
 help / color / mirror / Atom feed
* [PATCH 3.0.0-rc6] rt2x00: add Ralink 0x539f to PCI_DEVICE_TABLE
@ 2011-07-09 14:50 Adrien Nader
  2011-07-09 15:22 ` Sedat Dilek
  0 siblings, 1 reply; 2+ messages in thread
From: Adrien Nader @ 2011-07-09 14:50 UTC (permalink / raw)
  To: linux-wireless

Actual support for this card which is to be found in HP dm1* laptops is
already there for the 5390. This only adds the device id to the list of
hardware handled by the driver.

Signed-off-by: Adrien Nader <adrien@notk.org>
---
It also changes some spaces into tabs to be be consistent with the
previous lines (it lined up correctly only if you have tabs set to 8
spaces).

diff --git a/drivers/net/wireless/rt2x00/rt2800pci.c b/drivers/net/wireless/rt2x00/rt2800pci.c
index cc4a54f..55cd3e1 100644
--- a/drivers/net/wireless/rt2x00/rt2800pci.c
+++ b/drivers/net/wireless/rt2x00/rt2800pci.c
@@ -1158,6 +1158,7 @@ static DEFINE_PCI_DEVICE_TABLE(rt2800pci_device_table) = {
 #endif
 #ifdef CONFIG_RT2800PCI_RT53XX
 	{ PCI_DEVICE(0x1814, 0x5390) },
+	{ PCI_DEVICE(0x1814, 0x539f) },
 #endif
 	{ 0, }
 };
diff --git a/drivers/net/wireless/rt2x00/rt2x00.h b/drivers/net/wireless/rt2x00/rt2x00.h
index c446db6..5c5b6a8 100644
--- a/drivers/net/wireless/rt2x00/rt2x00.h
+++ b/drivers/net/wireless/rt2x00/rt2x00.h
@@ -190,7 +190,7 @@ struct rt2x00_chip {
 #define RT3572		0x3572
 #define RT3593		0x3593	/* PCIe */
 #define RT3883		0x3883	/* WSOC */
-#define RT5390         0x5390  /* 2.4GHz */
+#define RT5390		0x5390	/* 2.4GHz */
 
 	u16 rf;
 	u16 rev;

^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2011-07-09 15:22 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-07-09 14:50 [PATCH 3.0.0-rc6] rt2x00: add Ralink 0x539f to PCI_DEVICE_TABLE Adrien Nader
2011-07-09 15:22 ` Sedat Dilek

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox