[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <819189eb24ecece40e9d0c2a51f54d4084bb9493.camel@realtek.com>
Date: Fri, 20 May 2022 07:47:44 +0000
From: Pkshih <pkshih@...ltek.com>
To: "s.hauer@...gutronix.de" <s.hauer@...gutronix.de>,
"linux-wireless@...r.kernel.org" <linux-wireless@...r.kernel.org>
CC: "johannes@...solutions.net" <johannes@...solutions.net>,
"kernel@...gutronix.de" <kernel@...gutronix.de>,
"neojou@...il.com" <neojou@...il.com>,
"kvalo@...nel.org" <kvalo@...nel.org>,
"tony0620emma@...il.com" <tony0620emma@...il.com>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
"martin.blumenstingl@...glemail.com"
<martin.blumenstingl@...glemail.com>,
"linux@...i-kroll.de" <linux@...i-kroll.de>,
"netdev@...r.kernel.org" <netdev@...r.kernel.org>
Subject: Re: [PATCH 07/10] rtw88: Add rtw8723du chipset support
On Wed, 2022-05-18 at 10:23 +0200, Sascha Hauer wrote:
> Add support for the rtw8723du chipset based on
> https://github.com/ulli-kroll/rtw88-usb.git
>
> Signed-off-by: Sascha Hauer <s.hauer@...gutronix.de>
> ---
> drivers/net/wireless/realtek/rtw88/Kconfig | 11 +++++
> drivers/net/wireless/realtek/rtw88/Makefile | 3 ++
> drivers/net/wireless/realtek/rtw88/rtw8723d.c | 19 +++++++++
> drivers/net/wireless/realtek/rtw88/rtw8723d.h | 1 +
> .../net/wireless/realtek/rtw88/rtw8723du.c | 40 +++++++++++++++++++
> .../net/wireless/realtek/rtw88/rtw8723du.h | 13 ++++++
> 6 files changed, 87 insertions(+)
> create mode 100644 drivers/net/wireless/realtek/rtw88/rtw8723du.c
> create mode 100644 drivers/net/wireless/realtek/rtw88/rtw8723du.h
>
>
[...]
> diff --git a/drivers/net/wireless/realtek/rtw88/rtw8723du.c
> b/drivers/net/wireless/realtek/rtw88/rtw8723du.c
> new file mode 100644
> index 0000000000000..910f64c168131
> --- /dev/null
> +++ b/drivers/net/wireless/realtek/rtw88/rtw8723du.c
> @@ -0,0 +1,40 @@
> +// SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause
> +/* Copyright(c) 2018-2019 Realtek Corporation
> + */
> +
> +#include <linux/module.h>
> +#include <linux/usb.h>
> +#include "main.h"
> +#include "rtw8723du.h"
> +#include "usb.h"
> +
> +static const struct usb_device_id rtw_8723du_id_table[] = {
> + /*
> + * ULLI :
> + * ID found in rtw8822bu sources
> + */
checkpatch.pl will tell us this comment block should be
/* ULLI :
* ID found in rtw8822bu sources
*/
But, I think we can just "/* ULLI: ID found in rtw8822bu sources */"
if we really want to keep this comment.
[...]
> diff --git a/drivers/net/wireless/realtek/rtw88/rtw8723du.h
> b/drivers/net/wireless/realtek/rtw88/rtw8723du.h
> new file mode 100644
> index 0000000000000..2e069f65c0551
> --- /dev/null
> +++ b/drivers/net/wireless/realtek/rtw88/rtw8723du.h
> @@ -0,0 +1,13 @@
> +/* SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause */
> +/* Copyright(c) 2018-2019 Realtek Corporation
> + */
> +
> +#ifndef __RTW_8723DU_H_
> +#define __RTW_8723DU_H_
> +
> +/* USB Vendor/Product IDs */
> +#define RTW_USB_VENDOR_ID_REALTEK 0x0BDA
rtw8821cu.h and rtw8822bu.h define this too.
Can we move it to usb.h?
> +
> +extern struct rtw_chip_info rtw8723d_hw_spec;
> +
> +#endif
Ping-Ke
Powered by blists - more mailing lists