Update Barefoot platform module for Bullseye and 5.10 kernel (#8)
Update Barefoot platform support for Bullseye and 5.10 kernel, and add python3-venv.
This commit is contained in:
parent
857937d592
commit
9894116205
@ -7,6 +7,6 @@ Standards-Version: 3.9.3
|
|||||||
|
|
||||||
Package: bfn-modules
|
Package: bfn-modules
|
||||||
Architecture: amd64
|
Architecture: amd64
|
||||||
Depends: linux-image-4.19.0-12-2-amd64-unsigned
|
Depends: linux-image-5.10.0-8-2-amd64-unsigned
|
||||||
Description: kernel modules for bfn asic for mmap
|
Description: kernel modules for bfn asic for mmap
|
||||||
|
|
||||||
|
@ -1316,8 +1316,11 @@ static pci_ers_result_t bf_pci_mmio_enabled(struct pci_dev *dev) {
|
|||||||
struct bf_pci_dev *bfdev = pci_get_drvdata(dev);
|
struct bf_pci_dev *bfdev = pci_get_drvdata(dev);
|
||||||
|
|
||||||
printk(KERN_ERR "BF pci_mmio_enabled invoked after pci error\n");
|
printk(KERN_ERR "BF pci_mmio_enabled invoked after pci error\n");
|
||||||
pci_cleanup_aer_uncorrect_error_status(dev);
|
#if KERNEL_VERSION(5, 8, 0) <= LINUX_VERSION_CODE
|
||||||
|
pci_aer_clear_nonfatal_status(dev);
|
||||||
|
#else
|
||||||
|
pci_cleanup_aer_uncorrect_error_status(dev);
|
||||||
|
#endif
|
||||||
if (bfdev) {
|
if (bfdev) {
|
||||||
/* send a signal to the user space program of the error */
|
/* send a signal to the user space program of the error */
|
||||||
int minor = bfdev->info.minor;
|
int minor = bfdev->info.minor;
|
||||||
|
File diff suppressed because it is too large
Load Diff
@ -7,6 +7,6 @@ Standards-Version: 3.9.3
|
|||||||
|
|
||||||
Package: sonic-platform-modules-bfn-montara
|
Package: sonic-platform-modules-bfn-montara
|
||||||
Architecture: amd64
|
Architecture: amd64
|
||||||
Depends: linux-image-4.19.0-12-2-amd64-unsigned
|
Depends: linux-image-5.10.0-8-2-amd64-unsigned
|
||||||
Description: kernel modules for platform devices such as fan, led, sfp
|
Description: kernel modules for platform devices such as fan, led, sfp
|
||||||
|
|
||||||
|
@ -7,11 +7,11 @@ Standards-Version: 3.9.3
|
|||||||
|
|
||||||
Package: sonic-platform-modules-bfn-newport-as9516
|
Package: sonic-platform-modules-bfn-newport-as9516
|
||||||
Architecture: amd64
|
Architecture: amd64
|
||||||
Depends: linux-image-4.19.0-12-2-amd64-unsigned
|
Depends: linux-image-5.10.0-8-2-amd64-unsigned
|
||||||
Description: kernel module for bfn platform fpga and scripts for the devices such as fan, led, sfp
|
Description: kernel module for bfn platform fpga and scripts for the devices such as fan, led, sfp
|
||||||
|
|
||||||
Package: sonic-platform-modules-bfn-newport-as9516bf
|
Package: sonic-platform-modules-bfn-newport-as9516bf
|
||||||
Architecture: amd64
|
Architecture: amd64
|
||||||
Depends: linux-image-4.19.0-12-2-amd64-unsigned
|
Depends: linux-image-5.10.0-8-2-amd64-unsigned
|
||||||
Description: kernel module for bfn platform fpga and scripts for the devices such as fan, led, sfp
|
Description: kernel module for bfn platform fpga and scripts for the devices such as fan, led, sfp
|
||||||
|
|
||||||
|
@ -25,7 +25,7 @@
|
|||||||
*******************************************************************************/
|
*******************************************************************************/
|
||||||
#include <linux/types.h>
|
#include <linux/types.h>
|
||||||
#include "bf_fpga_i2c_priv_porting.h"
|
#include "bf_fpga_i2c_priv_porting.h"
|
||||||
#include <bf_fpga_ioctl.h>
|
#include "../bf_fpga_ioctl.h"
|
||||||
#include "bf_fpga_i2c_priv.h"
|
#include "bf_fpga_i2c_priv.h"
|
||||||
#include "bf_fpga_i2c.h"
|
#include "bf_fpga_i2c.h"
|
||||||
#include "bf_fpga_i2c_reg.h"
|
#include "bf_fpga_i2c_reg.h"
|
||||||
|
@ -25,7 +25,7 @@
|
|||||||
*******************************************************************************/
|
*******************************************************************************/
|
||||||
#include <linux/types.h>
|
#include <linux/types.h>
|
||||||
#include "bf_fpga_i2c_priv_porting.h"
|
#include "bf_fpga_i2c_priv_porting.h"
|
||||||
#include <bf_fpga_ioctl.h>
|
#include "../bf_fpga_ioctl.h"
|
||||||
#include "bf_fpga_i2c.h"
|
#include "bf_fpga_i2c.h"
|
||||||
#include "bf_fpga_i2c_priv.h"
|
#include "bf_fpga_i2c_priv.h"
|
||||||
#include "bf_fpga_i2c_reg.h"
|
#include "bf_fpga_i2c_reg.h"
|
||||||
|
@ -29,7 +29,7 @@
|
|||||||
#include <linux/mutex.h>
|
#include <linux/mutex.h>
|
||||||
#include <linux/bitops.h>
|
#include <linux/bitops.h>
|
||||||
#include "bf_fpga_i2c_priv_porting.h"
|
#include "bf_fpga_i2c_priv_porting.h"
|
||||||
#include <bf_fpga_ioctl.h>
|
#include "../bf_fpga_ioctl.h"
|
||||||
#include "bf_fpga_i2c.h"
|
#include "bf_fpga_i2c.h"
|
||||||
#include "bf_fpga_i2c_priv.h"
|
#include "bf_fpga_i2c_priv.h"
|
||||||
|
|
||||||
|
@ -7,6 +7,6 @@ Standards-Version: 3.9.3
|
|||||||
|
|
||||||
Package: sonic-platform-modules-bfn
|
Package: sonic-platform-modules-bfn
|
||||||
Architecture: amd64
|
Architecture: amd64
|
||||||
Depends: linux-image-4.19.0-12-2-amd64-unsigned
|
Depends: linux-image-5.10.0-8-2-amd64-unsigned
|
||||||
Description: kernel modules for platform devices such as fan, led, sfp
|
Description: kernel modules for platform devices such as fan, led, sfp
|
||||||
|
|
||||||
|
@ -2,7 +2,7 @@ Source: platform-driver
|
|||||||
Section: unknown
|
Section: unknown
|
||||||
Priority: optional
|
Priority: optional
|
||||||
Maintainer: Wade He <wade.ce.he@ingrasys.com>
|
Maintainer: Wade He <wade.ce.he@ingrasys.com>
|
||||||
Build-Depends: debhelper (>= 9), dh-systemd
|
Build-Depends: debhelper (>= 9)
|
||||||
Standards-Version: 1.0.0
|
Standards-Version: 1.0.0
|
||||||
|
|
||||||
Package: sonic-platform-ingrasys-s9180-32x
|
Package: sonic-platform-ingrasys-s9180-32x
|
||||||
|
@ -7,6 +7,6 @@ Standards-Version: 3.9.3
|
|||||||
|
|
||||||
Package: platform-modules-wnc-osw1800
|
Package: platform-modules-wnc-osw1800
|
||||||
Architecture: amd64
|
Architecture: amd64
|
||||||
Depends: linux-image-4.19.0-12-2-amd64-unsigned
|
Depends: linux-image-5.10.0-8-2-amd64-unsigned
|
||||||
Description: kernel modules for platform devices such as fan, led, sfp
|
Description: kernel modules for platform devices such as fan, led, sfp
|
||||||
|
|
||||||
|
@ -197,7 +197,7 @@ RUN apt-get update && apt-get install -y \
|
|||||||
clang \
|
clang \
|
||||||
pylint \
|
pylint \
|
||||||
python3-pytest \
|
python3-pytest \
|
||||||
python3-pytest \
|
python3-venv \
|
||||||
gcovr \
|
gcovr \
|
||||||
python3-pytest-cov \
|
python3-pytest-cov \
|
||||||
python3-pytest-cov \
|
python3-pytest-cov \
|
||||||
|
Reference in New Issue
Block a user