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.
10 /* File aq_pci_func.h: Declaration of PCI functions. */
15 #include "aq_common.h"
18 struct aq_board_revision_s
{
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 */