Received: by 2002:ac0:e350:0:0:0:0:0 with SMTP id g16csp2685702imn; Tue, 2 Aug 2022 12:05:16 -0700 (PDT) X-Google-Smtp-Source: AA6agR5A/h1d9oxQ+Nc1Tb1r5f72o1TLec3xuUF0t9xT+z/5Vz8bijeKn7dy/fd4yjhdmgKCuqS8 X-Received: by 2002:a05:6a00:8c8:b0:52c:887d:fa25 with SMTP id s8-20020a056a0008c800b0052c887dfa25mr22146447pfu.86.1659467116299; Tue, 02 Aug 2022 12:05:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1659467116; cv=none; d=google.com; s=arc-20160816; b=HFJfT93QYDZY8iu51knyA4Koc/q6f7Komd4Ggd31qcK8gj5Xqo8HXIYSXDvJC1v7Gt taptAdGEXviFohtw/Wucus50Ua2G1d3q0LW6ZP4RbHNd6NSlKgeDeZXmc4QtrTVs47Eo thcaVnXaOuLkublAKuJMF/hbYg7E5vxHU9UTFCwTYw1KhFe2q3b/uiqk+zax9INbnBse 9JoelYG1onLEa7DOM6xidOw4adML2W2l/zZtGR2SA1RcM+X817z1YK52uwYtEriIA63p 0idDX4pC6BwKoZm0fweoplUO8yqMxprqiZLw4jWyQkI5FA8hZS0tNeSFeHgng9Dig3Zp HLew== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=5XGKPAZehpjIbBHNoqFU/QMw0NFWXHGxjALKpRQuH/Q=; b=riK8gq/fFMimdvr9l8yrEurqGfviF9ymJRjtQyFnFZi7ikHoUaXGG5YCSN45q2WU40 WibbSahyTVNleE4olih1JKplWX2xYinsXrTNjtDxIMs/P0J6phQdn0anRv6J755ANuGt Aeb1Evw7byFiuzfgIaxyg+SPjdRcEF8pG4Mn5HHdB7tAtVj4zW/lcxGLPUTWd8k4aHV2 28qAuew40TmrbQV16hR0VDH1+PeEnYtUfRi/vhadEVXvpUa0kaiI+k99iPytuOx/u1un 9xIN4AQJSJSij8g0H6KtK8XvipibVcZhozzM0wLXLDKcE8VXV1hufRjZhrnVRej20i2p CJ4g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@philpotter-co-uk.20210112.gappssmtp.com header.s=20210112 header.b=3ZN8i5AI; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id h17-20020a170902f55100b0016d67ef8943si140623plf.187.2022.08.02.12.05.01; Tue, 02 Aug 2022 12:05:16 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@philpotter-co-uk.20210112.gappssmtp.com header.s=20210112 header.b=3ZN8i5AI; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230188AbiHBTDN (ORCPT + 99 others); Tue, 2 Aug 2022 15:03:13 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34968 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232373AbiHBTCs (ORCPT ); Tue, 2 Aug 2022 15:02:48 -0400 Received: from mail-ej1-x62f.google.com (mail-ej1-x62f.google.com [IPv6:2a00:1450:4864:20::62f]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 97E1F54640 for ; Tue, 2 Aug 2022 12:02:23 -0700 (PDT) Received: by mail-ej1-x62f.google.com with SMTP id m4so5772228ejr.3 for ; Tue, 02 Aug 2022 12:02:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=philpotter-co-uk.20210112.gappssmtp.com; s=20210112; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=5XGKPAZehpjIbBHNoqFU/QMw0NFWXHGxjALKpRQuH/Q=; b=3ZN8i5AIfRKO069Nl4yIu0bs6n64efLqeQGmt5KIIGfw9TyDf7YVvIirjzhVs6e5UN zzi56vDz4WA+E56LQsSqnbPAdaf+/kz2WSZ9HtvuzLxbKQDg7V94x8hdI/Qh1Mx75jhw 1aV49dQ/Ad2Ex2NQSekRllBzFNJCSEAadstPN6FPzwrsbSd5ScgTcqNQlWffUe3iO3mR a+lRihDvuNsHOCOPGQthnm0Xub07HuqR73zVbSL5qDXkzMYOrOVqWydoS71S6MGcUpHy FAcQIsLprR8HM7IEhaI+AjJSPne5LTH+/tnPEI0wbaIYmWWwxvLp2HMZIu+aL9bng1ng CKwQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=5XGKPAZehpjIbBHNoqFU/QMw0NFWXHGxjALKpRQuH/Q=; b=xRG881/2hvvPf2DlmjrcXbMG8n+7ij2uEySdnSJJB8uZcbdbSSG0ieToLDxkBCGGv8 0rHndpK1ujzs9WCmnJGyO8wIjwdGjwwhpWOV+JwyW33r6FBfsXMVikhrd44QdfJNMwtS mjLw9YtvBqK6v6mjFHj0deNzbyLvd7F80bT3A3BDLowZL9DC4xFqJXKjAWffkaoiecRy G3b6UTRef651D5yN1cuYWx0BfqAiWV3fWT0uRTF0BhRMP8GSYc1FfhVBJ+26oqSFtl2m iMENl1Pb68WHM8CQ1RmIqW40H0O6hpsCH0eW9qSqor5SwDnIRBNw3jTUFAaEbRKchA5m KivQ== X-Gm-Message-State: AJIora+neBDXAyX0ie6vN9Ujl2CKVVEAmPwX+SFgYjnRORmJAd5sWr1G tHInai9f2OE1hOTVHMXCRs5i6Q== X-Received: by 2002:a17:907:9803:b0:72e:ec55:b2a5 with SMTP id ji3-20020a170907980300b0072eec55b2a5mr17483035ejc.347.1659466942030; Tue, 02 Aug 2022 12:02:22 -0700 (PDT) Received: from OEMBP14.local (82-132-212-195.dab.02.net. [82.132.212.195]) by smtp.gmail.com with ESMTPSA id i28-20020a0564020f1c00b0043d5c9281a3sm5341500eda.96.2022.08.02.12.02.20 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 02 Aug 2022 12:02:21 -0700 (PDT) Date: Tue, 2 Aug 2022 20:02:18 +0100 From: Phillip Potter To: Grzegorz Szymaszek Cc: Greg KH , Grzegorz Szymaszek , linux-kernel@vger.kernel.org, linux-staging@lists.linux.dev, Larry.Finger@lwfinger.net Subject: Re: [PATCH] staging: r8188eu: add firmware dependency Message-ID: References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Aug 02, 2022 at 07:18:44PM +0200, Grzegorz Szymaszek wrote: > The old rtl8188eu module, removed in commit 55dfa29b43d2 ("staging: > rtl8188eu: remove rtl8188eu driver from staging dir") (Linux kernel > v5.15-rc1), required (through a MODULE_FIRMWARE call()) the > rtlwifi/rtl8188eufw.bin firmware file, which the new r8188eu driver no > longer requires. > > I have tested a few RTL8188EUS-based Wi-Fi cards and, while supported by > both drivers, they do not work when using the new one and the firmware > wasn't manually loaded. According to Larry Finger, the module > maintainer, all such cards need the firmware and the driver should > depend on it (see the linked mails). > > Add a proper MODULE_FIRMWARE() call, like it was done in the old driver. > > Thanks to Greg Kroah-Hartman and Larry Finger for quick responses to my > questions. > > Link: https://answers.launchpad.net/ubuntu/+source/linux-meta-hwe-5.15/+question/702611 > Link: https://lore.kernel.org/lkml/YukkBu3TNODO3or9@nx64de-df6d00/ > Signed-off-by: Grzegorz Szymaszek > --- > drivers/staging/r8188eu/os_dep/os_intfs.c | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/drivers/staging/r8188eu/os_dep/os_intfs.c b/drivers/staging/r8188eu/os_dep/os_intfs.c > index 891c85b088ca..5bd3022e4b40 100644 > --- a/drivers/staging/r8188eu/os_dep/os_intfs.c > +++ b/drivers/staging/r8188eu/os_dep/os_intfs.c > @@ -18,6 +18,7 @@ MODULE_LICENSE("GPL"); > MODULE_DESCRIPTION("Realtek Wireless Lan Driver"); > MODULE_AUTHOR("Realtek Semiconductor Corp."); > MODULE_VERSION(DRIVERVERSION); > +MODULE_FIRMWARE("rtlwifi/rtl8188eufw.bin"); > > #define CONFIG_BR_EXT_BRNAME "br0" > #define RTW_NOTCH_FILTER 0 /* 0:Disable, 1:Enable, */ > -- > 2.35.1 Acked-by: Phillip Potter Thanks for the patch :-) Regards, Phil