Skip to contentSkip to conversation

rt2x00: add Ralink 0x539f to PCI_DEVICE_TABLE

PATCH In review Adrien Nader 2 participants 2 messages Jul 9, 2011 Networking drivers (wireless)

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 rt2x00: add Ralink 0x539f to PCI_DEVICE_TABLE

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.

---
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).

drivers/net/wireless/rt2x00/rt2800pci.c +1 -0
index cc4a54f..55cd3e1 100644
@@ -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, }
 };
drivers/net/wireless/rt2x00/rt2x00.h +1 -1
index c446db6..5c5b6a8 100644
@@ -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;
#1 lore raw

First part already exists in wireless-next-2.6 GIT [1].

- Sedat -

[1] http://git.kernel.org/?p=linux/kernel/git/linville/wireless-next-2.6.git;a=commitdiff;h=71e0b38c2914018b01f3f08b43ee9e3328197699

Quoted 40 lines · Adrien Nader

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.

---
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).

drivers/net/wireless/rt2x00/rt2800pci.c +1 -0
index cc4a54f..55cd3e1 100644
@@ -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, }
  };
drivers/net/wireless/rt2x00/rt2x00.h +1 -2
index c446db6..5c5b6a8 100644
@@ -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;
--

To unsubscribe from this list: send the line "unsubscribe linux-wireless" in the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html