linux/drivers/mtd/maps/ichxrom.c

// SPDX-License-Identifier: GPL-2.0-only
/*
 * ichxrom.c
 *
 * Normal mappings of chips in physical memory
 */

#include <linux/module.h>
#include <linux/types.h>
#include <linux/kernel.h>
#include <linux/init.h>
#include <linux/slab.h>
#include <asm/io.h>
#include <linux/mtd/mtd.h>
#include <linux/mtd/map.h>
#include <linux/mtd/cfi.h>
#include <linux/mtd/flashchip.h>
#include <linux/pci.h>
#include <linux/pci_ids.h>
#include <linux/list.h>

#define xstr(s)
#define str(s)
#define MOD_NAME

#define ADDRESS_NAME_LEN

#define ROM_PROBE_STEP_SIZE

#define BIOS_CNTL
#define FWH_DEC_EN1
#define FWH_DEC_EN2
#define FWH_SEL1
#define FWH_SEL2

struct ichxrom_window {};

struct ichxrom_map_info {};

static struct ichxrom_window ichxrom_window =;

static void ichxrom_cleanup(struct ichxrom_window *window)
{}


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


static void ichxrom_remove_one(struct pci_dev *pdev)
{}

static const struct pci_device_id ichxrom_pci_tbl[] =;

#if 0
MODULE_DEVICE_TABLE(pci, ichxrom_pci_tbl);

static struct pci_driver ichxrom_driver = {
	.name =		MOD_NAME,
	.id_table =	ichxrom_pci_tbl,
	.probe =	ichxrom_init_one,
	.remove =	ichxrom_remove_one,
};
#endif

static int __init init_ichxrom(void)
{}

static void __exit cleanup_ichxrom(void)
{}

module_init();
module_exit(cleanup_ichxrom);

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