From: Ryder Lee <ryder.lee@mediatek.com>
To: <sean.wang@mediatek.com>
Cc: robin.chiu@mediatek.com, ch.yeh@mediatek.com,
Eric.Liang@mediatek.com, linux-wireless@vger.kernel.org,
posh.sun@mediatek.com, YN.Chen@mediatek.com,
linux-mediatek@lists.infradead.org, lorenzo.bianconi@redhat.com,
Lorenzo Bianconi <lorenzo@kernel.org>,
Soul.Huang@mediatek.com, nbd@nbd.name
Subject: Re: [PATCH -next v7 08/22] mt76: mt7921: add module support
Date: Sun, 24 Jan 2021 07:48:01 +0800 [thread overview]
Message-ID: <1611445681.17541.2.camel@mtkswgap22> (raw)
In-Reply-To: <feac135d366a16bd554eeccd18ecdc5f6ab619e2.1611389300.git.objelf@gmail.com>
On Sat, 2021-01-23 at 16:34 +0800, sean.wang@mediatek.com wrote:
> From: Sean Wang <sean.wang@mediatek.com>
>
> Add mt7921 as the pci driver module.
>
> The purpose of the patch is to check about if the following patches are
> able to compile properly.
>
> Co-developed-by: Lorenzo Bianconi <lorenzo@kernel.org>
> Signed-off-by: Lorenzo Bianconi <lorenzo@kernel.org>
> Co-developed-by: Soul Huang <Soul.Huang@mediatek.com>
> Signed-off-by: Soul Huang <Soul.Huang@mediatek.com>
> Signed-off-by: Sean Wang <sean.wang@mediatek.com>
> ---
> drivers/net/wireless/mediatek/mt76/Kconfig | 1 +
> drivers/net/wireless/mediatek/mt76/Makefile | 1 +
> drivers/net/wireless/mediatek/mt76/mt7921/Kconfig | 10 ++++++++++
> drivers/net/wireless/mediatek/mt76/mt7921/Makefile | 5 +++++
> 4 files changed, 17 insertions(+)
> create mode 100644 drivers/net/wireless/mediatek/mt76/mt7921/Kconfig
> create mode 100644 drivers/net/wireless/mediatek/mt76/mt7921/Makefile
>
> diff --git a/drivers/net/wireless/mediatek/mt76/Kconfig b/drivers/net/wireless/mediatek/mt76/Kconfig
> index 74f99f08d0b5..9ff43f1fc50d 100644
> --- a/drivers/net/wireless/mediatek/mt76/Kconfig
> +++ b/drivers/net/wireless/mediatek/mt76/Kconfig
> @@ -33,3 +33,4 @@ source "drivers/net/wireless/mediatek/mt76/mt76x2/Kconfig"
> source "drivers/net/wireless/mediatek/mt76/mt7603/Kconfig"
> source "drivers/net/wireless/mediatek/mt76/mt7615/Kconfig"
> source "drivers/net/wireless/mediatek/mt76/mt7915/Kconfig"
> +source "drivers/net/wireless/mediatek/mt76/mt7921/Kconfig"
> diff --git a/drivers/net/wireless/mediatek/mt76/Makefile b/drivers/net/wireless/mediatek/mt76/Makefile
> index eac419c64788..94efe3c29053 100644
> --- a/drivers/net/wireless/mediatek/mt76/Makefile
> +++ b/drivers/net/wireless/mediatek/mt76/Makefile
> @@ -34,3 +34,4 @@ obj-$(CONFIG_MT76x2_COMMON) += mt76x2/
> obj-$(CONFIG_MT7603E) += mt7603/
> obj-$(CONFIG_MT7615_COMMON) += mt7615/
> obj-$(CONFIG_MT7915E) += mt7915/
> +obj-$(CONFIG_MT7921E) += mt7921/
> diff --git a/drivers/net/wireless/mediatek/mt76/mt7921/Kconfig b/drivers/net/wireless/mediatek/mt76/mt7921/Kconfig
> new file mode 100644
> index 000000000000..24932d2e8dee
> --- /dev/null
> +++ b/drivers/net/wireless/mediatek/mt76/mt7921/Kconfig
> @@ -0,0 +1,10 @@
> +# SPDX-License-Identifier: ISC
> +config MT7921E
> + tristate "MediaTek MT7921E (PCIe) support"
> + select MT76_CORE
> + depends on MAC80211
> + depends on PCI
> + help
> + This adds support for MT7921E 802.11ax 2x2:2SS wireless devices.
> +
> + To compile this driver as a module, choose M here.
> diff --git a/drivers/net/wireless/mediatek/mt76/mt7921/Makefile b/drivers/net/wireless/mediatek/mt76/mt7921/Makefile
> new file mode 100644
> index 000000000000..09d1446ad933
> --- /dev/null
> +++ b/drivers/net/wireless/mediatek/mt76/mt7921/Makefile
> @@ -0,0 +1,5 @@
> +#SPDX-License-Identifier: ISC
> +
> +obj-$(CONFIG_MT7921E) += mt7921e.o
> +
> +mt7921e-y := pci.o mac.o mcu.o dma.o eeprom.o main.o init.o debugfs.o
I think it's more reasonable to move this into 'mt76: mt7921: introduce
mt7921e support' to make it complete.
Ryder
_______________________________________________
Linux-mediatek mailing list
Linux-mediatek@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-mediatek
next prev parent reply other threads:[~2021-01-23 23:48 UTC|newest]
Thread overview: 25+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-01-23 8:34 [PATCH -next v7 00/22] introduce mt7921e support sean.wang
2021-01-23 8:34 ` [PATCH -next v7 01/22] mt76: mt7921: add MAC support sean.wang
2021-01-23 8:34 ` [PATCH -next v7 02/22] mt76: mt7921: add MCU support sean.wang
2021-01-23 8:34 ` [PATCH -next v7 03/22] mt76: mt7921: add DMA support sean.wang
2021-01-23 8:34 ` [PATCH -next v7 04/22] mt76: mt7921: add EEPROM support sean.wang
2021-01-23 8:34 ` [PATCH -next v7 05/22] mt76: mt7921: add ieee80211_ops sean.wang
2021-01-23 8:34 ` [PATCH -next v7 06/22] mt76: mt7921: introduce mt7921e support sean.wang
2021-01-23 8:34 ` [PATCH -next v7 07/22] mt76: mt7921: add debugfs support sean.wang
2021-01-23 8:34 ` [PATCH -next v7 08/22] mt76: mt7921: add module support sean.wang
2021-01-23 23:48 ` Ryder Lee [this message]
2021-01-23 8:35 ` [PATCH -next v7 09/22] mt76: mt7921: introduce schedule scan support sean.wang
2021-01-23 8:35 ` [PATCH -next v7 10/22] mt76: mt7921: introduce 802.11 PS support in sta mode sean.wang
2021-01-23 8:35 ` [PATCH -next v7 11/22] mt76: mt7921: introduce support for hardware beacon filter sean.wang
2021-01-23 8:35 ` [PATCH -next v7 12/22] mt76: mt7921: introduce beacon_loss mcu event sean.wang
2021-01-23 8:35 ` [PATCH -next v7 13/22] mt76: mt7921: introduce PM support sean.wang
2021-01-23 8:35 ` [PATCH -next v7 14/22] mt76: mt7921: rely on mt76_connac_mcu common library sean.wang
2021-01-23 8:35 ` [PATCH -next v7 15/22] mt76: mt7921: rely on mt76_connac_mcu module for sched_scan and hw_scan sean.wang
2021-01-23 8:35 ` [PATCH -next v7 16/22] mt76: mt7921: rely on mt76_connac_mcu module for suspend and WoW support sean.wang
2021-01-23 8:35 ` [PATCH -next v7 17/22] mt76: mt7921: introduce Runtime PM support sean.wang
2021-01-23 8:35 ` [PATCH -next v7 18/22] mt76: mt7921: introduce regdomain notifier support sean.wang
2021-01-23 8:35 ` [PATCH -next v7 19/22] mt76: mt7921: enable MSI interrupts sean.wang
2021-01-23 8:35 ` [PATCH -next v7 20/22] mt76: mt7921: add coredump support sean.wang
2021-01-23 8:35 ` [PATCH -next v7 21/22] mt76: mt7663: introduce " sean.wang
2021-01-23 8:35 ` [PATCH -next v7 22/22] mt76: mt7921: add sta statistics sean.wang
2021-01-23 23:42 ` Ryder Lee
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=1611445681.17541.2.camel@mtkswgap22 \
--to=ryder.lee@mediatek.com \
--cc=Eric.Liang@mediatek.com \
--cc=Soul.Huang@mediatek.com \
--cc=YN.Chen@mediatek.com \
--cc=ch.yeh@mediatek.com \
--cc=linux-mediatek@lists.infradead.org \
--cc=linux-wireless@vger.kernel.org \
--cc=lorenzo.bianconi@redhat.com \
--cc=lorenzo@kernel.org \
--cc=nbd@nbd.name \
--cc=posh.sun@mediatek.com \
--cc=robin.chiu@mediatek.com \
--cc=sean.wang@mediatek.com \
/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