Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 2 Dec 2024 15:38:06 +0300
From:      "Andrey V. Elsukov" <bu7cher@yandex.ru>
To:        freebsd-net@freebsd.org
Subject:   Re: FreeBSD Port: net/realtek-re-kmod
Message-ID:  <7b0c58c2-2909-4706-8fc5-4be58a7424b5@yandex.ru>
In-Reply-To: <f5c8bf72-032a-45b0-ad69-b8847d4edd2c@gmail.com>
References:  <f5c8bf72-032a-45b0-ad69-b8847d4edd2c@gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
This is a multi-part message in MIME format.
--------------Pu1r0dGgra3XpixgLFIrMnpU
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit

On 01.12.2024 16:40, Mike Jakubik wrote:
> Hello,
> 
> 
> Seems like it wont compile on recent current, noticed about  2 days ago 
> and /usr/src/sys/sys/mbuf.h hasnt been touched it seems.

> if_re.c:5552:20: error: incomplete definition of type 'struct ifnet'
> 5552 |                 ifp->if_capabilities &= ~(IFCAP_TSO6 | 

Hi,

struct ifnet was closed from public users in 
https://reviews.freebsd.org/D39621

Driver must use public ifAPI. Meanwhile you can create `files` directory 
in the port directory an put this patch there:

-- 
WBR, Andrey V. Elsukov

--------------Pu1r0dGgra3XpixgLFIrMnpU
Content-Type: text/plain; charset=UTF-8; name="patch-if_re.c"
Content-Disposition: attachment; filename="patch-if_re.c"
Content-Transfer-Encoding: base64

LS0tIGlmX3JlLmMub3JpZwkyMDI0LTEyLTAyIDE1OjI0OjE3LjY1MDg0NjAwMCArMDMwMAor
KysgaWZfcmUuYwkyMDI0LTEyLTAyIDE1OjMxOjE1LjQ3MzI3MjAwMCArMDMwMApAQCAtNjcs
NiArNjcsNyBAQCBfX0ZCU0RJRCgiJEZyZWVCU0Q6IHNyYy9zeXMvZGV2L3JlL2lmX3JlLmMs
diAiIFJFX1ZFUlMKIAogI2luY2x1ZGUgPG5ldC9pZi5oPgogI2luY2x1ZGUgPG5ldC9pZl92
YXIuaD4KKyNpbmNsdWRlIDxuZXQvaWZfcHJpdmF0ZS5oPgogI2luY2x1ZGUgPG5ldC9pZl9h
cnAuaD4KICNpbmNsdWRlIDxuZXQvZXRoZXJuZXQuaD4KICNpbmNsdWRlIDxuZXQvaWZfZGwu
aD4K

--------------Pu1r0dGgra3XpixgLFIrMnpU--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?7b0c58c2-2909-4706-8fc5-4be58a7424b5>