mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2025-01-24 05:39:42 +07:00
75a6faf617
Based on 1 normalized pattern(s): this program is free software you can redistribute it and or modify it under the terms and conditions of the gnu general public license version 2 as published by the free software foundation extracted by the scancode license scanner the SPDX license identifier GPL-2.0-only has been chosen to replace the boilerplate/reference in 101 file(s). Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Reviewed-by: Allison Randal <allison@lohutok.net> Cc: linux-spdx@vger.kernel.org Link: https://lkml.kernel.org/r/20190531190113.822954939@linutronix.de Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
60 lines
1.5 KiB
C
60 lines
1.5 KiB
C
/* SPDX-License-Identifier: GPL-2.0-only */
|
|
/*
|
|
* aQuantia Corporation Network Driver
|
|
* Copyright (C) 2014-2017 aQuantia Corporation. All rights reserved
|
|
*/
|
|
|
|
/* 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 "ver.h"
|
|
#include "aq_cfg.h"
|
|
#include "aq_utils.h"
|
|
|
|
#define PCI_VENDOR_ID_AQUANTIA 0x1D6A
|
|
|
|
#define AQ_DEVICE_ID_0001 0x0001
|
|
#define AQ_DEVICE_ID_D100 0xD100
|
|
#define AQ_DEVICE_ID_D107 0xD107
|
|
#define AQ_DEVICE_ID_D108 0xD108
|
|
#define AQ_DEVICE_ID_D109 0xD109
|
|
|
|
#define AQ_DEVICE_ID_AQC100 0x00B1
|
|
#define AQ_DEVICE_ID_AQC107 0x07B1
|
|
#define AQ_DEVICE_ID_AQC108 0x08B1
|
|
#define AQ_DEVICE_ID_AQC109 0x09B1
|
|
#define AQ_DEVICE_ID_AQC111 0x11B1
|
|
#define AQ_DEVICE_ID_AQC112 0x12B1
|
|
|
|
#define AQ_DEVICE_ID_AQC100S 0x80B1
|
|
#define AQ_DEVICE_ID_AQC107S 0x87B1
|
|
#define AQ_DEVICE_ID_AQC108S 0x88B1
|
|
#define AQ_DEVICE_ID_AQC109S 0x89B1
|
|
#define AQ_DEVICE_ID_AQC111S 0x91B1
|
|
#define AQ_DEVICE_ID_AQC112S 0x92B1
|
|
|
|
#define HW_ATL_NIC_NAME "aQuantia AQtion 10Gbit Network Adapter"
|
|
|
|
#define AQ_HWREV_ANY 0
|
|
#define AQ_HWREV_1 1
|
|
#define AQ_HWREV_2 2
|
|
|
|
#define AQ_NIC_RATE_10G BIT(0)
|
|
#define AQ_NIC_RATE_5G BIT(1)
|
|
#define AQ_NIC_RATE_5GSR BIT(2)
|
|
#define AQ_NIC_RATE_2GS BIT(3)
|
|
#define AQ_NIC_RATE_1G BIT(4)
|
|
#define AQ_NIC_RATE_100M BIT(5)
|
|
|
|
#define AQ_NIC_RATE_EEE_10G BIT(6)
|
|
#define AQ_NIC_RATE_EEE_5G BIT(7)
|
|
#define AQ_NIC_RATE_EEE_2GS BIT(8)
|
|
#define AQ_NIC_RATE_EEE_1G BIT(9)
|
|
|
|
#endif /* AQ_COMMON_H */
|