From nobody Sun Apr 26 10:50:32 2026 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 35A2FC43334 for ; Mon, 4 Jul 2022 18:20:38 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232441AbiGDSUf (ORCPT ); Mon, 4 Jul 2022 14:20:35 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34850 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231465AbiGDSUe (ORCPT ); Mon, 4 Jul 2022 14:20:34 -0400 Received: from mail-ed1-x52e.google.com (mail-ed1-x52e.google.com [IPv6:2a00:1450:4864:20::52e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 94BC3397 for ; Mon, 4 Jul 2022 11:20:33 -0700 (PDT) Received: by mail-ed1-x52e.google.com with SMTP id y8so6875492eda.3 for ; Mon, 04 Jul 2022 11:20:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=date:from:to:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=piuVSP6b5EJfk61/T0TEns1FkUnGG9mIS4f5KM3XE7Y=; b=cVjeFfGZhlxVaqLuhUs2603WjD5WkcyxPJ8pbE5wuEp5iCZeK3fq8aYAGdwrfcJRhb 1EVhubr0tj95pgAW0Kg/Jr5561Oe0+XEHUUgWanPU72657jxiJvJxDybTh8S4NazxokO Ah/8zaNPcfS+dvG9toO+s5OzY318XqWVlIHSVjNUym94/zcqsdPYZWF0YA1zTkGuw7Zu PULIU0I01UBZGlUJybRvXvagvkzne6sVXbIOEb0ngww6tJflsUUvWSd17tMVJIPNoKxJ UmzvM4NYw5DsYoGigY/pU4+NedqGWKzUcIPRNoLnNqgthJfWfdwhJY5aIPKYDTeEuSZ5 E7xw== 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:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=piuVSP6b5EJfk61/T0TEns1FkUnGG9mIS4f5KM3XE7Y=; b=JSg1LwzBsI73p2hpYp5Adso47cCttI3OuPWpzY4p0nSiUonNRV2+tKoNrJ4euiLt5+ P3JZQcsxe1rPtsKVtaqkrZDmDJKOfMY3ybVblQCPDWweRwSTrLjQNBuG887rMzdVoitU kAO4Uh8zA9fIHHEojtNn945u674a6sNbewPEZxvxg9YH4sVb82OU8NLDFOEGIWQkzFAQ z1s1lvD9oSkSj25rIt2JagHDZ2FLRHwvsmJnsVMWptxKpUw8e2/4gk0JVllJaveRUsFS MGO+Z1PwMhLhbE7Fk12AW3MyokLh5BPigDyP/A9Yj+ebfajVDEKaBp/EW3iTMuJo1jhz GUWA== X-Gm-Message-State: AJIora9Eh0CaC3EN6JFuWLjpvMJk3jkFqUxKwRbTihjokMcmvRVwkq6E VixqnB0+Z4/b7o1DfuPPTzY= X-Google-Smtp-Source: AGRyM1uKzCKoKK/k/hM8LIo0vM94XycjFQmtEPjv9a32FT2wyza56ObWZ/RnEBDPncySe927lYaB9w== X-Received: by 2002:aa7:d7c4:0:b0:435:6a5b:b02f with SMTP id e4-20020aa7d7c4000000b004356a5bb02fmr41012117eds.365.1656958832206; Mon, 04 Jul 2022 11:20:32 -0700 (PDT) Received: from matrix-ESPRIMO-P710 (p54a07b82.dip0.t-ipconnect.de. [84.160.123.130]) by smtp.gmail.com with ESMTPSA id u17-20020a056402111100b0043a6e807febsm1241753edv.46.2022.07.04.11.20.31 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 04 Jul 2022 11:20:31 -0700 (PDT) Date: Mon, 4 Jul 2022 20:20:27 +0200 From: Philipp Hortmann To: Forest Bond , Greg Kroah-Hartman , linux-staging@lists.linux.dev, linux-kernel@vger.kernel.org Subject: [PATCH 1/6] staging: vt6655: Rename pbyEtherAddr to mac_addr Message-ID: References: MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Fix name of a variable in two macros that use CamelCase which is not accepted by checkpatch.pl Signed-off-by: Philipp Hortmann --- drivers/staging/vt6655/mac.h | 28 ++++++++++++++-------------- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/drivers/staging/vt6655/mac.h b/drivers/staging/vt6655/mac.h index 102e575c965d..541c6ed6a62f 100644 --- a/drivers/staging/vt6655/mac.h +++ b/drivers/staging/vt6655/mac.h @@ -565,27 +565,27 @@ do { \ iowrite16(wData & ~(wBits), iobase + byRegOfs); \ } while (0) =20 -#define MACvWriteBSSIDAddress(iobase, pbyEtherAddr) \ +#define MACvWriteBSSIDAddress(iobase, mac_addr) \ do { \ iowrite8(1, iobase + MAC_REG_PAGE1SEL); \ - iowrite8(pbyEtherAddr[0], iobase + MAC_REG_BSSID0); \ - iowrite8(pbyEtherAddr[1], iobase + MAC_REG_BSSID0 + 1); \ - iowrite8(pbyEtherAddr[2], iobase + MAC_REG_BSSID0 + 2); \ - iowrite8(pbyEtherAddr[3], iobase + MAC_REG_BSSID0 + 3); \ - iowrite8(pbyEtherAddr[4], iobase + MAC_REG_BSSID0 + 4); \ - iowrite8(pbyEtherAddr[5], iobase + MAC_REG_BSSID0 + 5); \ + iowrite8(mac_addr[0], iobase + MAC_REG_BSSID0); \ + iowrite8(mac_addr[1], iobase + MAC_REG_BSSID0 + 1); \ + iowrite8(mac_addr[2], iobase + MAC_REG_BSSID0 + 2); \ + iowrite8(mac_addr[3], iobase + MAC_REG_BSSID0 + 3); \ + iowrite8(mac_addr[4], iobase + MAC_REG_BSSID0 + 4); \ + iowrite8(mac_addr[5], iobase + MAC_REG_BSSID0 + 5); \ iowrite8(0, iobase + MAC_REG_PAGE1SEL); \ } while (0) =20 -#define MACvReadEtherAddress(iobase, pbyEtherAddr) \ +#define MACvReadEtherAddress(iobase, mac_addr) \ do { \ iowrite8(1, iobase + MAC_REG_PAGE1SEL); \ - pbyEtherAddr[0] =3D ioread8(iobase + MAC_REG_PAR0); \ - pbyEtherAddr[1] =3D ioread8(iobase + MAC_REG_PAR0 + 1); \ - pbyEtherAddr[2] =3D ioread8(iobase + MAC_REG_PAR0 + 2); \ - pbyEtherAddr[3] =3D ioread8(iobase + MAC_REG_PAR0 + 3); \ - pbyEtherAddr[4] =3D ioread8(iobase + MAC_REG_PAR0 + 4); \ - pbyEtherAddr[5] =3D ioread8(iobase + MAC_REG_PAR0 + 5); \ + mac_addr[0] =3D ioread8(iobase + MAC_REG_PAR0); \ + mac_addr[1] =3D ioread8(iobase + MAC_REG_PAR0 + 1); \ + mac_addr[2] =3D ioread8(iobase + MAC_REG_PAR0 + 2); \ + mac_addr[3] =3D ioread8(iobase + MAC_REG_PAR0 + 3); \ + mac_addr[4] =3D ioread8(iobase + MAC_REG_PAR0 + 4); \ + mac_addr[5] =3D ioread8(iobase + MAC_REG_PAR0 + 5); \ iowrite8(0, iobase + MAC_REG_PAGE1SEL); \ } while (0) =20 --=20 2.36.1 From nobody Sun Apr 26 10:50:32 2026 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id AB068C43334 for ; Mon, 4 Jul 2022 18:20:46 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233120AbiGDSUp (ORCPT ); Mon, 4 Jul 2022 14:20:45 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35090 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233550AbiGDSUl (ORCPT ); Mon, 4 Jul 2022 14:20:41 -0400 Received: from mail-ej1-x634.google.com (mail-ej1-x634.google.com [IPv6:2a00:1450:4864:20::634]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D62BF1147C for ; Mon, 4 Jul 2022 11:20:38 -0700 (PDT) Received: by mail-ej1-x634.google.com with SMTP id d2so18030120ejy.1 for ; Mon, 04 Jul 2022 11:20:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=date:from:to:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=PCZv/Uz95M1+6hqmuzHaDR2ZyBz0Tq19f4wHlGSIGnI=; b=lm9xRjzd/xI2zC28SFIXFHNwsjb9oo6bLwYpKi4rVA9kfgHzZf7piE8NloO5C7gaJt +QkXKALaJ18nWtTKSN7oO82UinX0zDCZ/QJg3KUgNO9/1r/Yd9ETiE55vjQl1ZtYNS/z Vyl/rLL57gV6gcITiyF22SSb6C3RaJB9m36GYTR7sNzH6o2TCItJJcLQF7XPznEDaOl1 HLsER6XYz6YNeRPi3uXWwd/NItdsSFgO0FnXJe6LmluWLYpEi+oc62swDNd13EZImrDt ZmHQObJs8Sxs53+JscMMeKT3x0DHY1DGM3maVcpsDxHUHZtHcx/9GdaCOj/rDrSIHCko ARog== 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:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=PCZv/Uz95M1+6hqmuzHaDR2ZyBz0Tq19f4wHlGSIGnI=; b=BrRIuMfvUbP/s6sWFNMHg5/Bvvi1DdFtMgrc3OARrCB0bRJ/SxYS9I3oXGKUg1exle hrwKzOY1ghKESWDvY7yYP/areKI+IHJSs+DGjdQzPKuVQpbot3JQyiShZsSru+4Th+pY MGwPEf/7kk9h+U44tbFwdoYjl6W4TwJgZV8znLruofv8/eCRRGdmyoaljVWnMBkV8S0j otgytVislzBzuri6UOxLh/icZvPFxLK0JN76sIZkMspzTYVnYkeB9zwWZ22VwK0LLSVi U2EHGM3LH7zzBH67pK1pYiScyu6FwppHvbw0NRqgqmTeIjc574i9QEVRS6R56t275R4B 36HQ== X-Gm-Message-State: AJIora+w8Z2bfAVqCJNZk+7ovyO+cJRT6/REsadxaSXxpPZ9sWH6OiUv 3iIdhnw15BMTJKtr7wkZ3Yk= X-Google-Smtp-Source: AGRyM1vR5ZgP4WOaEMq0OOqsLpBzxz7sNYRDMgS7w5DXyXW/+9DVFDs1SOqYguaN1V+hwREwL9LxZg== X-Received: by 2002:a17:907:c14:b0:726:9118:3326 with SMTP id ga20-20020a1709070c1400b0072691183326mr30271442ejc.68.1656958837153; Mon, 04 Jul 2022 11:20:37 -0700 (PDT) Received: from matrix-ESPRIMO-P710 (p54a07b82.dip0.t-ipconnect.de. [84.160.123.130]) by smtp.gmail.com with ESMTPSA id x21-20020aa7dad5000000b0043a2338ca10sm3751896eds.92.2022.07.04.11.20.36 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 04 Jul 2022 11:20:36 -0700 (PDT) Date: Mon, 4 Jul 2022 20:20:35 +0200 From: Philipp Hortmann To: Forest Bond , Greg Kroah-Hartman , linux-staging@lists.linux.dev, linux-kernel@vger.kernel.org Subject: [PATCH 2/6] staging: vt6655: Rename MACvWriteBSSIDAddress Message-ID: <1190d93181409679f9ae348a95ea269b48b1115c.1656835310.git.philipp.g.hortmann@gmail.com> References: MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Fix name of a macro that uses CamelCase which is not accepted by checkpatch.pl Signed-off-by: Philipp Hortmann --- drivers/staging/vt6655/device_main.c | 2 +- drivers/staging/vt6655/mac.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/staging/vt6655/device_main.c b/drivers/staging/vt6655/= device_main.c index 204994692c90..6cf21883d1fe 100644 --- a/drivers/staging/vt6655/device_main.c +++ b/drivers/staging/vt6655/device_main.c @@ -1405,7 +1405,7 @@ static void vnt_bss_info_changed(struct ieee80211_hw = *hw, =20 spin_lock_irqsave(&priv->lock, flags); =20 - MACvWriteBSSIDAddress(priv->port_offset, conf->bssid); + vt6655_mac_write_bssid_addr(priv->port_offset, conf->bssid); =20 spin_unlock_irqrestore(&priv->lock, flags); } diff --git a/drivers/staging/vt6655/mac.h b/drivers/staging/vt6655/mac.h index 541c6ed6a62f..cfebd126e42f 100644 --- a/drivers/staging/vt6655/mac.h +++ b/drivers/staging/vt6655/mac.h @@ -565,7 +565,7 @@ do { \ iowrite16(wData & ~(wBits), iobase + byRegOfs); \ } while (0) =20 -#define MACvWriteBSSIDAddress(iobase, mac_addr) \ +#define vt6655_mac_write_bssid_addr(iobase, mac_addr) \ do { \ iowrite8(1, iobase + MAC_REG_PAGE1SEL); \ iowrite8(mac_addr[0], iobase + MAC_REG_BSSID0); \ --=20 2.36.1 From nobody Sun Apr 26 10:50:32 2026 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 91CECC433EF for ; Mon, 4 Jul 2022 18:21:00 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233644AbiGDSU6 (ORCPT ); Mon, 4 Jul 2022 14:20:58 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34982 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233628AbiGDSUx (ORCPT ); Mon, 4 Jul 2022 14:20:53 -0400 Received: from mail-ej1-x62d.google.com (mail-ej1-x62d.google.com [IPv6:2a00:1450:4864:20::62d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id AC8D5397 for ; Mon, 4 Jul 2022 11:20:51 -0700 (PDT) Received: by mail-ej1-x62d.google.com with SMTP id lw20so18004984ejb.4 for ; Mon, 04 Jul 2022 11:20:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=date:from:to:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=j/4mrpFh2VC3VcVrJHlOYXFL5VgTeC9Ovzmvx1towKw=; b=VEcDxqNRwQ18kFq8J9qG8BH10PMPS98sEiIlM1yHXXSc65M1DzkaxpssEVqG7QZAT+ 1T0+z1wduMLTcAa81FsyITnrTxjf3E0JCJ+BxlgC/spH/NaOnLVmivxSz8srPxGpZwTP c6IC92aH04uxU5rm+MmaE/LVDrqHTgKZVnflBLopeEpSOLTppJkdlCp/qUK4YykROr+G mdaB3KslpCDwB9lBoUC79dPtqA5v/WKQ6OQi4THKnhOJ9IUlM01PoPeflzwrZN4s66DG fMbZWIkzTA3Kr02DpzBYz0ySnFvokQ6lBXOlrxceYJdwMeO+V8GCm1yzCtKQkc1pGH7g rv5g== 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:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=j/4mrpFh2VC3VcVrJHlOYXFL5VgTeC9Ovzmvx1towKw=; b=f4EiZVcUZ32XlpZXGM23G9G6rk8fsoHHI7jIJxi/4GWk11WSvtzbv9IRjg9eG6fAUc 1HGpgVvRQUTpqQkAKmTvHp9qBDAZ6IBoauAjUzpkEI690naGFHSE2lVXsYmJi5crxWg9 zA5X6GNlh/TqBCoKPddvyxWveOBLA1dXWvBoqJMa8yVM4sSjre+XEzZsoiIHAhvNb/ez 7RWo1FCtakMRtWKuredC+JBGyk678pRGEARq2UDIOfhTvpymY25MJjX72F5uCc1T2weH 9fRL/nV/0hhzT2qiZzG3Tr3v4nskxbH1sYWGmiB5nCOfPlwk39WOeVKD029hyDSd+c+c agsg== X-Gm-Message-State: AJIora/RhOO6cZ5djqDX/DZBFtFl5ftak+HjUGaCj/AMKTM1szdr5Q9f d22LXyoIIOID/UzeYcI6bcY= X-Google-Smtp-Source: AGRyM1tXqNG/QRjwS0/M/cdpKxCw5lRc8L7RzqHNeXMOhLVnRT0BCKC/UmxpWaFqjkichXX6AK6hJg== X-Received: by 2002:a17:906:54c3:b0:6ef:d07b:c8ec with SMTP id c3-20020a17090654c300b006efd07bc8ecmr28840942ejp.687.1656958850201; Mon, 04 Jul 2022 11:20:50 -0700 (PDT) Received: from matrix-ESPRIMO-P710 (p54a07b82.dip0.t-ipconnect.de. [84.160.123.130]) by smtp.gmail.com with ESMTPSA id fg8-20020a056402548800b0043a3f52418asm3153435edb.18.2022.07.04.11.20.49 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 04 Jul 2022 11:20:49 -0700 (PDT) Date: Mon, 4 Jul 2022 20:20:39 +0200 From: Philipp Hortmann To: Forest Bond , Greg Kroah-Hartman , linux-staging@lists.linux.dev, linux-kernel@vger.kernel.org Subject: [PATCH 3/6] staging: vt6655: Rename MACvReadEtherAddress Message-ID: <3714f7cd3425e0ef0a3df0cc291131cdb85a3796.1656835310.git.philipp.g.hortmann@gmail.com> References: MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Fix name of a macro that uses CamelCase which is not accepted by checkpatch.pl Signed-off-by: Philipp Hortmann --- drivers/staging/vt6655/device_main.c | 2 +- drivers/staging/vt6655/mac.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/staging/vt6655/device_main.c b/drivers/staging/vt6655/= device_main.c index 6cf21883d1fe..b9c57c661729 100644 --- a/drivers/staging/vt6655/device_main.c +++ b/drivers/staging/vt6655/device_main.c @@ -1722,7 +1722,7 @@ vt6655_probe(struct pci_dev *pcid, const struct pci_d= evice_id *ent) } /* initial to reload eeprom */ MACvInitialize(priv); - MACvReadEtherAddress(priv->port_offset, priv->abyCurrentNetAddr); + vt6655_mac_read_ether_addr(priv->port_offset, priv->abyCurrentNetAddr); =20 /* Get RFType */ priv->byRFType =3D SROMbyReadEmbedded(priv->port_offset, EEP_OFS_RFTYPE); diff --git a/drivers/staging/vt6655/mac.h b/drivers/staging/vt6655/mac.h index cfebd126e42f..ba5575d63db0 100644 --- a/drivers/staging/vt6655/mac.h +++ b/drivers/staging/vt6655/mac.h @@ -577,7 +577,7 @@ do { \ iowrite8(0, iobase + MAC_REG_PAGE1SEL); \ } while (0) =20 -#define MACvReadEtherAddress(iobase, mac_addr) \ +#define vt6655_mac_read_ether_addr(iobase, mac_addr) \ do { \ iowrite8(1, iobase + MAC_REG_PAGE1SEL); \ mac_addr[0] =3D ioread8(iobase + MAC_REG_PAR0); \ --=20 2.36.1 From nobody Sun Apr 26 10:50:32 2026 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 1CAE7C43334 for ; Mon, 4 Jul 2022 18:21:07 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230349AbiGDSVF (ORCPT ); Mon, 4 Jul 2022 14:21:05 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35480 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233330AbiGDSU5 (ORCPT ); Mon, 4 Jul 2022 14:20:57 -0400 Received: from mail-ej1-x62e.google.com (mail-ej1-x62e.google.com [IPv6:2a00:1450:4864:20::62e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 430E71116B for ; Mon, 4 Jul 2022 11:20:56 -0700 (PDT) Received: by mail-ej1-x62e.google.com with SMTP id ay16so17991688ejb.6 for ; Mon, 04 Jul 2022 11:20:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=date:from:to:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=5OTZ4uw8lP1p7LG9iv9MKnQLM3+c/cw5QVC+6xGSWr4=; b=EIwG31iT5+PmN9mt3edUWdfHdIL8NOAEM9Jo8GBzW5+Qv1+JKSdy/RVkI8thiRKHiJ YaXj/xCRlKnuov+wII/GE8lqaDm9iG7cKVYwQ0dDtHyPcWq5zmP4H5IgmHAZZXomtKkx whHobIw+uw2NzS8Wo94LklNq+PbYwkg9Domn8Y8hgdhYrCX1VMna7SMhoEMqth0YnxgY OD6m7Y5rreO3jc4F21SfiaW9aHdjeJFDYojEfGsMqswEGUh9YvC+ocpu4nLqBVJQN2FG aW2Jv15+LBe4RvBjNcDVFYBkI9rSRAhnY4y8klCK8ek0KNjtv5FypKo3A5sKapGT4Xsg B/uA== 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:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=5OTZ4uw8lP1p7LG9iv9MKnQLM3+c/cw5QVC+6xGSWr4=; b=AOUylwsdwrH8PrQJ1Ltb1+uXWrOUkhgbDbvf3IVsoQbIJpFiUw55cdpQq+0XR2vTr3 WF179y4btXQNgUSd77m56Rm68GhzIk9pFiiqgY//gFA56WkBHsKLbuvaB6w7MSQIijPt 7eMw6wo5CuVLgXo9+y8KeIBW5aiGkAs8bvZ3nF1XKulWFX4aKFOuKtOt2rup9mKGG3IA VDjl4rezFMwfOhc2XdWUJgU2indyhsa5yTTKqWXEN/IyKTW4de4X7/NfmLOxOlJExhJt 6qACXf3xTYpr4DJ/Q//w7CZVktW0+OhxIXASUgyrfjUOl0mnboxyeebfbdfr4NisgL2n WKIA== X-Gm-Message-State: AJIora9zad1qLB6jzBKb1B90IsPNlZYdQTDh5URM4HzORPNv5BRMuomT hUx5KhuQgyIdohxM5P9cu1k= X-Google-Smtp-Source: AGRyM1vSz8ftxEJHINMk3Wvu4/jLLDTv0l1zjbed1KO0VeWSNlIshc/w0z7KavBSQBTnugLblvj5jg== X-Received: by 2002:a17:906:7790:b0:722:e6cf:126 with SMTP id s16-20020a170906779000b00722e6cf0126mr29245525ejm.244.1656958854768; Mon, 04 Jul 2022 11:20:54 -0700 (PDT) Received: from matrix-ESPRIMO-P710 (p54a07b82.dip0.t-ipconnect.de. [84.160.123.130]) by smtp.gmail.com with ESMTPSA id zj4-20020a170907338400b00726ef422b80sm8428296ejb.177.2022.07.04.11.20.53 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 04 Jul 2022 11:20:54 -0700 (PDT) Date: Mon, 4 Jul 2022 20:20:52 +0200 From: Philipp Hortmann To: Forest Bond , Greg Kroah-Hartman , linux-staging@lists.linux.dev, linux-kernel@vger.kernel.org Subject: [PATCH 4/6] staging: vt6655: Move two macros to file where those are used Message-ID: References: MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Move two multiline macros to file of only useage to convert them later to static functions. checkpatch.pl does not accept multiline macros. Signed-off-by: Philipp Hortmann --- drivers/staging/vt6655/device_main.c | 24 ++++++++++++++++++++++++ drivers/staging/vt6655/mac.h | 24 ------------------------ 2 files changed, 24 insertions(+), 24 deletions(-) diff --git a/drivers/staging/vt6655/device_main.c b/drivers/staging/vt6655/= device_main.c index b9c57c661729..fdb653071918 100644 --- a/drivers/staging/vt6655/device_main.c +++ b/drivers/staging/vt6655/device_main.c @@ -186,6 +186,30 @@ device_set_options(struct vnt_private *priv) pr_debug(" byBBType=3D %d\n", (int)priv->byBBType); } =20 +#define vt6655_mac_write_bssid_addr(iobase, mac_addr) \ +do { \ + iowrite8(1, iobase + MAC_REG_PAGE1SEL); \ + iowrite8(mac_addr[0], iobase + MAC_REG_BSSID0); \ + iowrite8(mac_addr[1], iobase + MAC_REG_BSSID0 + 1); \ + iowrite8(mac_addr[2], iobase + MAC_REG_BSSID0 + 2); \ + iowrite8(mac_addr[3], iobase + MAC_REG_BSSID0 + 3); \ + iowrite8(mac_addr[4], iobase + MAC_REG_BSSID0 + 4); \ + iowrite8(mac_addr[5], iobase + MAC_REG_BSSID0 + 5); \ + iowrite8(0, iobase + MAC_REG_PAGE1SEL); \ +} while (0) + +#define vt6655_mac_read_ether_addr(iobase, mac_addr) \ +do { \ + iowrite8(1, iobase + MAC_REG_PAGE1SEL); \ + mac_addr[0] =3D ioread8(iobase + MAC_REG_PAR0); \ + mac_addr[1] =3D ioread8(iobase + MAC_REG_PAR0 + 1); \ + mac_addr[2] =3D ioread8(iobase + MAC_REG_PAR0 + 2); \ + mac_addr[3] =3D ioread8(iobase + MAC_REG_PAR0 + 3); \ + mac_addr[4] =3D ioread8(iobase + MAC_REG_PAR0 + 4); \ + mac_addr[5] =3D ioread8(iobase + MAC_REG_PAR0 + 5); \ + iowrite8(0, iobase + MAC_REG_PAGE1SEL); \ +} while (0) + /* * Initialisation of MAC & BBP registers */ diff --git a/drivers/staging/vt6655/mac.h b/drivers/staging/vt6655/mac.h index ba5575d63db0..5c14a76ed799 100644 --- a/drivers/staging/vt6655/mac.h +++ b/drivers/staging/vt6655/mac.h @@ -565,30 +565,6 @@ do { \ iowrite16(wData & ~(wBits), iobase + byRegOfs); \ } while (0) =20 -#define vt6655_mac_write_bssid_addr(iobase, mac_addr) \ -do { \ - iowrite8(1, iobase + MAC_REG_PAGE1SEL); \ - iowrite8(mac_addr[0], iobase + MAC_REG_BSSID0); \ - iowrite8(mac_addr[1], iobase + MAC_REG_BSSID0 + 1); \ - iowrite8(mac_addr[2], iobase + MAC_REG_BSSID0 + 2); \ - iowrite8(mac_addr[3], iobase + MAC_REG_BSSID0 + 3); \ - iowrite8(mac_addr[4], iobase + MAC_REG_BSSID0 + 4); \ - iowrite8(mac_addr[5], iobase + MAC_REG_BSSID0 + 5); \ - iowrite8(0, iobase + MAC_REG_PAGE1SEL); \ -} while (0) - -#define vt6655_mac_read_ether_addr(iobase, mac_addr) \ -do { \ - iowrite8(1, iobase + MAC_REG_PAGE1SEL); \ - mac_addr[0] =3D ioread8(iobase + MAC_REG_PAR0); \ - mac_addr[1] =3D ioread8(iobase + MAC_REG_PAR0 + 1); \ - mac_addr[2] =3D ioread8(iobase + MAC_REG_PAR0 + 2); \ - mac_addr[3] =3D ioread8(iobase + MAC_REG_PAR0 + 3); \ - mac_addr[4] =3D ioread8(iobase + MAC_REG_PAR0 + 4); \ - mac_addr[5] =3D ioread8(iobase + MAC_REG_PAR0 + 5); \ - iowrite8(0, iobase + MAC_REG_PAGE1SEL); \ -} while (0) - #define MACvReceive0(iobase) \ do { \ unsigned long dwData; \ --=20 2.36.1 From nobody Sun Apr 26 10:50:32 2026 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id D9C2EC43334 for ; Mon, 4 Jul 2022 18:21:15 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233326AbiGDSVM (ORCPT ); Mon, 4 Jul 2022 14:21:12 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35792 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233375AbiGDSVI (ORCPT ); Mon, 4 Jul 2022 14:21:08 -0400 Received: from mail-ej1-x62e.google.com (mail-ej1-x62e.google.com [IPv6:2a00:1450:4864:20::62e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C136D1146D for ; Mon, 4 Jul 2022 11:21:06 -0700 (PDT) Received: by mail-ej1-x62e.google.com with SMTP id ay16so17992356ejb.6 for ; Mon, 04 Jul 2022 11:21:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=date:from:to:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=9A6wPP/Y//CXYJtxQs8Hsds391x1hM4igQ2mocLqrek=; b=i4CLbmgl90VzwHTsq8uaP/EoCwoaD1hZ+YPpjMFwJ5TzaEBvx5+EQ55I9bbC3JuIbL 5yJ4FDOJCd0nNEvE+ubbl3yCzJq0QHbF5dg4Lq1FrPowF6phIYfeNucqkThmlYSg55Yc L0frm+vXsKco7ji1abMH/pW+MHtmogDnEiUl5tjhW+WwUI5Ejo18X8hXD5cb85KPkaKL VuXlCItoDbmIAA60lNn1urGuyBrrqzTVii5gexpnSgzd9gSPBik27kAUJKLGx/+pFx14 OghGaWFiDmMwYgWQEmjdOg8DY5+wFcr8bi07YPfMYH9ltlRSaP6DesE8A2h7a7jekKYl cPLw== 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:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=9A6wPP/Y//CXYJtxQs8Hsds391x1hM4igQ2mocLqrek=; b=vIP71xVHnyr02IVJzstqPx+rek0ecHDCOBIirkKasn9onshaDNS2dFuOOPw3rgpmbF l3hzbim/YQbi+7WuyFyH7Htj+MpcXpCsQu1fMGf+c/3FjQEwZKZfWMfSrwHu2gRgUmlo PQkdhZLWZ7qnDlNSslgucygCqx02/pXeJoJrl1q/Fpi9cq+uEJMMDMu08Fyq5HV31rME zPwV8oeIRlW9a8ZFilfDsLitZB0hZjZOgnyKpFxWQC7unEYXU6DBHJyi7y+3aCEBfnMU /Ip6vc5J0tkJQkTfeA/m1dCgEtu2b5HaqAdBYvD4ENl43BWYF3iOhZtNWsOLtaPUWMIb csmw== X-Gm-Message-State: AJIora8ARuYn1XludOVAmvlYBCz2SEV0hfVnL9ZnO1v4HbRInPpvYQ8v YYzdMFziJqW60ukG/i2ijBc= X-Google-Smtp-Source: AGRyM1u+qh7py3nrb75GEAi2vvjJPq6SLI4xpY194/KWWXF7jJ9fqZIS/WUYA+6LTHTd7+1dAizoaw== X-Received: by 2002:a17:906:3899:b0:715:9fb4:bd28 with SMTP id q25-20020a170906389900b007159fb4bd28mr29062978ejd.97.1656958866415; Mon, 04 Jul 2022 11:21:06 -0700 (PDT) Received: from matrix-ESPRIMO-P710 (p54a07b82.dip0.t-ipconnect.de. [84.160.123.130]) by smtp.gmail.com with ESMTPSA id t13-20020a056402020d00b0043a71775903sm700493edv.39.2022.07.04.11.21.05 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 04 Jul 2022 11:21:06 -0700 (PDT) Date: Mon, 4 Jul 2022 20:20:57 +0200 From: Philipp Hortmann To: Forest Bond , Greg Kroah-Hartman , linux-staging@lists.linux.dev, linux-kernel@vger.kernel.org Subject: [PATCH 5/6] staging: vt6655: Convert macro vt6655_mac_write_bssid_addr to function Message-ID: References: MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Convert macro vt6655_mac_write_bssid_addr to static function. checkpatch.pl does not accept multiline macros. Signed-off-by: Philipp Hortmann --- drivers/staging/vt6655/device_main.c | 24 +++++++++++++----------- 1 file changed, 13 insertions(+), 11 deletions(-) diff --git a/drivers/staging/vt6655/device_main.c b/drivers/staging/vt6655/= device_main.c index fdb653071918..025a53b493d3 100644 --- a/drivers/staging/vt6655/device_main.c +++ b/drivers/staging/vt6655/device_main.c @@ -122,6 +122,8 @@ static int vt6655_probe(struct pci_dev *pcid, const st= ruct pci_device_id *ent); static void device_free_info(struct vnt_private *priv); static void device_print_info(struct vnt_private *priv); =20 +static void vt6655_mac_write_bssid_addr(void __iomem *iobase, const u8 *ma= c_addr); + static int device_init_rd0_ring(struct vnt_private *priv); static int device_init_rd1_ring(struct vnt_private *priv); static int device_init_td0_ring(struct vnt_private *priv); @@ -186,17 +188,17 @@ device_set_options(struct vnt_private *priv) pr_debug(" byBBType=3D %d\n", (int)priv->byBBType); } =20 -#define vt6655_mac_write_bssid_addr(iobase, mac_addr) \ -do { \ - iowrite8(1, iobase + MAC_REG_PAGE1SEL); \ - iowrite8(mac_addr[0], iobase + MAC_REG_BSSID0); \ - iowrite8(mac_addr[1], iobase + MAC_REG_BSSID0 + 1); \ - iowrite8(mac_addr[2], iobase + MAC_REG_BSSID0 + 2); \ - iowrite8(mac_addr[3], iobase + MAC_REG_BSSID0 + 3); \ - iowrite8(mac_addr[4], iobase + MAC_REG_BSSID0 + 4); \ - iowrite8(mac_addr[5], iobase + MAC_REG_BSSID0 + 5); \ - iowrite8(0, iobase + MAC_REG_PAGE1SEL); \ -} while (0) +static void vt6655_mac_write_bssid_addr(void __iomem *iobase, const u8 *ma= c_addr) +{ + iowrite8(1, iobase + MAC_REG_PAGE1SEL); + iowrite8(mac_addr[0], iobase + MAC_REG_BSSID0); + iowrite8(mac_addr[1], iobase + MAC_REG_BSSID0 + 1); + iowrite8(mac_addr[2], iobase + MAC_REG_BSSID0 + 2); + iowrite8(mac_addr[3], iobase + MAC_REG_BSSID0 + 3); + iowrite8(mac_addr[4], iobase + MAC_REG_BSSID0 + 4); + iowrite8(mac_addr[5], iobase + MAC_REG_BSSID0 + 5); + iowrite8(0, iobase + MAC_REG_PAGE1SEL); +} =20 #define vt6655_mac_read_ether_addr(iobase, mac_addr) \ do { \ --=20 2.36.1 From nobody Sun Apr 26 10:50:32 2026 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id C986CC433EF for ; Mon, 4 Jul 2022 18:21:25 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233985AbiGDSVX (ORCPT ); Mon, 4 Jul 2022 14:21:23 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35852 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233964AbiGDSVP (ORCPT ); Mon, 4 Jul 2022 14:21:15 -0400 Received: from mail-ed1-x533.google.com (mail-ed1-x533.google.com [IPv6:2a00:1450:4864:20::533]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D701D1146D for ; Mon, 4 Jul 2022 11:21:14 -0700 (PDT) Received: by mail-ed1-x533.google.com with SMTP id y8so6877331eda.3 for ; Mon, 04 Jul 2022 11:21:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=date:from:to:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=yRa0b2lHkl6grPBOgdI9i8N3apwm433ugj3fMKkyrCs=; b=fSQLvJyzlvpnzhnTI2Ak9Sv7ottO1qVYdA2ySP09FIwax4aP+tqPPa9rbbMIAioQm+ jE+LY3fs00b53z6cAnEehmUPNJap5IchdfjkVvpMwBCgibdydF01naAS8mwdrf6DKCau 6gwULgAW1lGUcZPIduH83HlIvcChfF9XQkAzwRRLazqzBGTo6iFpdGtCMLG0tocA4e5a eqs6RV/7/4qh9/4c0SkUKGs8bgiSvosZE7Cn7aDtYbqnZVnylYjqfFjQ7cRXApQ40H0A ocTxyZMwYIbE2zZegHpHYtdVMGdt+1Ib/3nF16q5l931DYRrmmWXsJSzOmj2uqoJtAPQ EUTw== 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:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=yRa0b2lHkl6grPBOgdI9i8N3apwm433ugj3fMKkyrCs=; b=IH00WvaOYN499rnZducwO/UynB5DSZF/Q+m9cHzyqG0ouwK0eTfC9NqNqqWnqqeQ42 9O9mslUnqk2THkSKo8i5SRJ7qKBYPw/6/lS+NNSD+eWIQgUIBIdFpjb6e0g/iLNT1ce/ Jx196H+JcjOtgghZH+SCYnVyB5ZLRg14u32yF7lK5vGP2pX/l3X3S/vYj87lnvY3Efxx 7G/S9upNGLIY8sCOp3/jf/7GEFTNHwHKJrV/yw1hkpltsxXe+e+86BcfkMOuzvG46OUr L7x482tyYZferA2IQDwxuwm2AsgPutA2EeoJzflO+oLuhcAAn1eBXtJSsHlPNN+xoEh7 0GaQ== X-Gm-Message-State: AJIora8eq3h26DLUxsBY2ts008lrTD1WzdLdyBEi773ILEqMTOQxJTFU YRH6euv0dXc4k3ecivcJqB8HTdyQWiA= X-Google-Smtp-Source: AGRyM1uksjksaqdaQ6jjO6J9u02+r1D3WXjcJwB49/PeMgsYd32pribpvmokZbvr9Npoj4+EQdxxag== X-Received: by 2002:aa7:cdc2:0:b0:43a:7255:5274 with SMTP id h2-20020aa7cdc2000000b0043a72555274mr1851055edw.159.1656958873537; Mon, 04 Jul 2022 11:21:13 -0700 (PDT) Received: from matrix-ESPRIMO-P710 (p54a07b82.dip0.t-ipconnect.de. [84.160.123.130]) by smtp.gmail.com with ESMTPSA id pv1-20020a170907208100b00726abf9cd8esm10137393ejb.125.2022.07.04.11.21.11 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 04 Jul 2022 11:21:13 -0700 (PDT) Date: Mon, 4 Jul 2022 20:21:08 +0200 From: Philipp Hortmann To: Forest Bond , Greg Kroah-Hartman , linux-staging@lists.linux.dev, linux-kernel@vger.kernel.org Subject: [PATCH 6/6] staging: vt6655: Convert macro vt6655_mac_read_ether_addr to function Message-ID: <2e2524187d9d3a6140fe4a5a35926db14dddfe98.1656835310.git.philipp.g.hortmann@gmail.com> References: MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Convert macro vt6655_mac_read_ether_addr to static function. checkpatch.pl does not accept multiline macros. Signed-off-by: Philipp Hortmann --- drivers/staging/vt6655/device_main.c | 23 ++++++++++++----------- 1 file changed, 12 insertions(+), 11 deletions(-) diff --git a/drivers/staging/vt6655/device_main.c b/drivers/staging/vt6655/= device_main.c index 025a53b493d3..298963cbca1d 100644 --- a/drivers/staging/vt6655/device_main.c +++ b/drivers/staging/vt6655/device_main.c @@ -123,6 +123,7 @@ static void device_free_info(struct vnt_private *priv); static void device_print_info(struct vnt_private *priv); =20 static void vt6655_mac_write_bssid_addr(void __iomem *iobase, const u8 *ma= c_addr); +static void vt6655_mac_read_ether_addr(void __iomem *iobase, u8 *mac_addr); =20 static int device_init_rd0_ring(struct vnt_private *priv); static int device_init_rd1_ring(struct vnt_private *priv); @@ -200,17 +201,17 @@ static void vt6655_mac_write_bssid_addr(void __iomem = *iobase, const u8 *mac_addr iowrite8(0, iobase + MAC_REG_PAGE1SEL); } =20 -#define vt6655_mac_read_ether_addr(iobase, mac_addr) \ -do { \ - iowrite8(1, iobase + MAC_REG_PAGE1SEL); \ - mac_addr[0] =3D ioread8(iobase + MAC_REG_PAR0); \ - mac_addr[1] =3D ioread8(iobase + MAC_REG_PAR0 + 1); \ - mac_addr[2] =3D ioread8(iobase + MAC_REG_PAR0 + 2); \ - mac_addr[3] =3D ioread8(iobase + MAC_REG_PAR0 + 3); \ - mac_addr[4] =3D ioread8(iobase + MAC_REG_PAR0 + 4); \ - mac_addr[5] =3D ioread8(iobase + MAC_REG_PAR0 + 5); \ - iowrite8(0, iobase + MAC_REG_PAGE1SEL); \ -} while (0) +static void vt6655_mac_read_ether_addr(void __iomem *iobase, u8 *mac_addr) +{ + iowrite8(1, iobase + MAC_REG_PAGE1SEL); + mac_addr[0] =3D ioread8(iobase + MAC_REG_PAR0); + mac_addr[1] =3D ioread8(iobase + MAC_REG_PAR0 + 1); + mac_addr[2] =3D ioread8(iobase + MAC_REG_PAR0 + 2); + mac_addr[3] =3D ioread8(iobase + MAC_REG_PAR0 + 3); + mac_addr[4] =3D ioread8(iobase + MAC_REG_PAR0 + 4); + mac_addr[5] =3D ioread8(iobase + MAC_REG_PAR0 + 5); + iowrite8(0, iobase + MAC_REG_PAGE1SEL); +} =20 /* * Initialisation of MAC & BBP registers --=20 2.36.1