summaryrefslogtreecommitdiff
path: root/drivers/staging/sm7xx/smtcfb.c
diff options
context:
space:
mode:
authorJavier M. Mellid <jmunhoz@igalia.com>2012-06-10 13:12:23 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2012-06-12 10:55:54 -0700
commit0beb30d365b0fb36c9cac7b7dbe980e882378f23 (patch)
tree1f17698e58192f15244f1171794126d787022e55 /drivers/staging/sm7xx/smtcfb.c
parent67c4e9f46b5241ff777ced09e29048363de8703f (diff)
staging: sm7xx: update comments and clarify supported chips
This patch updates/adds comments in order to clarify devices and Lynx families supported for this driver. Signed-off-by: Javier M. Mellid <jmunhoz@igalia.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/sm7xx/smtcfb.c')
-rw-r--r--drivers/staging/sm7xx/smtcfb.c10
1 files changed, 7 insertions, 3 deletions
diff --git a/drivers/staging/sm7xx/smtcfb.c b/drivers/staging/sm7xx/smtcfb.c
index 2c172d6cd65f..e7028a312ce1 100644
--- a/drivers/staging/sm7xx/smtcfb.c
+++ b/drivers/staging/sm7xx/smtcfb.c
@@ -15,6 +15,7 @@
* License. See the file COPYING in the main directory of this archive for
* more details.
*
+ * Framebuffer driver for Silicon Motion SM710, SM712, SM721 and SM722 chips
*/
#include <linux/io.h>
@@ -758,7 +759,7 @@ static void smtc_unmap_smem(struct smtcfb_info *sfb)
}
/*
- * We need to wake up the LynxEM+, and make sure its in linear memory mode.
+ * We need to wake up the device and make sure its in linear memory mode.
*/
static inline void sm7xx_init_hw(void)
{
@@ -963,7 +964,11 @@ failed_free:
return err;
}
-
+/*
+ * 0x710 (LynxEM)
+ * 0x712 (LynxEM+)
+ * 0x720 (Lynx3DM, Lynx3DM+)
+ */
static DEFINE_PCI_DEVICE_TABLE(smtcfb_pci_table) = {
{ PCI_DEVICE(0x126f, 0x710), },
{ PCI_DEVICE(0x126f, 0x712), },
@@ -971,7 +976,6 @@ static DEFINE_PCI_DEVICE_TABLE(smtcfb_pci_table) = {
{0,}
};
-
static void __devexit smtcfb_pci_remove(struct pci_dev *pdev)
{
struct smtcfb_info *sfb;