| .. | .. |
|---|
| 1 | | -/* |
|---|
| 2 | | - * aQuantia Corporation Network Driver |
|---|
| 3 | | - * Copyright (C) 2014-2017 aQuantia Corporation. All rights reserved |
|---|
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ |
|---|
| 2 | +/* Atlantic Network Driver |
|---|
| 4 | 3 | * |
|---|
| 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. |
|---|
| 4 | + * Copyright (C) 2014-2019 aQuantia Corporation |
|---|
| 5 | + * Copyright (C) 2019-2020 Marvell International Ltd. |
|---|
| 8 | 6 | */ |
|---|
| 9 | 7 | |
|---|
| 10 | 8 | /* File aq_pci_func.h: Declaration of PCI functions. */ |
|---|
| .. | .. |
|---|
| 22 | 20 | const struct aq_hw_caps_s *caps; |
|---|
| 23 | 21 | }; |
|---|
| 24 | 22 | |
|---|
| 25 | | -int aq_pci_func_init(struct pci_dev *pdev); |
|---|
| 26 | 23 | 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); |
|---|
| 24 | + char *name, irq_handler_t irq_handler, |
|---|
| 25 | + void *irq_arg, cpumask_t *affinity_mask); |
|---|
| 29 | 26 | void aq_pci_func_free_irqs(struct aq_nic_s *self); |
|---|
| 30 | 27 | unsigned int aq_pci_func_get_irq_type(struct aq_nic_s *self); |
|---|
| 31 | 28 | |
|---|
| 29 | +int aq_pci_func_register_driver(void); |
|---|
| 30 | +void aq_pci_func_unregister_driver(void); |
|---|
| 31 | + |
|---|
| 32 | 32 | #endif /* AQ_PCI_FUNC_H */ |
|---|