linux/drivers/char/agp/sis-agp.c

/*
 * SiS AGPGART routines.
 */

#include <linux/module.h>
#include <linux/pci.h>
#include <linux/init.h>
#include <linux/agp_backend.h>
#include <linux/delay.h>
#include "agp.h"

#define SIS_ATTBASE
#define SIS_APSIZE
#define SIS_TLBCNTRL
#define SIS_TLBFLUSH

#define PCI_DEVICE_ID_SI_662
#define PCI_DEVICE_ID_SI_671

static bool agp_sis_force_delay =;
static int agp_sis_agp_spec =;

static int sis_fetch_size(void)
{}

static void sis_tlbflush(struct agp_memory *mem)
{}

static int sis_configure(void)
{}

static void sis_cleanup(void)
{}

static void sis_delayed_enable(struct agp_bridge_data *bridge, u32 mode)
{}

static const struct aper_size_info_8 sis_generic_sizes[7] =;

static struct agp_bridge_driver sis_driver =;

// chipsets that require the 'delay hack'
static int sis_broken_chipsets[] =;

static void sis_get_driver(struct agp_bridge_data *bridge)
{}


static int agp_sis_probe(struct pci_dev *pdev, const struct pci_device_id *ent)
{}

static void agp_sis_remove(struct pci_dev *pdev)
{}

static int agp_sis_resume(__attribute__((unused)) struct device *dev)
{}

static const struct pci_device_id agp_sis_pci_table[] =;

MODULE_DEVICE_TABLE(pci, agp_sis_pci_table);

static DEFINE_SIMPLE_DEV_PM_OPS(agp_sis_pm_ops, NULL, agp_sis_resume);

static struct pci_driver agp_sis_pci_driver =;

static int __init agp_sis_init(void)
{}

static void __exit agp_sis_cleanup(void)
{}

module_init();
module_exit(agp_sis_cleanup);

module_param(agp_sis_force_delay, bool, 0);
MODULE_PARM_DESC();
module_param(agp_sis_agp_spec, int, 0);
MODULE_PARM_DESC();
MODULE_DESCRIPTION();
MODULE_LICENSE();