Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 317292
b: refs/heads/master
c: 0beb30d
h: refs/heads/master
v: v3
  • Loading branch information
Javier M. Mellid authored and Greg Kroah-Hartman committed Jun 12, 2012
1 parent 2698ae4 commit 9d0f715
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 6 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 67c4e9f46b5241ff777ced09e29048363de8703f
refs/heads/master: 0beb30d365b0fb36c9cac7b7dbe980e882378f23
9 changes: 7 additions & 2 deletions trunk/drivers/staging/sm7xx/Kconfig
Original file line number Diff line number Diff line change
@@ -1,8 +1,13 @@
config FB_SM7XX
tristate "Silicon Motion SM7XX Frame Buffer Support"
tristate "Silicon Motion SM7XX framebuffer support"
depends on FB
select FB_CFB_FILLRECT
select FB_CFB_COPYAREA
select FB_CFB_IMAGEBLIT
help
Frame Buffer driver for the Silicon Motion SM7XX serial graphic card.
Frame buffer driver for the Silicon Motion SM710, SM712, SM721
and SM722 chips.

This driver is also available as a module. The module will be
called sm7xx. If you want to compile it as a module, say M
here and read <file:Documentation/kbuild/modules.txt>.
10 changes: 7 additions & 3 deletions trunk/drivers/staging/sm7xx/smtcfb.c
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down Expand Up @@ -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)
{
Expand Down Expand Up @@ -963,15 +964,18 @@ static int __devinit smtcfb_pci_probe(struct pci_dev *pdev,
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), },
{ PCI_DEVICE(0x126f, 0x720), },
{0,}
};


static void __devexit smtcfb_pci_remove(struct pci_dev *pdev)
{
struct smtcfb_info *sfb;
Expand Down

0 comments on commit 9d0f715

Please sign in to comment.