linux/drivers/scsi/sim710.c

// SPDX-License-Identifier: GPL-2.0-or-later
/*
 * sim710.c - Copyright (C) 1999 Richard Hirst <[email protected]>
 *
 *----------------------------------------------------------------------------
 *----------------------------------------------------------------------------
 *
 * MCA card detection code by Trent McNair. (now deleted)
 * Fixes to not explicitly nul bss data from Xavier Bestel.
 * Some multiboard fixes from Rolf Eike Beer.
 * Auto probing of EISA config space from Trevor Hemsley.
 *
 * Rewritten to use 53c700.c by [email protected]
 */

#include <linux/module.h>
#include <linux/slab.h>

#include <linux/blkdev.h>
#include <linux/device.h>
#include <linux/init.h>
#include <linux/eisa.h>
#include <linux/interrupt.h>
#include <scsi/scsi_host.h>
#include <scsi/scsi_device.h>
#include <scsi/scsi_transport.h>
#include <scsi/scsi_transport_spi.h>

#include "53c700.h"


/* Must be enough for EISA */
#define MAX_SLOTS
static __u8 __initdata id_array[MAX_SLOTS] =;

static char *sim710;		/* command line passed by insmod */

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

module_param(sim710, charp, 0);

#ifdef MODULE
#define ARG_SEP
#else
#define ARG_SEP
#endif

static __init int
param_setup(char *str)
{}
__setup();

static struct scsi_host_template sim710_driver_template =;

static int sim710_probe_common(struct device *dev, unsigned long base_addr,
			       int irq, int clock, int differential,
			       int scsi_id)
{}

static int sim710_device_remove(struct device *dev)
{}

#ifdef CONFIG_EISA
static struct eisa_device_id sim710_eisa_ids[] =;
MODULE_DEVICE_TABLE(eisa, sim710_eisa_ids);

static int sim710_eisa_probe(struct device *dev)
{}

static struct eisa_driver sim710_eisa_driver =;
#endif /* CONFIG_EISA */

static int __init sim710_init(void)
{}

static void __exit sim710_exit(void)
{}

module_init();
module_exit(sim710_exit);