#include <linux/aperture.h>
#include <linux/module.h>
#include <linux/kernel.h>
#include <linux/errno.h>
#include <linux/string.h>
#include <linux/mm.h>
#include <linux/delay.h>
#include <linux/fb.h>
#include <linux/init.h>
#include <linux/pci.h>
#include "geodefb.h"
#include "display_gx1.h"
#include "video_cs5530.h"
static char mode_option[32] = …;
static int crt_option = …;
static char panel_option[32] = …;
static const struct fb_videomode gx1_modedb[] = …;
static int gx1_line_delta(int xres, int bpp)
{ … }
static int gx1fb_check_var(struct fb_var_screeninfo *var, struct fb_info *info)
{ … }
static int gx1fb_set_par(struct fb_info *info)
{ … }
static inline u_int chan_to_field(u_int chan, struct fb_bitfield *bf)
{ … }
static int gx1fb_setcolreg(unsigned regno, unsigned red, unsigned green,
unsigned blue, unsigned transp,
struct fb_info *info)
{ … }
static int gx1fb_blank(int blank_mode, struct fb_info *info)
{ … }
static int gx1fb_map_video_memory(struct fb_info *info, struct pci_dev *dev)
{ … }
static int parse_panel_option(struct fb_info *info)
{ … }
static const struct fb_ops gx1fb_ops = …;
static struct fb_info *gx1fb_init_fbinfo(struct device *dev)
{ … }
static int gx1fb_probe(struct pci_dev *pdev, const struct pci_device_id *id)
{ … }
static void gx1fb_remove(struct pci_dev *pdev)
{ … }
#ifndef MODULE
static void __init gx1fb_setup(char *options)
{ … }
#endif
static struct pci_device_id gx1fb_id_table[] = …;
MODULE_DEVICE_TABLE(pci, gx1fb_id_table);
static struct pci_driver gx1fb_driver = …;
static int __init gx1fb_init(void)
{ … }
static void gx1fb_cleanup(void)
{ … }
module_init(…) …;
module_exit(gx1fb_cleanup);
module_param_string(…);
MODULE_PARM_DESC(…) …;
module_param_named(crt, crt_option, int, 0444);
MODULE_PARM_DESC(…) …;
module_param_string(…);
MODULE_PARM_DESC(…) …;
MODULE_DESCRIPTION(…) …;
MODULE_LICENSE(…) …;