Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 23 May 2023 08:33:14 +0000 (UTC)
From:      "Bjoern A. Zeeb" <bz@FreeBSD.org>
To:        =?UTF-8?Q?Goran_Meki=C4=87?= <meka@tilda.center>
Cc:        freebsd-wireless@freebsd.org
Subject:   Re: Compiling MT76 on CURRENT
Message-ID:  <0s3p5624-6nr5-9qp2-4153-2875q7s3555q@SerrOFQ.bet>
In-Reply-To: <yxbvibciupuaj7ja2rvule2wdvgphqnjk2n7pzcpmrwlnqh2ta@nzcoyfs26jfi>
References:  <yxbvibciupuaj7ja2rvule2wdvgphqnjk2n7pzcpmrwlnqh2ta@nzcoyfs26jfi>

next in thread | previous in thread | raw e-mail | index | archive | help
  This message is in MIME format.  The first part should be readable text,
  while the remaining parts are likely unreadable without MIME-aware tools.

--1098556516-493947036-1684830795=:48381
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8BIT

On Wed, 17 May 2023, Goran Mekić wrote:

Hi,

> I read that this driver was added to base and I can find the source but I
> don't know how to compile it, because I don't get /boot/kernel/if_mt*.ko
> and I couldn't grep/find the tunable that enables building of this
> driver. Is there any doc that can tell me how to try it out? I know it's
> experimental and I have a laptop that has this wifi ready for
> experiments.

I haven't yet connected it to the build.  I have an update for almost
all (but mt76 which is currently needing more things from LinuxKPI)
queued to get all drivers up to the same level before 14.0/15 happens
to make maintainance easier.

I haven't forgotten you and was planning to email back once this
happened.

If you in the meantime want to try it out (but no guarantees on how it
acts in main at this point) you want to apply somehting like this:

% git show ab8fc547e7dd336bde8e8a29d52c2dcc9e141c4f
commit ab8fc547e7dd336bde8e8a29d52c2dcc9e141c4f
Author: Bjoern A. Zeeb <bz@FreeBSD.org>
Date:   Tue Apr 18 14:33:32 2023 +0000

     mt76: add to build

     Add mediatek/mt76 drivers mt7915 and mt7921 as well as their
     man pages to the build.  There is interest by various people to
     try/use and enhance support further.

     MFC after:      2 months

diff --git a/share/man/man4/Makefile b/share/man/man4/Makefile
index 71d12055f4db..fa1f19bcfd1b 100644
--- a/share/man/man4/Makefile
+++ b/share/man/man4/Makefile
@@ -324,6 +324,8 @@ MAN=        aac.4 \
         mpt.4 \
         mrsas.4 \
         msk.4 \
+       mt7915.4 \
+       mt7921.4 \
         mtio.4 \
         multicast.4 \
         muge.4 \
diff --git a/sys/modules/Makefile b/sys/modules/Makefile
index b9867f25df4e..dad19c864978 100644
--- a/sys/modules/Makefile
+++ b/sys/modules/Makefile
@@ -266,6 +266,7 @@ SUBDIR=     \
         msdosfs \
         msdosfs_iconv \
         msk \
+       ${_mt76} \
         ${_mthca} \
         mvs \
         mwl \
@@ -560,6 +561,7 @@ _iwlwifi=   iwlwifi
  .if ${MK_SOURCELESS_UCODE} != "no"
  _iwlwififw=    iwlwififw
  .endif
+_mt76=         mt76
  _ossl=         ossl
  _rtw88=                rtw88
  .if ${MK_SOURCELESS_UCODE} != "no"


-- 
Bjoern A. Zeeb                                                     r15:7
--1098556516-493947036-1684830795=:48381--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?0s3p5624-6nr5-9qp2-4153-2875q7s3555q>