On 18/10/2024 10:36, Ping-Ke Shih wrote: > Bitterblue Smith <rtl8821cerfe2@xxxxxxxxx> wrote: >> + >> +static const struct usb_device_id rtw_8821au_id_table[] = { >> + { USB_DEVICE_AND_INTERFACE_INFO(0x2357, 0x011e, 0xff, 0xff, 0xff), >> + .driver_info = (kernel_ulong_t)&(rtw8821a_hw_spec) }, > > Module description says "8821au/8811au", but only one device ID. Do they > share the same ID? > This one and 2604:0012 (RTL8812AU) were the devices I had when I started this work. Then I pushed the code to Larry Finger's github, where Larry and Nick Morrow added many other device IDs. I will send their patches after this series. >> + {}, >> +}; >> +MODULE_DEVICE_TABLE(usb, rtw_8821au_id_table); >> + >> +static struct usb_driver rtw_8821au_driver = { >> + .name = "rtw_8821au", >> + .id_table = rtw_8821au_id_table, >> + .probe = rtw_usb_probe, >> + .disconnect = rtw_usb_disconnect, >> +}; >> +module_usb_driver(rtw_8821au_driver); >> + >> +MODULE_AUTHOR("Bitterblue Smith <rtl8821cerfe2@xxxxxxxxx>"); >> +MODULE_DESCRIPTION("Realtek 802.11ac wireless 8821au/8811au driver"); >> +MODULE_LICENSE("Dual BSD/GPL"); >> -- >> 2.46.0 >