Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions | Variables
ast_drv.c File Reference
#include <linux/module.h>
#include <linux/console.h>
#include <drm/drmP.h>
#include <drm/drm_crtc_helper.h>
#include "ast_drv.h"

Go to the source code of this file.

Macros

#define PCI_VENDOR_ASPEED   0x1a03
 
#define AST_VGA_DEVICE(id, info)
 

Functions

 MODULE_PARM_DESC (modeset,"Disable/Enable modesetting")
 
 module_param_named (modeset, ast_modeset, int, 0400)
 
 MODULE_DEVICE_TABLE (pci, pciidlist)
 
 module_init (ast_init)
 
 module_exit (ast_exit)
 
 MODULE_AUTHOR (DRIVER_AUTHOR)
 
 MODULE_DESCRIPTION (DRIVER_DESC)
 
 MODULE_LICENSE ("GPL and additional rights")
 

Variables

int ast_modeset = -1
 

Macro Definition Documentation

#define AST_VGA_DEVICE (   id,
  info 
)
Value:
{ \
.class = PCI_BASE_CLASS_DISPLAY << 16, \
.class_mask = 0xff0000, \
.vendor = PCI_VENDOR_ASPEED, \
.device = id, \
.subvendor = PCI_ANY_ID, \
.subdevice = PCI_ANY_ID, \
.driver_data = (unsigned long) info }

Definition at line 45 of file ast_drv.c.

#define PCI_VENDOR_ASPEED   0x1a03

Definition at line 41 of file ast_drv.c.

Function Documentation

MODULE_AUTHOR ( DRIVER_AUTHOR  )
MODULE_DESCRIPTION ( DRIVER_DESC  )
MODULE_DEVICE_TABLE ( pci  ,
pciidlist   
)
module_exit ( ast_exit  )
module_init ( ast_init  )
MODULE_LICENSE ( "GPL and additional rights"  )
module_param_named ( modeset  ,
ast_modeset  ,
int  ,
0400   
)
MODULE_PARM_DESC ( modeset  ,
"Disable/Enable modesetting"   
)

Variable Documentation

int ast_modeset = -1

Definition at line 36 of file ast_drv.c.