dt-bindings: mtd: ingenic: Use standard ecc-engine property
[linux/fpc-iii.git] / drivers / net / ethernet / aquantia / atlantic / aq_pci_func.h
blobaeee67bf69fab40aa685f5dcd40b259010ed7d2f
1 /*
2 * aQuantia Corporation Network Driver
3 * Copyright (C) 2014-2017 aQuantia Corporation. All rights reserved
5 * This program is free software; you can redistribute it and/or modify it
6 * under the terms and conditions of the GNU General Public License,
7 * version 2, as published by the Free Software Foundation.
8 */
10 /* File aq_pci_func.h: Declaration of PCI functions. */
12 #ifndef AQ_PCI_FUNC_H
13 #define AQ_PCI_FUNC_H
15 #include "aq_common.h"
16 #include "aq_nic.h"
18 struct aq_board_revision_s {
19 unsigned short devid;
20 unsigned short revision;
21 const struct aq_hw_ops *ops;
22 const struct aq_hw_caps_s *caps;
25 int aq_pci_func_init(struct pci_dev *pdev);
26 int aq_pci_func_alloc_irq(struct aq_nic_s *self, unsigned int i,
27 char *name, void *aq_vec,
28 cpumask_t *affinity_mask);
29 void aq_pci_func_free_irqs(struct aq_nic_s *self);
30 unsigned int aq_pci_func_get_irq_type(struct aq_nic_s *self);
32 #endif /* AQ_PCI_FUNC_H */