linux/drivers/eisa/eisa-bus.c

// SPDX-License-Identifier: GPL-2.0-only
/*
 * EISA bus support functions for sysfs.
 *
 * (C) 2002, 2003 Marc Zyngier <[email protected]>
 */

#include <linux/kernel.h>
#include <linux/device.h>
#include <linux/eisa.h>
#include <linux/module.h>
#include <linux/moduleparam.h>
#include <linux/init.h>
#include <linux/slab.h>
#include <linux/ioport.h>
#include <asm/io.h>

#define SLOT_ADDRESS(r,n)

#define EISA_DEVINFO(i,s)

struct eisa_device_info {};

#ifdef CONFIG_EISA_NAMES
static struct eisa_device_info __initdata eisa_table[] =;
#define EISA_INFOS
#endif

#define EISA_MAX_FORCED_DEV

static int enable_dev[EISA_MAX_FORCED_DEV];
static unsigned int enable_dev_count;
static int disable_dev[EISA_MAX_FORCED_DEV];
static unsigned int disable_dev_count;

static int is_forced_dev(int *forced_tab,
			 int forced_count,
			 struct eisa_root_device *root,
			 struct eisa_device *edev)
{}

static void __init eisa_name_device(struct eisa_device *edev)
{}

static char __init *decode_eisa_sig(unsigned long addr)
{}

static int eisa_bus_match(struct device *dev, const struct device_driver *drv)
{}

static int eisa_bus_uevent(const struct device *dev, struct kobj_uevent_env *env)
{}

struct bus_type eisa_bus_type =;
EXPORT_SYMBOL();

int eisa_driver_register(struct eisa_driver *edrv)
{}
EXPORT_SYMBOL();

void eisa_driver_unregister(struct eisa_driver *edrv)
{}
EXPORT_SYMBOL();

static ssize_t signature_show(struct device *dev,
			      struct device_attribute *attr, char *buf)
{}
static DEVICE_ATTR_RO(signature);

static ssize_t enabled_show(struct device *dev,
			    struct device_attribute *attr, char *buf)
{}
static DEVICE_ATTR_RO(enabled);

static ssize_t modalias_show(struct device *dev,
			     struct device_attribute *attr, char *buf)
{}
static DEVICE_ATTR_RO(modalias);

static int __init eisa_init_device(struct eisa_root_device *root,
				   struct eisa_device *edev,
				   int slot)
{}

static int __init eisa_register_device(struct eisa_device *edev)
{}

static int __init eisa_request_resources(struct eisa_root_device *root,
					 struct eisa_device *edev,
					 int slot)
{}

static void __init eisa_release_resources(struct eisa_device *edev)
{}

static int __init eisa_probe(struct eisa_root_device *root)
{}

static struct resource eisa_root_res =;

static int eisa_bus_count;

int __init eisa_root_register(struct eisa_root_device *root)
{}

static int __init eisa_init(void)
{}

module_param_array();
module_param_array();

postcore_initcall(eisa_init);

int EISA_bus;		/* for legacy drivers */
EXPORT_SYMBOL();