android_kernel_samsung_sm8650/tc956x_pf_mbx.h
TC956X eea08813f0 V_01-03-59
This branch is based on V_01-00-59
## TC956X_Linux_Host_Driver_20230810_V_01-01-59
1. A part of Automotive AVB/TSN support
2. Default Port 0 interface is XFI and Port1 interface is SGMII
3. IPA (macro TC956X_DMA_OFFLOAD_ENABLE) enabled by default
4. Kernel timers are used to process transmitted TX descriptor. Systick timers are not used.
5. Dynamic change of MTU not supported. Max MTU supported is 9000.
6. Port 1 supports USXGMII, XFI and 25000Base-X interface also.

## TC956X_Linux_Host_Driver_20231110_V_01-02-59
1. Kernel 6.1.18 Porting changes
2. TC956x switch to switch connection support (upto 1 level) over DSP ports

## TC956X_Linux_Host_Driver_20231226_V_01-03-59
1. Kernel 6.6.1 Porting changes
2. Added the support for TC commands taprio and flower
2024-02-03 18:25:17 -08:00

48 lines
1.3 KiB
C

/*
* TC956X ethernet driver.
*
* tc956x_pf_mbx.h
*
* Copyright (C) 2021 Toshiba Electronic Devices & Storage Corporation
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2, or (at your option)
* any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*/
/*! History:
* 10 July 2020 : Initial Version
* VERSION : 00-01
*
* 30 Nov 2021 : Base lined for SRIOV
* VERSION : 01-02
*/
#ifndef __TC956X_PF_MBX_H__
#define __TC956X_PF_MBX_H__
#include "common.h"
#include <linux/netdevice.h>
#define PF_READ_RQST_OFST 1
#define PF_SEND_ACK_OFST 0
#define PF_SEND_RQST_OFST 0
#define PF_READ_ACK_OFST 1
#define PFS_MAX 3 /* 2 PF + 1 MCU */
#define FNS_MAX 6 /* actually 5 communication paths */
#define PF_MBX_SRAM_ADDR 0x47060 /*0x20007060*/
#endif /* __TC956X_PF_MBX_H__ */