linux/drivers/video/fbdev/asiliantfb.c

/*
 * drivers/video/asiliantfb.c
 *  frame buffer driver for Asiliant 69000 chip
 *  Copyright (C) 2001-2003 Saito.K & Jeanne
 *
 *  from driver/video/chipsfb.c and,
 *
 *  drivers/video/asiliantfb.c -- frame buffer device for
 *  Asiliant 69030 chip (formerly Intel, formerly Chips & Technologies)
 *  Author: [email protected]
 *  Copyright (C) 2000 AG Electronics
 *  Note: the data sheets don't seem to be available from Asiliant.
 *  They are available by searching developer.intel.com, but are not otherwise
 *  linked to.
 *
 *  This driver should be portable with minimal effort to the 69000 display
 *  chip, and to the twin-display mode of the 69030.
 *  Contains code from Thomas Hhenleitner <[email protected]> (thanks)
 *
 *  Derived from the CT65550 driver chipsfb.c:
 *  Copyright (C) 1998 Paul Mackerras
 *  ...which was derived from the Powermac "chips" driver:
 *  Copyright (C) 1997 Fabio Riccardi.
 *  And from the frame buffer device for Open Firmware-initialized devices:
 *  Copyright (C) 1997 Geert Uytterhoeven.
 *
 *  This file is subject to the terms and conditions of the GNU General Public
 *  License. See the file COPYING in the main directory of this archive for
 *  more details.
 */

#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/vmalloc.h>
#include <linux/delay.h>
#include <linux/interrupt.h>
#include <linux/fb.h>
#include <linux/init.h>
#include <linux/pci.h>
#include <asm/io.h>

/* Built in clock of the 69030 */
static const unsigned Fref =;

#define mmio_base

#define mm_write_ind(num, val, ap, dp)

static void mm_write_xr(struct fb_info *p, u8 reg, u8 data)
{}
#define write_xr(num, val)

static void mm_write_fr(struct fb_info *p, u8 reg, u8 data)
{}
#define write_fr(num, val)

static void mm_write_cr(struct fb_info *p, u8 reg, u8 data)
{}
#define write_cr(num, val)

static void mm_write_gr(struct fb_info *p, u8 reg, u8 data)
{}
#define write_gr(num, val)

static void mm_write_sr(struct fb_info *p, u8 reg, u8 data)
{}
#define write_sr(num, val)

static void mm_write_ar(struct fb_info *p, u8 reg, u8 data)
{}
#define write_ar(num, val)

static int asiliantfb_pci_init(struct pci_dev *dp, const struct pci_device_id *);
static int asiliantfb_check_var(struct fb_var_screeninfo *var,
				struct fb_info *info);
static int asiliantfb_set_par(struct fb_info *info);
static int asiliantfb_setcolreg(u_int regno, u_int red, u_int green, u_int blue,
				u_int transp, struct fb_info *info);

static const struct fb_ops asiliantfb_ops =;

/* Calculate the ratios for the dot clocks without using a single long long
 * value */
static void asiliant_calc_dclk2(u32 *ppixclock, u8 *dclk2_m, u8 *dclk2_n, u8 *dclk2_div)
{}

static void asiliant_set_timing(struct fb_info *p)
{}

static int asiliantfb_check_var(struct fb_var_screeninfo *var,
			     struct fb_info *p)
{}

static int asiliantfb_set_par(struct fb_info *p)
{}

static int asiliantfb_setcolreg(u_int regno, u_int red, u_int green, u_int blue,
			     u_int transp, struct fb_info *p)
{}

struct chips_init_reg {};

static struct chips_init_reg chips_init_sr[] =;

static struct chips_init_reg chips_init_gr[] =;

static struct chips_init_reg chips_init_ar[] =;

static struct chips_init_reg chips_init_cr[] =;


static struct chips_init_reg chips_init_fr[] =;


static struct chips_init_reg chips_init_xr[] =;

static void chips_hw_init(struct fb_info *p)
{}

static const struct fb_fix_screeninfo asiliantfb_fix =;

static const struct fb_var_screeninfo asiliantfb_var =;

static int init_asiliant(struct fb_info *p, unsigned long addr)
{}

static int asiliantfb_pci_init(struct pci_dev *dp,
			       const struct pci_device_id *ent)
{}

static void asiliantfb_remove(struct pci_dev *dp)
{}

static const struct pci_device_id asiliantfb_pci_tbl[] =;

MODULE_DEVICE_TABLE(pci, asiliantfb_pci_tbl);

static struct pci_driver asiliantfb_driver =;

static int __init asiliantfb_init(void)
{}

module_init();

static void __exit asiliantfb_exit(void)
{}

MODULE_LICENSE();