public inbox for ipfire-scm@lists.ipfire.org
 help / color / mirror / Atom feed
From: Arne Fitzenreiter <git@ipfire.org>
To: ipfire-scm@lists.ipfire.org
Subject: [git.ipfire.org] IPFire 2.x development tree branch, master, updated. f3d6e2a0fbb21b78e3a5247049bc7b21595f2153
Date: Tue, 04 Jun 2024 12:12:50 +0000	[thread overview]
Message-ID: <4VtqH63cVyz2xNx@people01.haj.ipfire.org> (raw)

[-- Attachment #1: Type: text/plain, Size: 3034 bytes --]

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "IPFire 2.x development tree".

The branch, master has been updated
       via  f3d6e2a0fbb21b78e3a5247049bc7b21595f2153 (commit)
      from  03de90cc3c56e72865d3c4543d12ad301840d606 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit f3d6e2a0fbb21b78e3a5247049bc7b21595f2153
Author: Arne Fitzenreiter <arne_f(a)ipfire.org>
Date:   Tue Jun 4 14:08:53 2024 +0200

    kernel: reset asix88179 twice like in older kernels
    
    the kernel developers has removed a reset at bring the
    device first up to save time. At my test's this result in
    not detecting the link correct. This readd the reset and at
    my tests the device has worked.
    
    fixes #13692
    
    Signed-off-by: Arne Fitzenreiter <arne_f(a)ipfire.org>

-----------------------------------------------------------------------

Summary of changes:
 lfs/linux                                            |  3 +++
 src/patches/linux/linux-6.6.32-asix88179_reset.patch | 17 +++++++++++++++++
 2 files changed, 20 insertions(+)
 create mode 100644 src/patches/linux/linux-6.6.32-asix88179_reset.patch

Difference in files:
diff --git a/lfs/linux b/lfs/linux
index ca3b05119..3f5e60838 100644
--- a/lfs/linux
+++ b/lfs/linux
@@ -133,6 +133,9 @@ $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
 	# https://bugzilla.ipfire.org/show_bug.cgi?id=12760
 	cd $(DIR_APP) && patch -Np1 < $(DIR_SRC)/src/patches/linux/linux-5.15-NFQUEUE-Hold-RCU-read-lock-while-calling-nf_reinject.patch
 
+	# reset ax88179 twice like in older kernels
+	cd $(DIR_APP) && patch -Np1 < $(DIR_SRC)/src/patches/linux/linux-6.6.32-asix88179_reset.patch
+
 	# Fix external module compile
 	cd $(DIR_APP) && patch -Np1 < $(DIR_SRC)/src/patches/linux/linux-6.0-fix_external_module_build.patch
 
diff --git a/src/patches/linux/linux-6.6.32-asix88179_reset.patch b/src/patches/linux/linux-6.6.32-asix88179_reset.patch
new file mode 100644
index 000000000..f0e7d09f1
--- /dev/null
+++ b/src/patches/linux/linux-6.6.32-asix88179_reset.patch
@@ -0,0 +1,17 @@
+diff -Naur linux-6.6.32.org/drivers/net/usb/ax88179_178a.c linux-6.6.32/drivers/net/usb/ax88179_178a.c
+--- linux-6.6.32.org/drivers/net/usb/ax88179_178a.c	2024-05-25 16:22:56.000000000 +0200
++++ linux-6.6.32/drivers/net/usb/ax88179_178a.c	2024-06-04 10:45:18.113453100 +0200
+@@ -1678,10 +1678,10 @@
+ {
+ 	struct ax88179_data *ax179_data = dev->driver_priv;
+ 
+-	if (ax179_data->initialized)
++//	if (ax179_data->initialized)
+ 		ax88179_reset(dev);
+-	else
+-		ax179_data->initialized = 1;
++//	else
++//		ax179_data->initialized = 1;
+ 
+ 	return 0;
+ }


hooks/post-receive
--
IPFire 2.x development tree

                 reply	other threads:[~2024-06-04 12:12 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4VtqH63cVyz2xNx@people01.haj.ipfire.org \
    --to=git@ipfire.org \
    --cc=ipfire-scm@lists.ipfire.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox