linux/drivers/net/wireless/ath/ath9k/pci.c

/*
 * Copyright (c) 2008-2011 Atheros Communications Inc.
 *
 * Permission to use, copy, modify, and/or distribute this software for any
 * purpose with or without fee is hereby granted, provided that the above
 * copyright notice and this permission notice appear in all copies.
 *
 * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
 * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
 * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
 * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
 * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
 * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
 * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
 */

#define pr_fmt(fmt)

#include <linux/nl80211.h>
#include <linux/pci.h>
#include <linux/module.h>
#include "ath9k.h"

static const struct pci_device_id ath_pci_id_table[] =;


/* return bus cachesize in 4B word units */
static void ath_pci_read_cachesize(struct ath_common *common, int *csz)
{}

static bool ath_pci_eeprom_read(struct ath_common *common, u32 off, u16 *data)
{}

/* Need to be called after we discover btcoex capabilities */
static void ath_pci_aspm_init(struct ath_common *common)
{}

static const struct ath_bus_ops ath_pci_bus_ops =;

static int ath_pci_probe(struct pci_dev *pdev, const struct pci_device_id *id)
{}

static void ath_pci_remove(struct pci_dev *pdev)
{}

#ifdef CONFIG_PM_SLEEP

static int ath_pci_suspend(struct device *device)
{}

static int ath_pci_resume(struct device *device)
{}

static SIMPLE_DEV_PM_OPS(ath9k_pm_ops, ath_pci_suspend, ath_pci_resume);

#define ATH9K_PM_OPS

#else /* !CONFIG_PM_SLEEP */

#define ATH9K_PM_OPS

#endif /* !CONFIG_PM_SLEEP */


MODULE_DEVICE_TABLE(pci, ath_pci_id_table);

static struct pci_driver ath_pci_driver =;

int ath_pci_init(void)
{}

void ath_pci_exit(void)
{}