linux/drivers/pci/hotplug/cpcihp_zt5550.c

// SPDX-License-Identifier: GPL-2.0+
/*
 * cpcihp_zt5550.c
 *
 * Intel/Ziatech ZT5550 CompactPCI Host Controller driver
 *
 * Copyright 2002 SOMA Networks, Inc.
 * Copyright 2001 Intel San Luis Obispo
 * Copyright 2000,2001 MontaVista Software Inc.
 *
 * Send feedback to <[email protected]>
 */

#include <linux/module.h>
#include <linux/moduleparam.h>
#include <linux/init.h>
#include <linux/errno.h>
#include <linux/pci.h>
#include <linux/interrupt.h>
#include <linux/signal.h>	/* IRQF_SHARED */
#include "cpci_hotplug.h"
#include "cpcihp_zt5550.h"

#define DRIVER_VERSION
#define DRIVER_AUTHOR
#define DRIVER_DESC

#define MY_NAME

#define dbg(format, arg...)
#define err(format, arg...)
#define info(format, arg...)
#define warn(format, arg...)

/* local variables */
static bool debug;
static bool poll;
static struct cpci_hp_controller_ops zt5550_hpc_ops;
static struct cpci_hp_controller zt5550_hpc;

/* Primary cPCI bus bridge device */
static struct pci_dev *bus0_dev;
static struct pci_bus *bus0;

/* Host controller device */
static struct pci_dev *hc_dev;

/* Host controller register addresses */
static void __iomem *hc_registers;
static void __iomem *csr_hc_index;
static void __iomem *csr_hc_data;
static void __iomem *csr_int_status;
static void __iomem *csr_int_mask;


static int zt5550_hc_config(struct pci_dev *pdev)
{}

static int zt5550_hc_cleanup(void)
{}

static int zt5550_hc_query_enum(void)
{}

static int zt5550_hc_check_irq(void *dev_id)
{}

static int zt5550_hc_enable_irq(void)
{}

static int zt5550_hc_disable_irq(void)
{}

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

static void zt5550_hc_remove_one(struct pci_dev *pdev)
{}


static const struct pci_device_id zt5550_hc_pci_tbl[] =;
MODULE_DEVICE_TABLE(pci, zt5550_hc_pci_tbl);

static struct pci_driver zt5550_hc_driver =;

static int __init zt5550_init(void)
{}

static void __exit
zt5550_exit(void)
{}

module_init();
module_exit(zt5550_exit);

MODULE_AUTHOR();
MODULE_DESCRIPTION();
MODULE_LICENSE();
module_param(debug, bool, 0644);
MODULE_PARM_DESC();
module_param(poll, bool, 0644);
MODULE_PARM_DESC();