Skip to content

Commit

Permalink
9.81 released on 2023-12-18
Browse files Browse the repository at this point in the history
  • Loading branch information
xia-stan committed Mar 21, 2024
1 parent f0418de commit 5d0b314
Show file tree
Hide file tree
Showing 42 changed files with 1,695 additions and 5,624 deletions.
5,377 changes: 0 additions & 5,377 deletions Documentation/PLX_Linux_Release_Notes.htm

This file was deleted.

2 changes: 1 addition & 1 deletion Documentation/PLX_SDK_Linux_Release_Notes.htm
Original file line number Diff line number Diff line change
Expand Up @@ -4326,7 +4326,7 @@ <h1 style='margin-left:0in;text-align:justify'><a name="_Distribution_of_PLX_1">
style='font-family:Symbol'>·</span><span style='font-size:7.0pt;font-family:
"Times New Roman","serif"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span>Applications,
utilities, or tools provided by PLX, such as <span class=SpellE>PLXMon</span>
or the PLX Device Editor, may not be distributed</p>
or the PEX Device Editor, may not be distributed</p>

<p class=MsoBodyText style='margin-left:.75in;text-indent:-.25in'><span
style='font-family:Symbol'>·</span><span style='font-size:7.0pt;font-family:
Expand Down
73 changes: 66 additions & 7 deletions Documentation/PLX_SDK_Release_Notes.htm
Original file line number Diff line number Diff line change
Expand Up @@ -255,10 +255,10 @@
<p class=MsoNormal align=center style='text-align:center'>&nbsp;</p>

<p class=MsoNormal align=center style='text-align:center'><span
style='font-size:14.0pt'>Version 8.23</span></p>
style='font-size:14.0pt'>Version 9.81</span></p>

<p class=MsoNormal align=center style='text-align:center'><span
style='font-size:14.0pt'>November 2020</span></p>
style='font-size:14.0pt'>Dec 2023</span></p>

<div style='margin-left:5.75pt'>

Expand Down Expand Up @@ -338,6 +338,12 @@ <h1><a name="_INSTALLATION"></a>Contents</h1>

<p class=MsoBodyText><b><i>Changes in SDK Versions:</i></b></p>

<p class=MsoBodyText style='margin-left:.75in;text-indent:-.25in'><a
href="#_PCI/PCIe_SDK_9.00">PCI/PCIe SDK 9.00</a></p>

<p class=MsoBodyText style='margin-left:.75in;text-indent:-.25in'><a
href="#_PCI/PCIe_SDK_8.30">PCI/PCIe SDK 8.30</a></p>

<p class=MsoBodyText style='margin-left:.75in;text-indent:-.25in'><a
href="#_PCI/PCIe_SDK_8.23">PCI/PCIe SDK 8.23</a></p>

Expand Down Expand Up @@ -455,7 +461,7 @@ <h2><a name="_Building_Windows_Drivers"></a><a

<p class=MsoBodyTextIndent>Beginning with SDK 5.20, an NDA key is required for
complete software support of PLX PCI Express Switches (i.e. 8500 &amp; 8600
parts).&nbsp; The NDA key only affects the PLX Device Editor utility (PDE) and
parts).&nbsp; The NDA key only affects the PEX Device Editor utility (PDE) and
will not affect any other portion of the SDK.&nbsp; Without an NDA key, access
to PLX switch registers and EEPROM will be disabled in the PDE.&nbsp; Access to
PLX chips through the PLXMon &amp; PlxCm utilities does not require an NDA key.</p>
Expand All @@ -465,7 +471,7 @@ <h2><a name="_Building_Windows_Drivers"></a><a
based on the PLX switches used in the design.&nbsp; You may update your key
anytime by re-starting the PLX SDK installation and selecting the “<b><i>Modify</i></b>”
option.&nbsp; To find your PLX sales representative, please visit <a
href="http://www.plxtech.com/about/contacts" target="_blank">http://www.plxtech.com/about/contacts</a>.</p>
href="https://www.broadcom.com/company/contact" target="_blank">https://www.broadcom.com/company/contact</a>.</p>

<h2><a name="_PLX_SDK_Installation_"></a><a name="_Issues_with_PEX_1"></a><a
name="_Known_Issues_with"></a><a name="_Designating_a_Device"></a><a
Expand Down Expand Up @@ -710,7 +716,7 @@ <h2><a name="_Known_Issues_with_2"></a><a name="_PLX_SDK_Compatibility_3"></a><a
</span>PCI/PCIe Debug Tools Per-chip Support</h2>

<p class=MsoBodyTextIndent>The PCI/PCIe SDK provides various debug tools,
including PLX Device Editor (PDE) GUI, PlxCm command-line tool, and PLXMon
including PEX Device Editor (PDE) GUI, PlxCm command-line tool, and PLXMon
GUI.&nbsp; Depending upon the chip being used, some features may or may not be
supported in some tools.&nbsp; For legacy devices, including PCI 9000-series,
PCI 6000-series, PCIe 8311, 8111/8112, &amp; 8114, please use either PLXMon GUI
Expand Down Expand Up @@ -1039,9 +1045,62 @@ <h2><a name="_Building_PLX_WDM"></a><a name="_Windows_Support_for"></a><a
name="_PLX_SDK_6.10"></a><a name="_PLX_SDK_6.20"></a><a name="_PLX_SDK_6.30"></a><a
name="_PLX_SDK_6.40"></a><a name="_PLX_SDK_6.41"></a><a name="_PLX_SDK_6.50"></a><a
name="_PLX_SDK_7.00"></a><a name="_PLX_SDK_7.20"></a><a name="_PLX_SDK_7.30"></a><a
name="_PLX_SDK_7.24"></a><a name="_PLX_SDK_7.25"></a><a name="_PCI/PCIe_SDK_8.0"></a><a
name="_PCI/PCIe_SDK_8.23"></a>PCI/PCIe SDK 8.23</h2>
name="_PLX_SDK_7.24"></a><a name="_PLX_SDK_7.25"></a><a name="_PCI/PCIe_SDK_8.0"></a>
</h2>

<h2><a name="_PCI/PCIe_SDK_9.00"></a>PCI/PCIe SDK 9.00</h2>

<p class=MsoBodyTextIndent style='margin-left:.75in;text-indent:-.25in'><a
name="_PLX_SDK_7.25_1"></a><span style='font-family:Symbol'>·</span><span
style='font-size:7.0pt;font-family:"Times New Roman","serif"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</span><i>Windows Drivers</i></p>

<p class=MsoBodyTextIndent style='margin-left:1.25in;text-indent:-.25in'><span
style='font-family:Symbol'>·</span><span style='font-size:7.0pt;font-family:
"Times New Roman","serif"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span><i>Added Support
for PEX 89000 Devices</i></p>

<p class=MsoBodyTextIndent style='margin-left:.75in;text-indent:-.25in'><span
style='font-family:Symbol'>·</span><span style='font-size:7.0pt;font-family:
"Times New Roman","serif"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span><i>Linux
Drivers</i></p>

<p class=MsoBodyTextIndent style='margin-left:1.25in;text-indent:-.25in'><span
style='font-family:Symbol'>·</span><span style='font-size:7.0pt;font-family:
"Times New Roman","serif"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span><i>Added Support
for PEX 89000 Devices</i></p>

<p class=MsoBodyTextIndent style='margin-left:.75in;text-indent:-.25in'><span
style='font-family:Symbol'>·</span><span style='font-size:7.0pt;font-family:
"Times New Roman","serif"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span><i>API</i></p>

<p class=MsoBodyTextIndent style='margin-left:1.25in;text-indent:-.25in'><span
style='font-family:Symbol'>·</span><span style='font-size:7.0pt;font-family:
"Times New Roman","serif"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span><i>API Changes
to Support PEX 89000 Devices</i></p>

<p class=MsoBodyTextIndent style='margin-left:56.25pt;text-indent:-20.25pt'><span
style='font-family:Symbol'>·</span><span style='font-size:7.0pt;font-family:
"Times New Roman","serif"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</span><i>PlxCm</i></p>

<p class=MsoBodyTextIndent style='margin-left:1.25in;text-indent:-.25in'><span
style='font-family:Symbol'>·</span><span style='font-size:7.0pt;font-family:
"Times New Roman","serif"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span><i>API Changes
to Support PEX 89000 Devices</i></p>

<h2><a name="_PCI/PCIe_SDK_8.30"></a>PCI/PCIe SDK 8.30</h2>
<p class=MsoBodyTextIndent style='margin-left:56.25pt;text-indent:-20.25pt'><span
style='font-family:Symbol'>·</span><span style='font-size:7.0pt;font-family:
"Times New Roman","serif"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</span>Linux Drivers</p>

<p class=MsoBodyTextIndent style='margin-left:1.25in;text-indent:-.25in'><span
style='font-family:Symbol'>·</span><span style='font-size:7.0pt;font-family:
"Times New Roman","serif"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span><i>Fix
compilation on 5.0 and later kernels.</i></p>

<h2><a name="_PCI/PCIe_SDK_8.23"></a>PCI/PCIe SDK 8.23</h2>
<p class=MsoBodyTextIndent style='margin-left:56.25pt;text-indent:-20.25pt'><span
style='font-family:Symbol'>·</span><span style='font-size:7.0pt;font-family:
"Times New Roman","serif"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
Expand Down
4 changes: 2 additions & 2 deletions Driver/Source.Plx6000_NT/Dispatch.c
Original file line number Diff line number Diff line change
Expand Up @@ -266,12 +266,12 @@ Dispatch_mmap(
**********************************************************/

// Set the region as page-locked
vma->vm_flags |= VM_RESERVED;
Plx_vm_flags_set(vma, VM_RESERVED);

if (bDeviceMem)
{
// Set flag for I/O resource
vma->vm_flags |= VM_IO;
Plx_vm_flags_set(vma, VM_IO);

// Set caching based on BAR properties
if (pdx->PciBar[offset].Properties.Flags & PLX_BAR_FLAG_PREFETCHABLE)
Expand Down
17 changes: 15 additions & 2 deletions Driver/Source.Plx6000_NT/Driver.c
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*******************************************************************************
* Copyright 2013-2019 Broadcom Inc
* Copyright 2013-2021 Broadcom Inc
* Copyright (c) 2009 to 2012 PLX Technology Inc. All rights reserved.
*
* This software is available to you under a choice of one of two
Expand Down Expand Up @@ -52,7 +52,20 @@
#include <linux/module.h>
#include <linux/sched.h>
#include <linux/version.h>
#include <linux/vermagic.h>
/***********************************************************
* vermagic.h
*
* Drivers use the UTS_RELEASE macro to print the current
* kernel version.
* The definition of UTS_RELEASE was included through header
* file vermagic.h. Starting from 5.8.0, this header cannot
* be included anymore. Include utsrelease.h directly.
**********************************************************/
#if (LINUX_VERSION_CODE < KERNEL_VERSION(5,8,0))
#include <linux/vermagic.h>
#else
#include <generated/utsrelease.h>
#endif
#include "ApiFunc.h"
#include "Dispatch.h"
#include "Driver.h"
Expand Down
4 changes: 2 additions & 2 deletions Driver/Source.Plx8000_DMA/Dispatch.c
Original file line number Diff line number Diff line change
Expand Up @@ -272,12 +272,12 @@ Dispatch_mmap(
**********************************************************/

// Set the region as page-locked
vma->vm_flags |= VM_RESERVED;
Plx_vm_flags_set(vma, VM_RESERVED);

if (bDeviceMem)
{
// Set flag for I/O resource
vma->vm_flags |= VM_IO;
Plx_vm_flags_set(vma, VM_IO);

// Set caching based on BAR properties
if (pdx->PciBar[offset].Properties.Flags & PLX_BAR_FLAG_PREFETCHABLE)
Expand Down
17 changes: 15 additions & 2 deletions Driver/Source.Plx8000_DMA/Driver.c
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*******************************************************************************
* Copyright 2013-2019 Broadcom Inc
* Copyright 2013-2021 Broadcom Inc
* Copyright (c) 2009 to 2012 PLX Technology Inc. All rights reserved.
*
* This software is available to you under a choice of one of two
Expand Down Expand Up @@ -52,7 +52,20 @@
#include <linux/module.h>
#include <linux/sched.h>
#include <linux/version.h>
#include <linux/vermagic.h>
/***********************************************************
* vermagic.h
*
* Drivers use the UTS_RELEASE macro to print the current
* kernel version.
* The definition of UTS_RELEASE was included through header
* file vermagic.h. Starting from 5.8.0, this header cannot
* be included anymore. Include utsrelease.h directly.
**********************************************************/
#if (LINUX_VERSION_CODE < KERNEL_VERSION(5,8,0))
#include <linux/vermagic.h>
#else
#include <generated/utsrelease.h>
#endif
#include "ApiFunc.h"
#include "Dispatch.h"
#include "Driver.h"
Expand Down
5 changes: 0 additions & 5 deletions Driver/Source.Plx8000_DMA/PlxChipFn.c
Original file line number Diff line number Diff line change
Expand Up @@ -570,11 +570,6 @@ PlxChipTypeDetect(
pdx->Key.PlxFamily = PLX_FAMILY_CAPELLA_2;
break;

case 0xC010:
case 0xC011:
case 0xC012:
pdx->Key.PlxFamily = PLX_FAMILY_ATLAS;

case 0:
pdx->Key.PlxFamily = PLX_FAMILY_NONE;
break;
Expand Down
4 changes: 2 additions & 2 deletions Driver/Source.Plx8000_DMA/SuppFunc.c
Original file line number Diff line number Diff line change
Expand Up @@ -991,7 +991,7 @@ PlxLockBufferAndBuildSgl(
}

// Obtain the mmap reader/writer semaphore
down_read( &current->mm->mmap_sem );
Plx_mmap_lock(current->mm);

// Attempt to lock the user buffer into memory
rc =
Expand All @@ -1004,7 +1004,7 @@ PlxLockBufferAndBuildSgl(
);

// Release mmap semaphore
up_read( &current->mm->mmap_sem );
Plx_mmap_unlock(current->mm);

if (rc != TotalDescr)
{
Expand Down
4 changes: 2 additions & 2 deletions Driver/Source.Plx8000_NT/Dispatch.c
Original file line number Diff line number Diff line change
Expand Up @@ -266,12 +266,12 @@ Dispatch_mmap(
**********************************************************/

// Set the region as page-locked
vma->vm_flags |= VM_RESERVED;
Plx_vm_flags_set(vma, VM_RESERVED);

if (bDeviceMem)
{
// Set flag for I/O resource
vma->vm_flags |= VM_IO;
Plx_vm_flags_set(vma, VM_IO);

// Set caching based on BAR properties
if (pdx->PciBar[offset].Properties.Flags & PLX_BAR_FLAG_PREFETCHABLE)
Expand Down
17 changes: 15 additions & 2 deletions Driver/Source.Plx8000_NT/Driver.c
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*******************************************************************************
* Copyright 2013-2019 Broadcom Inc
* Copyright 2013-2021 Broadcom Inc
* Copyright (c) 2009 to 2012 PLX Technology Inc. All rights reserved.
*
* This software is available to you under a choice of one of two
Expand Down Expand Up @@ -52,7 +52,20 @@
#include <linux/module.h>
#include <linux/sched.h>
#include <linux/version.h>
#include <linux/vermagic.h>
/***********************************************************
* vermagic.h
*
* Drivers use the UTS_RELEASE macro to print the current
* kernel version.
* The definition of UTS_RELEASE was included through header
* file vermagic.h. Starting from 5.8.0, this header cannot
* be included anymore. Include utsrelease.h directly.
**********************************************************/
#if (LINUX_VERSION_CODE < KERNEL_VERSION(5,8,0))
#include <linux/vermagic.h>
#else
#include <generated/utsrelease.h>
#endif
#include "ApiFunc.h"
#include "Dispatch.h"
#include "Driver.h"
Expand Down
5 changes: 0 additions & 5 deletions Driver/Source.Plx8000_NT/PlxChipFn.c
Original file line number Diff line number Diff line change
Expand Up @@ -539,11 +539,6 @@ PlxChipTypeDetect(
pdx->Key.PlxFamily = PLX_FAMILY_CAPELLA_2;
break;

case 0xC010:
case 0xC011:
case 0xC012:
pdx->Key.PlxFamily = PLX_FAMILY_ATLAS;

case 0:
pdx->Key.PlxFamily = PLX_FAMILY_NONE;
break;
Expand Down
4 changes: 2 additions & 2 deletions Driver/Source.Plx9000/Dispatch.c
Original file line number Diff line number Diff line change
Expand Up @@ -273,12 +273,12 @@ Dispatch_mmap(
**********************************************************/

// Set the region as page-locked
vma->vm_flags |= VM_RESERVED;
Plx_vm_flags_set(vma, VM_RESERVED);

if (bDeviceMem)
{
// Set flag for I/O resource
vma->vm_flags |= VM_IO;
Plx_vm_flags_set(vma, VM_IO);

// Set caching based on BAR properties
if (pdx->PciBar[offset].Properties.Flags & PLX_BAR_FLAG_PREFETCHABLE)
Expand Down
17 changes: 15 additions & 2 deletions Driver/Source.Plx9000/Driver.c
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*******************************************************************************
* Copyright 2013-2019 Broadcom Inc
* Copyright 2013-2021 Broadcom Inc
* Copyright (c) 2009 to 2012 PLX Technology Inc. All rights reserved.
*
* This software is available to you under a choice of one of two
Expand Down Expand Up @@ -52,7 +52,20 @@
#include <linux/module.h>
#include <linux/sched.h>
#include <linux/version.h>
#include <linux/vermagic.h>
/***********************************************************
* vermagic.h
*
* Drivers use the UTS_RELEASE macro to print the current
* kernel version.
* The definition of UTS_RELEASE was included through header
* file vermagic.h. Starting from 5.8.0, this header cannot
* be included anymore. Include utsrelease.h directly.
**********************************************************/
#if (LINUX_VERSION_CODE < KERNEL_VERSION(5,8,0))
#include <linux/vermagic.h>
#else
#include <generated/utsrelease.h>
#endif
#include "ApiFunc.h"
#include "Dispatch.h"
#include "Driver.h"
Expand Down
4 changes: 2 additions & 2 deletions Driver/Source.Plx9000/SuppFunc.c
Original file line number Diff line number Diff line change
Expand Up @@ -953,7 +953,7 @@ PlxLockBufferAndBuildSgl(
}

// Obtain the mmap reader/writer semaphore
down_read( &current->mm->mmap_sem );
Plx_mmap_lock(current->mm);

// Attempt to lock the user buffer into memory
rc =
Expand All @@ -966,7 +966,7 @@ PlxLockBufferAndBuildSgl(
);

// Release mmap semaphore
up_read( &current->mm->mmap_sem );
Plx_mmap_unlock(current->mm);

if (rc != TotalDescr)
{
Expand Down
Loading

0 comments on commit 5d0b314

Please sign in to comment.