-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
wifi: rtw88: SDIO device driver for RTL8723CS
This driver uses the new rtw8703b chip driver code. Acked-by: Ping-Ke Shih <pkshih@realtek.com> Acked-by: Ulf Hansson <ulf.hansson@linaro.org> # For SDIO Tested-by: Pavel Machek <pavel@ucw.cz> Signed-off-by: Fiona Klute <fiona.klute@gmx.de> Signed-off-by: Kalle Valo <kvalo@kernel.org> Link: https://msgid.link/20240311103735.615541-10-fiona.klute@gmx.de
- Loading branch information
Fiona Klute
authored and
Kalle Valo
committed
Mar 14, 2024
1 parent
1f30e95
commit 64be035
Showing
4 changed files
with
59 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
// SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause | ||
/* Copyright Fiona Klute <fiona.klute@gmx.de> */ | ||
|
||
#include <linux/mmc/sdio_func.h> | ||
#include <linux/mmc/sdio_ids.h> | ||
#include <linux/module.h> | ||
#include "main.h" | ||
#include "rtw8703b.h" | ||
#include "sdio.h" | ||
|
||
static const struct sdio_device_id rtw_8723cs_id_table[] = { | ||
{ | ||
SDIO_DEVICE(SDIO_VENDOR_ID_REALTEK, | ||
SDIO_DEVICE_ID_REALTEK_RTW8723CS), | ||
.driver_data = (kernel_ulong_t)&rtw8703b_hw_spec, | ||
}, | ||
{} | ||
}; | ||
MODULE_DEVICE_TABLE(sdio, rtw_8723cs_id_table); | ||
|
||
static struct sdio_driver rtw_8723cs_driver = { | ||
.name = "rtw8723cs", | ||
.id_table = rtw_8723cs_id_table, | ||
.probe = rtw_sdio_probe, | ||
.remove = rtw_sdio_remove, | ||
.drv = { | ||
.pm = &rtw_sdio_pm_ops, | ||
.shutdown = rtw_sdio_shutdown | ||
}}; | ||
module_sdio_driver(rtw_8723cs_driver); | ||
|
||
MODULE_AUTHOR("Fiona Klute <fiona.klute@gmx.de>"); | ||
MODULE_DESCRIPTION("Realtek 802.11n wireless 8723cs driver"); | ||
MODULE_LICENSE("Dual BSD/GPL"); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters