Received: by 2002:ab2:6a05:0:b0:1f8:1780:a4ed with SMTP id w5csp2137914lqo; Mon, 13 May 2024 08:50:33 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXbyxVvyK/Wu02+r0r95M1xJ3dWSCcIKwQcYCrzphnVuNRRz4KOdbGuX7nFhH3Icbx/luSuTBiG0t2GffVoEqA99ap3B1BAmM34RqWMlA== X-Google-Smtp-Source: AGHT+IH1q3INKFSu1STA7+dfPr8zi+v86oV5gR4iRj0vLgfWECfuWA2W1NRaTC/4leW4H3p851Cg X-Received: by 2002:a17:903:1208:b0:1ea:bc:53ac with SMTP id d9443c01a7336-1ef44161e5bmr122272815ad.44.1715615433744; Mon, 13 May 2024 08:50:33 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1715615433; cv=pass; d=google.com; s=arc-20160816; b=WVMzokr9dOJLAjVMI0B2/VeG+bAmMRpDgXyYdTvpb04ICddvdqQ0uhIOEuw0O/dXd/ QOpRW7TmPmKuLbFjfTTLVKxnWASHGSnnCqQsRWPKBZ9A5rgmByWsSHAOLGA2CB8eQw9c YYdOr2db4g08hVhJFg9W1faNR3cn/T5i6mcRSV92q6Pi2Nf4sLOxQFDjYD6Mdb8kRr5T wk61Lx2HQOQinfZ7QdylnFp5rxNwioReGylYiz0ee3s1D+VZEZQWQ5fBW/mi6gYdOzuy c47R8rdkBdofTZ1E9+0eGP3TfNbS6G+aZnS7q4qsaPVbVdBf4nKTnLgXdFkTBKZ8/K21 292g== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:autocrypt:from :content-language:references:cc:to:subject:user-agent:mime-version :list-unsubscribe:list-subscribe:list-id:precedence:date:message-id :dkim-signature; bh=JYLIvICASvk+cAq8OmhwkQvEdjtLJQ/QOdrmtZV0OZA=; fh=VvqFw7hh3xEzs85j1yvy1ZBnHob7nkd4hn2ppHUwb4A=; b=tF4JXJPy+9qJGHikfI5h53pkE31JprY8JxwfluvIQzOF3dLY/ciYYrhxymw64cRrfa olrnp0A8ypoSAQp3nV4/auRWVRhonrl099XrFEZOMXdbS15WbRLy8vMc8fygb2Apz5nG 2wYphr6IIZisEIBCnm+RhQK4sjh5EVUIxqCh4ytvIvhJy5Egkoyf3KJnkNFDcDOlZn1s KigfnKw6tDp9ZoWdOwJXJ5FQKnm9CSL3BaL0sKv+KzDzpWJz6j1kA63c8b9kLLIxCxc+ q5tzs5RKPNS0D7iiZENfR+3G4Xx9crPtuZfGwAkKo0WZC4+ihx4/5NtRu4LI24SQuJQS Qw6g==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=M5Aj2sbc; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com dmarc=pass fromdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-177781-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-177781-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [147.75.48.161]) by mx.google.com with ESMTPS id d9443c01a7336-1ef0bad8350si91432775ad.179.2024.05.13.08.50.33 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 13 May 2024 08:50:33 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-177781-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) client-ip=147.75.48.161; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=M5Aj2sbc; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com dmarc=pass fromdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-177781-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-177781-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sy.mirrors.kernel.org (Postfix) with ESMTPS id 8C471B22FFC for ; Mon, 13 May 2024 15:50:10 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id AD81F154440; Mon, 13 May 2024 15:50:04 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="M5Aj2sbc" Received: from mail-pl1-f177.google.com (mail-pl1-f177.google.com [209.85.214.177]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 939A4148853 for ; Mon, 13 May 2024 15:50:02 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.214.177 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715615403; cv=none; b=KOJdNsdz/H5RkzjKCNapP7UFruS1dDO8WDTTaCqGvr8Gt/vcII7ZUxS93TWnqZkQlywzUipO7WDbPWYYgfruDlSm/QSpL3uyrvQMY1PMIBZ4l4EPz+OzyJPYFHw7u7uIASJg0p4tNPIU6tAR1T2sjJvymwCQmSw04hfR9zTptXw= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715615403; c=relaxed/simple; bh=8+kw90wdwTNBsyLmS1ZTfIhHTy7nHaip3NEHKL+3n+c=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=Z56w/UyJiL27szG2RVYwGtSrCOfrCo1xCAItspt+NhKOfMlWo7M4kMKRCGfldjsT0qvOwjIn7yEPqU5bhh+BKLEfkDQgLpydW6TIa0jlDMYdgpJdOqB8nSRrfg0REBw+ro8MaF6WKRyiaqe0DqGtC3o/fK41NTJysYWeuLt5Qng= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=M5Aj2sbc; arc=none smtp.client-ip=209.85.214.177 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Received: by mail-pl1-f177.google.com with SMTP id d9443c01a7336-1ec486198b6so33463565ad.1 for ; Mon, 13 May 2024 08:50:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1715615402; x=1716220202; darn=vger.kernel.org; h=content-transfer-encoding:in-reply-to:autocrypt:from :content-language:references:cc:to:subject:user-agent:mime-version :date:message-id:from:to:cc:subject:date:message-id:reply-to; bh=JYLIvICASvk+cAq8OmhwkQvEdjtLJQ/QOdrmtZV0OZA=; b=M5Aj2sbcBVvPPBOlFWsmD/KobfL1ElqtGu3oJo4K1Qsspro8VUcN0NuK6YaRGjifCz GaLMoMr8HBAlBHwb9JtYfQm6Tb+/u0h9jguZEjMCpz7bwTM1pNKs3N4kZAzxiICOjpbh ipXouX1GdvbxtMslLDfYjN0+cLVnMY07PJyp93oBz0GQBsD6R6LFNRHOlZiMoevAKKm0 4BGCOd8Le2K7Rwv+vdyOfIqvB+DM66EY1siidVuvCpv9x4eP2+d51evKsjMEv+qZpHBA HX9n+CMPULfnTBOnKEBEpwwA7ldRVaOJ/EKZyLtOq5/CYr7coLYLlRHwPyE7PhPofoD5 Pj0w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1715615402; x=1716220202; h=content-transfer-encoding:in-reply-to:autocrypt:from :content-language:references:cc:to:subject:user-agent:mime-version :date:message-id:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=JYLIvICASvk+cAq8OmhwkQvEdjtLJQ/QOdrmtZV0OZA=; b=ppEogqvSRM3PpnFUdXlm7Zc10VdfmCyn3A4zcqGQ+sURMBHtQr+uQBgWTNGk8mReS2 1BGJ8UEefgCFFoPe50tA0FdFUAk3F1DhbtIhi8sBC2m/1Gj+D1L7JO2S0hNrWRBsGrXx HLMdKARDwrTtETteXn2q0tGWE6qYEEyLoWfAxdXjmY9hlH/3acqknKhZ51mmZrJxSzEK eMUAzoFvVr+W+iG1eJw6rzDVU2CuQfMrMsWhcLqduZoOvAkUg/Y3/sixwYPWe5NozGmg Qtfx85kWL7vKyZ2sihbExXQJ7LMOwrHQiaj7HjugbWBjTQryaLSYSAuJkkFw7wmeDlfh o1/A== X-Forwarded-Encrypted: i=1; AJvYcCUquNRUCYZp0AihtgNB0mab1Krn6Kr3ZFGjGNNxyoCpylzsBvIobPNiYHLHvckl6NqAkYt5iwPlUkGYHPxAbUw2ulnlC3aTOopYYQbK X-Gm-Message-State: AOJu0Yw5aBIytQbGNhEs33/0mhw0fELgbQxNyxx46xoJsIWvIiuvijBe fw7Ve7sXihiitXqDrtn4c91Vp4uwV3z4W+/ny099PKft9Lx/PguSi+FPAuPx X-Received: by 2002:a17:902:ea06:b0:1ed:6cfa:86ff with SMTP id d9443c01a7336-1ef441a7547mr111557165ad.63.1715615401808; Mon, 13 May 2024 08:50:01 -0700 (PDT) Received: from [192.168.1.3] (ip68-4-215-93.oc.oc.cox.net. [68.4.215.93]) by smtp.gmail.com with ESMTPSA id d9443c01a7336-1ef0c136d53sm81050795ad.254.2024.05.13.08.50.00 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 13 May 2024 08:50:01 -0700 (PDT) Message-ID: <212a9464-d52b-4730-95b9-5a0aebd38c91@gmail.com> Date: Mon, 13 May 2024 08:50:00 -0700 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: drivers/net/dsa/dsa_loop_bdinfo.c build problems To: Stephen Langstaff Cc: andrew@lunn.ch, linux-kernel@vger.kernel.org, "OlteanV@gmail.com" References: <338daebd-b4af-4a0c-951a-ad7f86dc4646@gmail.com> <7efffaa0-6330-4b01-b3d2-63eb063cbbb0@gmail.com> Content-Language: en-US From: Florian Fainelli Autocrypt: addr=f.fainelli@gmail.com; keydata= xsDiBEjPuBIRBACW9MxSJU9fvEOCTnRNqG/13rAGsj+vJqontvoDSNxRgmafP8d3nesnqPyR xGlkaOSDuu09rxuW+69Y2f1TzjFuGpBk4ysWOR85O2Nx8AJ6fYGCoeTbovrNlGT1M9obSFGQ X3IzRnWoqlfudjTO5TKoqkbOgpYqIo5n1QbEjCCwCwCg3DOH/4ug2AUUlcIT9/l3pGvoRJ0E AICDzi3l7pmC5IWn2n1mvP5247urtHFs/uusE827DDj3K8Upn2vYiOFMBhGsxAk6YKV6IP0d ZdWX6fqkJJlu9cSDvWtO1hXeHIfQIE/xcqvlRH783KrihLcsmnBqOiS6rJDO2x1eAgC8meAX SAgsrBhcgGl2Rl5gh/jkeA5ykwbxA/9u1eEuL70Qzt5APJmqVXR+kWvrqdBVPoUNy/tQ8mYc nzJJ63ng3tHhnwHXZOu8hL4nqwlYHRa9eeglXYhBqja4ZvIvCEqSmEukfivk+DlIgVoOAJbh qIWgvr3SIEuR6ayY3f5j0f2ejUMYlYYnKdiHXFlF9uXm1ELrb0YX4GMHz80nRmxvcmlhbiBG YWluZWxsaSA8Zi5mYWluZWxsaUBnbWFpbC5jb20+wmYEExECACYCGyMGCwkIBwMCBBUCCAME FgIDAQIeAQIXgAUCVF/S8QUJHlwd3wAKCRBhV5kVtWN2DvCVAJ4u4/bPF4P3j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x7MpgAmj0H7SDhpFWF2FzcC1bjiW9mjW HaKaX23Awt97AqQZXegbfkJwX2Y53ufq8Np3e1542lh3/mpiGSilCsaTahEGrHK+lIusl6mz Joil+u3k01ofvJMK0ZdzGUZ/aPMZ16LofjFA+MNxWrZFrkYmiGdv+LG45zSlZyIvzSiG2lKy kuVag+IijCIom78P9jRtB1q1Q5lwZp2TLAJlz92DmFwBg1hyFzwDADjZ2nrDxKUiybXIgZp9 aU2d++ptEGCVJOfEW4qpWCCLPbOT7XBr+g/4H3qWbs3j/cDDq7LuVYIe+wchy/iXEJaQVeTC y5arMQorqTFWlEOgRA8OP47L9knl9i4xuR0euV6DChDrguup2aJVU8JPBBgRAgAPAhsMBQJU X9LxBQkeXB3fAAoJEGFXmRW1Y3YOj4UAn3nrFLPZekMeqX5aD/aq/dsbXSfyAKC45Go0YyxV HGuUuzv+GKZ6nsysJw== In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit On 5/13/2024 8:45 AM, Stephen Langstaff wrote: > On Mon, May 13, 2024 at 4:40 PM Florian Fainelli wrote: >> The Makefile has this: >> >> obj-$(CONFIG_FIXED_PHY) += dsa_loop_bdinfo.o >> >> so it follows the value of CONFIG_FIXED_PHY, what is this configuration >> symbol is to in your kernel configuration? > > CONFIG_FIXED_PHY=y Then dsa_loop_bdinfo is going to be built into your kernel image, and it will register a mdio_board_info structure which will create fixed PHY devices and it will assume that the DSA conduit network device name is "eth0". If this is not correct for your system, that needs changing. What are you trying to achieve? Can you be a tad more verbose about what you have tried and what is not working? -- Florian