🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.debian.bugs.dist
Article #6764

Bug#1155585: yt6801-dkms: module fails to build for Linux 7.4: error: 'const struct net_device_ops' has no member named 'ndo_do_...

#6764
From: Miao Wang
Date: Sun, 29 Nov 2026 17:30
77 lines
5541 bytes
Hi,

Thanks for testing this module on Linux 7.4. I have prepared
a fix for this and updated the driver to 1.0.35.

The prepared update is at https://salsa.debian.org/debian/yt6801-dkms
on debian/unstable branch. I wonder if you would like to sponsor an
upload?

Cheers,

Miao Wang

> 2026年11月28日 05:46,Andreas Beckmann <anbe@debian.org> 写道:
> 
> Package: yt6801-dkms
> Version: 1.0.31-1
> Severity: important
> Tags: upstream
> 
> Hi,
> 
> yt6801-dkms fails to build a module for Linux 7.4 in experimental:
> 
> DKMS (dkms-3.2.2) make.log for yt6801/1.0.31 for kernel 7.4-amd64 (x86_64)
> Thu Nov 26 18:29:31 UTC 2026
> 
> Building module(s)
> # command: make -j14 KERNELRELEASE=7.4-amd64 -C /lib/modules/7.4-amd64/build M=/var/lib/dkms/yt6801/1.0.31/build
> make: Entering directory '/usr/src/linux-headers-7.4-amd64'
> make[1]: Entering directory '/var/lib/dkms/yt6801/1.0.31/build'
>  CC [M]  fuxi-gmac-common.o
>  CC [M]  fuxi-gmac-desc.o
>  CC [M]  fuxi-gmac-ethtool.o
>  CC [M]  fuxi-gmac-hw.o
>  CC [M]  fuxi-gmac-net.o
>  CC [M]  fuxi-gmac-pci.o
>  CC [M]  fuxi-gmac-phy.o
>  CC [M]  fuxi-efuse.o
>  CC [M]  fuxi-gmac-ioctl.o
> fuxi-gmac-net.c: In function 'fxgmac_dump_state':
> fuxi-gmac-net.c:1812:30: warning: unused variable 'pstats' [-Wunused-variable]
> 1812 |         struct fxgmac_stats *pstats = &pdata->stats;
>      |                              ^~~~~~
> fuxi-gmac-net.c: At top level:
> fuxi-gmac-net.c:2316:6: error: 'const struct net_device_ops' has no member named 'ndo_do_ioctl'; did you mean 'ndo_eth_ioctl'?
> 2316 |     .ndo_do_ioctl           = fxgmac_ioctl,
>      |      ^~~~~~~~~~~~
>      |      ndo_eth_ioctl
> make[3]: *** [/usr/src/linux-headers-7.4-common/scripts/Makefile.build:295: fuxi-gmac-net.o] Error 1
> make[3]: *** Waiting for unfinished jobs....
> make[2]: *** [/usr/src/linux-headers-7.4-common/Makefile:2268: .] Error 2
> make[1]: *** [/usr/src/linux-headers-7.4-common/Makefile:260: __sub-make] Error 2
> make[1]: Leaving directory '/var/lib/dkms/yt6801/1.0.31/build'
> make: *** [/usr/src/linux-headers-7.4-common/Makefile:260: __sub-make] Error 2
> make: Leaving directory '/usr/src/linux-headers-7.4-amd64'
> 
> # exit code: 2
> # elapsed time: 00:00:18
> ----------------------------------------------------------------
> 
> The ndo_do_ioctl member of net_device_ops has been removed by Linux
> commit "net: remove ndo_do_ioctl handler"
> (d98a52ae914e9fef700047f1eca486087abb13db) in v7.4-rc1
> 
> 
> Andreas
Technical Details
Message-ID: <O4QSR-eVxD-7@gated-at.bofh.it>
Path: mbox-mo1.pugleaf.net!news-ams.pugleaf.net!srl.newsdeef.eu!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomod
References: <O4bZn-ey1R-7@gated-at.bofh.it> <O4bZn-ey1R-7@gated-at.bofh.it>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-ams.pugleaf.net!srl.newsdeef.eu!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomod
From: Miao Wang <shankerwangmiao@gmail.com>
Newsgroups: linux.debian.bugs.dist
Subject: Bug#1155585: yt6801-dkms: module fails to build for Linux 7.4: error: 'const struct net_device_ops' has no member named 'ndo_do_ioctl'
Date: Sun, 29 Nov 2026 18:30:01 +0100
Message-ID: <O4QSR-eVxD-7@gated-at.bofh.it>
References: <O4bZn-ey1R-7@gated-at.bofh.it> <O4bZn-ey1R-7@gated-at.bofh.it>
X-Original-To: Andreas Beckmann <anbe@debian.org>
X-Mailbox-Line: From debian-bugs-dist-request@lists.debian.org  Sun Nov 29 17:29:11 2026
Old-Return-Path: <debbugs@buxtehude.debian.org>
X-Spam-Flag: NO
X-Spam-Score: -0.548
Reply-To: Miao Wang <shankerwangmiao@gmail.com>, 1155585@bugs.debian.org
Resent-To: debian-bugs-dist@lists.debian.org
Resent-Cc: shankerwangmiao@gmail.com
X-Debian-Pr-Message: followup 1155585
X-Debian-Pr-Package: yt6801-dkms
X-Debian-Pr-Keywords: upstream
X-Debian-Pr-Source: yt6801-dkms
X-Gm-Message-State: APuU4Z9hOssicJf/ZfgwG5NURQQSkjtVpovxoUDtcRrlD/Zza16vGUZo
	VP9kE5O6p53I6FtbgeDmtLXhmKerdZ/4nciR/S/RAM5SEiA7zOrcE+th
X-Gm-Gg: AZFdTZclOnOzDdkycQ7RxfQBbwR+3G8kWDCU98fi8oBi8eam/0A1pvuwY+k8C6jmNsi
	G120lnD718+Fbk/DbwAAnDN2DaSH3sfXsioEu8vbQETJVHR3y+lvsI5IPyO8vcrKQE1EKd5eTQ5
	QfXVNFieOpHk8BoICQdiCmqRJBT/ivLhNlwNxUElqn7hvxWNDuvOAGFjBkMChD8tTdqg585Se5X
	+5KQRsyCRfnSS5fXIY12Fl6TYwoOVTBHZsp2HfyfQFd6Z+LUwHFOF0BMd2cFGCAixhHFHWxKC/y
	1FMCAs6JmlIYQiqvGmf0oQ4344HYdtF0ZnwMjRVad4iY6xzUDfVEmkzwfCU74e6pIGCat0Uan2y
	uDSSyc4O4HVlM9aeb90qxtv/HjC1UK/F0/BwcFci9UFuDmuhkNW8mFiy+lEEdAvWxpAqJBBn66Z
	0UEUBNS+neazX6bFKo5P0sBToe5OOYLB9V9Ghr++m/suj+Va5HRFv0iknwudgGWS4ZlYcITs39O
	h6bqMoH9k1DLJh8uGTZX4FiwpkKe8/lxTncbtCD8yCstL6zs1ga+RQdRVnBVsZOIptTuPJpgtZv
	gGt4+ZR4DhIeXVJMrraqj/YEsdk8mGmk1z+D4xtrCAlpdbo3oQyi
X-Received: by 2002:a17:90b:498c:b0:3ac:73c7:9c07 with SMTP id 98e67ed59e1d1-3b41c55b914mr45791953a91.0.1795973198463;
        Sun, 29 Nov 2026 09:26:38 -0800 (PST)
Content-Type: text/plain;
	charset=utf-8
MIME-Version: 1.0 (Mac OS X Mail 16.0 \(3826.700.81.1.11\))
Content-Transfer-Encoding: quoted-printable
X-Mailer: Apple Mail (2.3826.700.81.1.11)
X-Debian-Message: from BTS
X-Mailing-List: <debian-bugs-dist@lists.debian.org> archive/latest/2005934
List-ID: <debian-bugs-dist.lists.debian.org>
List-URL: <https://lists.debian.org/debian-bugs-dist/>
Approved: robomod@news.nic.it
Lines: 77
Organization: linux.* mail to news gateway
Sender: robomod@news.nic.it
X-Original-Cc: 1155585@bugs.debian.org
X-Original-Date: Mon, 30 Nov 2026 01:26:14 +0800
X-Original-Message-ID: <4AA8BB82-104C-44B5-9858-944F0D7AE7BF@gmail.com>
X-Original-References: <179581601882.358206.7984967123379885838.reportbug@caipi> <179581601882.358206.7984967123379885838.reportbug@caipi>