All of lore.kernel.org
 help / color / mirror / Atom feed
From: Adrien Nader <adrien@notk.org>
To: linux-wireless@vger.kernel.org
Subject: [PATCH 3.0.0-rc6] rt2x00: add Ralink 0x539f to PCI_DEVICE_TABLE
Date: Sat, 9 Jul 2011 16:50:01 +0200	[thread overview]
Message-ID: <20110709145001.GA6938@notk.org> (raw)

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;

             reply	other threads:[~2011-07-09 14:56 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-07-09 14:50 Adrien Nader [this message]
2011-07-09 15:22 ` [PATCH 3.0.0-rc6] rt2x00: add Ralink 0x539f to PCI_DEVICE_TABLE Sedat Dilek

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20110709145001.GA6938@notk.org \
    --to=adrien@notk.org \
    --cc=linux-wireless@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.