aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/rtsx
diff options
context:
space:
mode:
authorhlh-restart <hlh@restart.be>2022-03-19 16:37:24 +0000
committerAlexander Motin <mav@FreeBSD.org>2022-03-19 16:37:24 +0000
commit1b1bab0078a7bbeb575942c4706a2abcd71d6022 (patch)
treecf5843e6bf88c29803cb6bde65c6328f2eb890ac /sys/dev/rtsx
parent6ff3e8a3165ea580c184cfad8ebd7cffc17b0271 (diff)
Diffstat (limited to 'sys/dev/rtsx')
-rw-r--r--sys/dev/rtsx/rtsx.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/dev/rtsx/rtsx.c b/sys/dev/rtsx/rtsx.c
index dffdbd2ca094..466e6a864ca4 100644
--- a/sys/dev/rtsx/rtsx.c
+++ b/sys/dev/rtsx/rtsx.c
@@ -173,7 +173,7 @@ struct rtsx_softc {
#define RTSX_RTL8411 0x5289
#define RTSX_RTL8411B 0x5287
-#define RTSX_VERSION "2.1d"
+#define RTSX_VERSION "2.1e"
static const struct rtsx_device {
uint16_t vendor_id;
@@ -3822,6 +3822,8 @@ rtsx_resume(device_t dev)
{
device_printf(dev, "Resume\n");
+ rtsx_init(device_get_softc(dev));
+
bus_generic_resume(dev);
return (0);