V_01-00-25

1. Print message correction for PCIe BAR size and Physical Address.
This commit is contained in:
TC956X 2021-11-30 14:11:36 +05:30 committed by jianzhou
parent cfb73b838f
commit 73836258d0
3 changed files with 26 additions and 15 deletions

View File

@ -1,7 +1,7 @@
# Toshiba Electronic Devices & Storage Corporation TC956X PCIe Ethernet Host Driver
Release Date: 24 Nov 2021
Release Date: 30 Nov 2021
Release Version: V_01-00-24 : Limited-tested version
Release Version: V_01-00-25 : Limited-tested version
TC956X PCIe EMAC driver is based on "Fedora 30, kernel-5.4.19".
@ -169,10 +169,12 @@ TC956X PCIe EMAC driver is based on "Fedora 30, kernel-5.4.19".
#ethtool -s <interface> wol <type - p/g/d>.
Supported WOL options and meaning:
Option | Meaning
p | Wake on phy activity
g | Wake on MagicPacket(tm)
d | Disable (wake on nothing). (Default)
| Option | Meaning |
| :-----: | :----: |
| p | Wake on phy activity |
| g | Wake on MagicPacket(tm) |
| d | Disable (wake on nothing). (Default) |
Example - To wake on phy activity and magic packet use :
ethtool -s eth0 wol pg
@ -330,3 +332,7 @@ TC956X PCIe EMAC driver is based on "Fedora 30, kernel-5.4.19".
1. Runtime configuration of EEE supported and LPI interrupts disabled by default.
2. Module param added to configure EEE and LPI timer.
3. Driver name corrected in ethtool display.
## TC956X_Host_Driver_20211130_V_01-00-25:
1. Print message correction for PCIe BAR size and Physical Address.

View File

@ -92,6 +92,9 @@
* 24 Nov 2021 : 1. Module param support for EEE enable/disable and LPI timer configuration.
2. Version update
* VERSION : 01-00-24
* 30 Nov 2021 : 1. Print message correction for PCIe BAR size and Physical Address.
2. Version update
* VERSION : 01-00-25
*/
#include <linux/clk-provider.h>
@ -129,7 +132,7 @@ static unsigned int tc956x_port0_lpi_auto_entry_timer = TC956XMAC_LPIET_600US;
static unsigned int tc956x_port1_enable_eee = DISABLE;
static unsigned int tc956x_port1_lpi_auto_entry_timer = TC956XMAC_LPIET_600US;
static const struct tc956x_version tc956x_drv_version = {0, 1, 0, 0, 2, 4};
static const struct tc956x_version tc956x_drv_version = {0, 1, 0, 0, 2, 5};
static int tc956xmac_pm_usage_counter; /* Device Usage Counter */
struct mutex tc956x_pm_suspend_lock; /* This mutex is shared between all available EMAC ports. */
@ -1893,17 +1896,17 @@ static int tc956xmac_pci_probe(struct pci_dev *pdev,
pci_set_master(pdev);
dev_info(&(pdev->dev),
"BAR0 length = %lld kb\n", (u64)pci_resource_len(pdev, 0));
"BAR0 length = %lld bytes\n", (u64)pci_resource_len(pdev, 0));
dev_info(&(pdev->dev),
"BAR2 length = %lld kb\n", (u64)pci_resource_len(pdev, 2));
"BAR2 length = %lld bytes\n", (u64)pci_resource_len(pdev, 2));
dev_info(&(pdev->dev),
"BAR4 length = %lld kb\n", (u64)pci_resource_len(pdev, 4));
"BAR4 length = %lld bytes\n", (u64)pci_resource_len(pdev, 4));
dev_info(&(pdev->dev),
"BAR0 iommu address = 0x%llx\n", (u64)pci_resource_start(pdev, 0));
"BAR0 physical address = 0x%llx\n", (u64)pci_resource_start(pdev, 0));
dev_info(&(pdev->dev),
"BAR2 iommu address = 0x%llx\n", (u64)pci_resource_start(pdev, 2));
"BAR2 physical address = 0x%llx\n", (u64)pci_resource_start(pdev, 2));
dev_info(&(pdev->dev),
"BAR4 iommu address = 0x%llx\n", (u64)pci_resource_start(pdev, 4));
"BAR4 physical address = 0x%llx\n", (u64)pci_resource_start(pdev, 4));
memset(&res, 0, sizeof(res));
#ifdef TC956X

View File

@ -91,7 +91,9 @@
* 24 Nov 2021 : 1. EEE macro enabled by default.
2. Module param support for EEE configuration
3. Version update
* VERSION : 01-00-24
* VERSION : 01-00-24
* 30 Nov 2021 : 1. Version update
* VERSION : 01-00-25
*/
#ifndef __TC956XMAC_H__
@ -144,7 +146,7 @@
#ifdef TC956X
#define TC956X_RESOURCE_NAME "tc956x_pci-eth"
#define DRV_MODULE_VERSION "V_01-00-24"
#define DRV_MODULE_VERSION "V_01-00-25"
#define TC956X_FW_MAX_SIZE (64*1024)
#define ATR_AXI4_SLV_BASE 0x0800