162306a36Sopenharmony_ci// SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause 262306a36Sopenharmony_ci/* Copyright(c) 2018-2019 Realtek Corporation 362306a36Sopenharmony_ci */ 462306a36Sopenharmony_ci 562306a36Sopenharmony_ci#include <linux/module.h> 662306a36Sopenharmony_ci#include <linux/usb.h> 762306a36Sopenharmony_ci#include "main.h" 862306a36Sopenharmony_ci#include "rtw8723d.h" 962306a36Sopenharmony_ci#include "usb.h" 1062306a36Sopenharmony_ci 1162306a36Sopenharmony_cistatic const struct usb_device_id rtw_8723du_id_table[] = { 1262306a36Sopenharmony_ci { USB_DEVICE_AND_INTERFACE_INFO(RTW_USB_VENDOR_ID_REALTEK, 0xd723, 0xff, 0xff, 0xff), 1362306a36Sopenharmony_ci .driver_info = (kernel_ulong_t)&(rtw8723d_hw_spec) }, /* 8723DU 1*1 */ 1462306a36Sopenharmony_ci { USB_DEVICE_AND_INTERFACE_INFO(0x7392, 0xd611, 0xff, 0xff, 0xff), 1562306a36Sopenharmony_ci .driver_info = (kernel_ulong_t)&(rtw8723d_hw_spec) }, /* Edimax EW-7611ULB V2 */ 1662306a36Sopenharmony_ci { }, 1762306a36Sopenharmony_ci}; 1862306a36Sopenharmony_ciMODULE_DEVICE_TABLE(usb, rtw_8723du_id_table); 1962306a36Sopenharmony_ci 2062306a36Sopenharmony_cistatic int rtw8723du_probe(struct usb_interface *intf, 2162306a36Sopenharmony_ci const struct usb_device_id *id) 2262306a36Sopenharmony_ci{ 2362306a36Sopenharmony_ci return rtw_usb_probe(intf, id); 2462306a36Sopenharmony_ci} 2562306a36Sopenharmony_ci 2662306a36Sopenharmony_cistatic struct usb_driver rtw_8723du_driver = { 2762306a36Sopenharmony_ci .name = "rtw_8723du", 2862306a36Sopenharmony_ci .id_table = rtw_8723du_id_table, 2962306a36Sopenharmony_ci .probe = rtw8723du_probe, 3062306a36Sopenharmony_ci .disconnect = rtw_usb_disconnect, 3162306a36Sopenharmony_ci}; 3262306a36Sopenharmony_cimodule_usb_driver(rtw_8723du_driver); 3362306a36Sopenharmony_ci 3462306a36Sopenharmony_ciMODULE_AUTHOR("Hans Ulli Kroll <linux@ulli-kroll.de>"); 3562306a36Sopenharmony_ciMODULE_DESCRIPTION("Realtek 802.11n wireless 8723du driver"); 3662306a36Sopenharmony_ciMODULE_LICENSE("Dual BSD/GPL"); 37