linux/drivers/video/fbdev/savage/savagefb-i2c.c

/*
 * linux/drivers/video/savage/savagefb-i2c.c - S3 Savage DDC2
 *
 * Copyright 2004 Antonino A. Daplas <adaplas @pol.net>
 *
 * Based partly on rivafb-i2c.c
 *
 * 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/module.h>
#include <linux/kernel.h>
#include <linux/delay.h>
#include <linux/gfp.h>
#include <linux/pci.h>
#include <linux/fb.h>

#include <asm/io.h>
#include "savagefb.h"

#define SAVAGE_DDC

#define VGA_CR_IX
#define VGA_CR_DATA

#define CR_SERIAL1
#define MM_SERIAL1
#define CR_SERIAL2

/* based on vt8365 documentation */
#define PROSAVAGE_I2C_ENAB
#define PROSAVAGE_I2C_SCL_OUT
#define PROSAVAGE_I2C_SDA_OUT
#define PROSAVAGE_I2C_SCL_IN
#define PROSAVAGE_I2C_SDA_IN

#define SAVAGE4_I2C_ENAB
#define SAVAGE4_I2C_SCL_OUT
#define SAVAGE4_I2C_SDA_OUT
#define SAVAGE4_I2C_SCL_IN
#define SAVAGE4_I2C_SDA_IN

static void savage4_gpio_setscl(void *data, int val)
{}

static void savage4_gpio_setsda(void *data, int val)
{}

static int savage4_gpio_getscl(void *data)
{}

static int savage4_gpio_getsda(void *data)
{}

static void prosavage_gpio_setscl(void* data, int val)
{}

static void prosavage_gpio_setsda(void* data, int val)
{}

static int prosavage_gpio_getscl(void* data)
{}

static int prosavage_gpio_getsda(void* data)
{}

static int savage_setup_i2c_bus(struct savagefb_i2c_chan *chan,
				const char *name)
{}

void savagefb_create_i2c_busses(struct fb_info *info)
{}

void savagefb_delete_i2c_busses(struct fb_info *info)
{}

int savagefb_probe_i2c_connector(struct fb_info *info, u8 **out_edid)
{}

MODULE_LICENSE();