#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/pci.h>
#include "mt7915.h"
#include "mac.h"
#include "../trace.h"
static LIST_HEAD(hif_list);
static DEFINE_SPINLOCK(hif_lock);
static u32 hif_idx;
static const struct pci_device_id mt7915_pci_device_table[] = …;
static const struct pci_device_id mt7915_hif_device_table[] = …;
static struct mt7915_hif *mt7915_pci_get_hif2(u32 idx)
{ … }
static void mt7915_put_hif2(struct mt7915_hif *hif)
{ … }
static struct mt7915_hif *mt7915_pci_init_hif2(struct pci_dev *pdev)
{ … }
static int mt7915_pci_hif2_probe(struct pci_dev *pdev)
{ … }
static int mt7915_pci_probe(struct pci_dev *pdev,
const struct pci_device_id *id)
{ … }
static void mt7915_hif_remove(struct pci_dev *pdev)
{ … }
static void mt7915_pci_remove(struct pci_dev *pdev)
{ … }
struct pci_driver mt7915_hif_driver = …;
struct pci_driver mt7915_pci_driver = …;
MODULE_DEVICE_TABLE(pci, mt7915_pci_device_table);
MODULE_DEVICE_TABLE(pci, mt7915_hif_device_table);
MODULE_FIRMWARE(…);
MODULE_FIRMWARE(…);
MODULE_FIRMWARE(…);
MODULE_FIRMWARE(…);
MODULE_FIRMWARE(…);
MODULE_FIRMWARE(…);