2019-05-19 13:51:43 +00:00
|
|
|
/* SPDX-License-Identifier: GPL-2.0-or-later */
|
2007-09-26 00:57:13 +00:00
|
|
|
/*
|
2009-11-08 15:39:55 +00:00
|
|
|
Copyright (C) 2004 - 2009 Ivo van Doorn <IvDoorn@gmail.com>
|
2007-09-26 00:57:13 +00:00
|
|
|
<http://rt2x00.serialmonkey.com>
|
|
|
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
/*
|
|
|
|
Module: rt2x00pci
|
|
|
|
Abstract: Data structures for the rt2x00pci module.
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef RT2X00PCI_H
|
|
|
|
#define RT2X00PCI_H
|
|
|
|
|
|
|
|
#include <linux/io.h>
|
2010-02-13 19:55:48 +00:00
|
|
|
#include <linux/pci.h>
|
2007-09-26 00:57:13 +00:00
|
|
|
|
|
|
|
/*
|
|
|
|
* PCI driver handlers.
|
|
|
|
*/
|
2011-04-18 13:32:13 +00:00
|
|
|
int rt2x00pci_probe(struct pci_dev *pci_dev, const struct rt2x00_ops *ops);
|
2007-09-26 00:57:13 +00:00
|
|
|
void rt2x00pci_remove(struct pci_dev *pci_dev);
|
|
|
|
#ifdef CONFIG_PM
|
|
|
|
int rt2x00pci_suspend(struct pci_dev *pci_dev, pm_message_t state);
|
|
|
|
int rt2x00pci_resume(struct pci_dev *pci_dev);
|
|
|
|
#else
|
|
|
|
#define rt2x00pci_suspend NULL
|
|
|
|
#define rt2x00pci_resume NULL
|
|
|
|
#endif /* CONFIG_PM */
|
|
|
|
|
|
|
|
#endif /* RT2X00PCI_H */
|