#include <linux/module.h>
#include <linux/netdevice.h>
#include <linux/etherdevice.h>
#include <linux/pci.h>
#include "ionic.h"
#include "ionic_bus.h"
#include "ionic_lif.h"
#include "ionic_debugfs.h"
static const struct pci_device_id ionic_id_table[] = …;
MODULE_DEVICE_TABLE(pci, ionic_id_table);
int ionic_bus_get_irq(struct ionic *ionic, unsigned int num)
{ … }
const char *ionic_bus_info(struct ionic *ionic)
{ … }
int ionic_bus_alloc_irq_vectors(struct ionic *ionic, unsigned int nintrs)
{ … }
void ionic_bus_free_irq_vectors(struct ionic *ionic)
{ … }
static int ionic_map_bars(struct ionic *ionic)
{ … }
static void ionic_unmap_bars(struct ionic *ionic)
{ … }
void __iomem *ionic_bus_map_dbpage(struct ionic *ionic, int page_num)
{ … }
void ionic_bus_unmap_dbpage(struct ionic *ionic, void __iomem *page)
{ … }
static void ionic_vf_dealloc_locked(struct ionic *ionic)
{ … }
static void ionic_vf_dealloc(struct ionic *ionic)
{ … }
static int ionic_vf_alloc(struct ionic *ionic, int num_vfs)
{ … }
static int ionic_sriov_configure(struct pci_dev *pdev, int num_vfs)
{ … }
static void ionic_clear_pci(struct ionic *ionic)
{ … }
static int ionic_setup_one(struct ionic *ionic)
{ … }
static int ionic_probe(struct pci_dev *pdev, const struct pci_device_id *ent)
{ … }
static void ionic_remove(struct pci_dev *pdev)
{ … }
static void ionic_reset_prepare(struct pci_dev *pdev)
{ … }
static void ionic_reset_done(struct pci_dev *pdev)
{ … }
static pci_ers_result_t ionic_pci_error_detected(struct pci_dev *pdev,
pci_channel_state_t error)
{ … }
static void ionic_pci_error_resume(struct pci_dev *pdev)
{ … }
static const struct pci_error_handlers ionic_err_handler = …;
static struct pci_driver ionic_driver = …;
int ionic_bus_register_driver(void)
{ … }
void ionic_bus_unregister_driver(void)
{ … }