Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F153432497
D35074.id105454.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
1 KB
Referenced Files
None
Subscribers
None
D35074.id105454.diff
View Options
Index: sys/dev/rtsx/rtsx.c
===================================================================
--- sys/dev/rtsx/rtsx.c
+++ sys/dev/rtsx/rtsx.c
@@ -3909,6 +3909,27 @@
DEFINE_CLASS_0(rtsx, rtsx_driver, rtsx_methods, sizeof(struct rtsx_softc));
DRIVER_MODULE(rtsx, pci, rtsx_driver, rtsx_devclass, NULL, NULL);
+
+/* For Plug and Play */
+static struct rtsx_pciids {
+ uint16_t device;
+ const char *desc;
+} rtsx_ids[] = {
+ { RTSX_RTS5209, "Realtek RTS5209 PCIe SD Card Reader" },
+ { RTSX_RTS5227, "Realtek RTS5227 PCIe SD Card Reader" },
+ { RTSX_RTS5229, "Realtek RTS5229 PCIe SD Card Reader" },
+ { RTSX_RTS522A, "Realtek RTS522A PCIe SD Card Reader" },
+ { RTSX_RTS525A, "Realtek RTS525A PCIe SD Card Reader" },
+ { RTSX_RTS5249, "Realtek RTS5249 PCIe SD Card Reader" },
+ { RTSX_RTS5260, "Realtek RTS5260 PCIe SD Card Reader" },
+ { RTSX_RTL8402, "Realtek RTL8402 PCIe SD Card Reader" },
+ { RTSX_RTL8411, "Realtek RTL8411 PCIe SD Card Reader" },
+ { RTSX_RTL8411B, "Realtek RTL8411B PCIe SD Card Reader" },
+};
+
+MODULE_PNP_INFO("U16:device;D:#;T:vendor=0x10ec", pci, rtsx,
+ rtsx_ids, nitems(rtsx_ids));
+
#ifndef MMCCAM
MMC_DECLARE_BRIDGE(rtsx);
#endif /* !MMCCAM */
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Wed, Apr 22, 3:36 AM (10 h, 37 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
31950960
Default Alt Text
D35074.id105454.diff (1 KB)
Attached To
Mode
D35074: Add MODULE_PNP_INFO() to rtsx
Attached
Detach File
Event Timeline
Log In to Comment