linux/drivers/mtd/maps/l440gx.c

// SPDX-License-Identifier: GPL-2.0-only
/*
 * BIOS Flash chip on Intel 440GX board.
 *
 * Bugs this currently does not work under linuxBIOS.
 */

#include <linux/module.h>
#include <linux/pci.h>
#include <linux/kernel.h>
#include <linux/init.h>
#include <asm/io.h>
#include <linux/mtd/mtd.h>
#include <linux/mtd/map.h>

#define PIIXE_IOBASE_RESOURCE

#define WINDOW_ADDR
#define WINDOW_SIZE
#define BUSWIDTH

static u32 iobase;
#define IOBASE
#define TRIBUF_PORT
#define VPP_PORT

static struct mtd_info *mymtd;


/* Is this really the vpp port? */
static DEFINE_SPINLOCK(l440gx_vpp_lock);
static int l440gx_vpp_refcnt;
static void l440gx_set_vpp(struct map_info *map, int vpp)
{}

static struct map_info l440gx_map =;

static int __init init_l440gx(void)
{}

static void __exit cleanup_l440gx(void)
{}

module_init();
module_exit(cleanup_l440gx);

MODULE_LICENSE();
MODULE_AUTHOR();
MODULE_DESCRIPTION();