rt2x00: add Ralink 0x539f to PCI_DEVICE_TABLE
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
@@ -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
@@ -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;
First part already exists in wireless-next-2.6 GIT [1].
- Sedat -
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.
Signed-off-by Adrien Nader <[email protected]>---
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@@ -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@@ -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