linux/drivers/net/ethernet/aquantia/atlantic/aq_common.h

/* SPDX-License-Identifier: GPL-2.0-only */
/* Atlantic Network Driver
 *
 * Copyright (C) 2014-2019 aQuantia Corporation
 * Copyright (C) 2019-2020 Marvell International Ltd.
 */

/* File aq_common.h: Basic includes for all files in project. */

#ifndef AQ_COMMON_H
#define AQ_COMMON_H

#include <linux/etherdevice.h>
#include <linux/pci.h>
#include <linux/if_vlan.h>
#include "aq_cfg.h"
#include "aq_utils.h"

#define PCI_VENDOR_ID_AQUANTIA

#define AQ_DEVICE_ID_0001
#define AQ_DEVICE_ID_D100
#define AQ_DEVICE_ID_D107
#define AQ_DEVICE_ID_D108
#define AQ_DEVICE_ID_D109

#define AQ_DEVICE_ID_AQC100
#define AQ_DEVICE_ID_AQC107
#define AQ_DEVICE_ID_AQC108
#define AQ_DEVICE_ID_AQC109
#define AQ_DEVICE_ID_AQC111
#define AQ_DEVICE_ID_AQC112

#define AQ_DEVICE_ID_AQC100S
#define AQ_DEVICE_ID_AQC107S
#define AQ_DEVICE_ID_AQC108S
#define AQ_DEVICE_ID_AQC109S
#define AQ_DEVICE_ID_AQC111S
#define AQ_DEVICE_ID_AQC112S

#define AQ_DEVICE_ID_AQC113DEV
#define AQ_DEVICE_ID_AQC113CS
#define AQ_DEVICE_ID_AQC113CA
#define AQ_DEVICE_ID_AQC114CS
#define AQ_DEVICE_ID_AQC113
#define AQ_DEVICE_ID_AQC113C
#define AQ_DEVICE_ID_AQC115C
#define AQ_DEVICE_ID_AQC116C

#define HW_ATL_NIC_NAME

#define AQ_HWREV_ANY
#define AQ_HWREV_1
#define AQ_HWREV_2

#define AQ_NIC_RATE_10G
#define AQ_NIC_RATE_5G
#define AQ_NIC_RATE_2G5
#define AQ_NIC_RATE_1G
#define AQ_NIC_RATE_100M
#define AQ_NIC_RATE_10M
#define AQ_NIC_RATE_1G_HALF
#define AQ_NIC_RATE_100M_HALF
#define AQ_NIC_RATE_10M_HALF

#define AQ_NIC_RATE_EEE_10G
#define AQ_NIC_RATE_EEE_5G
#define AQ_NIC_RATE_EEE_2G5
#define AQ_NIC_RATE_EEE_1G
#define AQ_NIC_RATE_EEE_100M
#define AQ_NIC_RATE_EEE_MSK

#endif /* AQ_COMMON_H */