Skip to content

Commit

Permalink
Release version linux-6.6.y-1
Browse files Browse the repository at this point in the history
This release and subsequent linux-6.7.y-n versions target the
linux v6.7.y releases.

It is not intended for versions < 6.6

It is the first version that is compatible with the API changes
introduced in Linux 6.8.
  • Loading branch information
acooks committed Jan 28, 2024
1 parent 3d14ee2 commit 476d5a1
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 11 deletions.
13 changes: 9 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,17 +49,22 @@ will output something like this:
- 4527, 3015 "TN9710Q 5GBase-T/NBASE-T Ethernet Adapter"


# Problematic Kernel versions

Occasionally people ask for help with old kernels, or kernels based on Enterprise Linux distributions. Unfortunately, this is something that is difficult for me (Andrew) to help with. I haven't got the time, and I believe that Enterprise Linux vendors should be providing this support, and be paid for it. Please seek help from the vendor of the Enterprise Linux distribution, or consider whether your needs and interests may be better aligned with an up-to-date community-supported distribution.

# Install

While upstreaming is the ultimate goal of this project, some systems already rely on this driver. For such systems, DKMS provides a convenient way to install and update the driver, [See DKMS instructions](docs/dkms.md).

# Branches

This repo contains several long-lived branches. You may have to look around for support for the kernel version and PHY that you have.
- `release/linux-6.6.y-1` -> Linux > 6.6.x
- `release/tn40xx-006` -> Linux > 5.15.x
- `release/tn40xx-004` -> Linux > 5.4
- `release/tn40xx-003` -> Linux <= 5.4
- `release/linux-6.7.y-1` --> 6.7.x <= Linux
- `release/linux-6.6.y-1` --> 6.6.x <= Linux < 6.8
- `release/tn40xx-006` --> 5.15.x <= Linux < 6.8
- `release/tn40xx-004` --> 5.4 < Linux < 5.15
- `release/tn40xx-003` --> Linux <= 5.4
- `vendor-drop/v0.3.6.17`

More detail on branching in [described in the documentation](docs/branches.md).
Expand Down
2 changes: 1 addition & 1 deletion dkms.conf
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
PACKAGE_NAME=tn40xx
PACKAGE_VERSION=linux-6.6.y-1
PACKAGE_VERSION=linux-6.7.y-1
BUILT_MODULE_NAME[0]="$PACKAGE_NAME"
MAKE[0]="make -C ${kernel_source_dir} M=${dkms_tree}/${PACKAGE_NAME}/${PACKAGE_VERSION}/build KVERSION=${kernelver}"
CLEAN="make -C ${kernel_source_dir} M=${dkms_tree}/${PACKAGE_NAME}/${PACKAGE_VERSION}/build KVERSION=${kernelver} clean"
Expand Down
10 changes: 5 additions & 5 deletions docs/dkms.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,19 +4,19 @@ Dynamic Kernel Module Support (DKMS) builds Linux kernel modules whose sources r

install
=======
git clone -b release/linux-6.6.y-1 https://github.com/acooks/tn40xx-driver.git /usr/src/tn40xx-linux-6.6.y-1
dkms add -m tn40xx -v linux-6.6.y-1
git clone -b release/linux-6.7.y-1 https://github.com/acooks/tn40xx-driver.git /usr/src/tn40xx-linux-6.7.y-1
dkms add -m tn40xx -v linux-6.7.y-1

build driver for current kernel
===============================
dkms install -m tn40xx -v linux-6.6.y-1
dkms install -m tn40xx -v linux-6.7.y-1

build driver for specific kernel version
========================================
dkms install -m tn40xx -v linux-6.6.y-1 -k [kernel_version]
dkms install -m tn40xx -v linux-6.7.y-1 -k [kernel_version]

uninstall
=========
This will remove module for all kernel versions

dkms remove -m tn40xx -v linux-6.6.y-1 --all
dkms remove -m tn40xx -v linux-6.7.y-1 --all
2 changes: 1 addition & 1 deletion tn40.h
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
#include <linux/version.h>
#include <asm/byteorder.h>

#define BDX_DRV_VERSION "linux-6.6.y-1"
#define BDX_DRV_VERSION "linux-6.7.y-1"
#define DRIVER_AUTHOR "Tehuti networks"
#define BDX_DRV_DESC "Tehuti Network Driver from https://github.com/acooks/tn40xx-driver"
#define BDX_NIC_NAME "tn40xx"
Expand Down

0 comments on commit 476d5a1

Please sign in to comment.