Received: by 2002:a5b:505:0:0:0:0:0 with SMTP id o5csp674150ybp; Fri, 11 Oct 2019 02:29:16 -0700 (PDT) X-Google-Smtp-Source: APXvYqwWZqx261lBH+65jS642OgG1aWAX7V0jm+03qq7kDCoOTU17DJRyWNU6xJI2OT5oBCQLeFP X-Received: by 2002:a05:6402:8cf:: with SMTP id d15mr12081050edz.225.1570786156293; Fri, 11 Oct 2019 02:29:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1570786156; cv=none; d=google.com; s=arc-20160816; b=exfu6SULlFV4sZHP1Xr13XrnOdmh6+Ajk7CiWRKSyUw6PZjzSQhtyt11TuDfYHW8SB DEbi4i/G9PZ5yRFLykx4TxC/b1znUGAFX9Qn+ARkchO4zWVlH7B6rAwLee8tSsdMhv6R m0aZ0v39N4OEHMplu3Lfo8Znn6ftIwtF5fabWnpsKYPOrUe8dPhnkGwydWaAczppDLFD ZaMdRNNmkTzx1ZskZcOuiDiIjWV3L7FikNdH+ppBFEJyJnCxn8MeOdD87DhxVnFS+AUZ 0Txd94T242oqcsOdw+mgmYPkWShxthSuzZtvgl5k3DCTQnvE9Io37o3qmqKZCr7ohs9F JEdA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:subject:cc:to:from:date; bh=eHRFRvJKDRjDikF9ritHuZ0FyY4h9/MEI9TaCCQPTo8=; b=Mtqpsb28tzZ/anQ82VCx+pnomHtGo8Xtq4Ug+eyADmqH5zuHoPqA2l4bpn+OleW/iq 8bUyUDwE966PPZLE+IBeMnHJlsvd28pOknLpxJTZk2Z5Lcqb5SPUYhIcPM7GPmg0THiq v9792LM3V2xO3T2tlmGtULD31P6wrV3WdvykRCCHv4PhPoNKj+RCsHlDu+NGWLuJNJCI 6pBP5voUVXH3+aK/C2Qu27JaX7vxMlCON0zYgrT0YEFl6OLkx45mFa85c+B9whDDbb9h vElnij4/giqPfTKhqSOKgJGSqadGMvH4CaZCzsZH1g8wvMqLYnCEMx522uEy+zvMcAax oelQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id ga6si5005295ejb.309.2019.10.11.02.28.52; Fri, 11 Oct 2019 02:29:16 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727773AbfJKJ2H convert rfc822-to-8bit (ORCPT + 99 others); Fri, 11 Oct 2019 05:28:07 -0400 Received: from mx2.suse.de ([195.135.220.15]:55754 "EHLO mx1.suse.de" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1727314AbfJKJ2H (ORCPT ); Fri, 11 Oct 2019 05:28:07 -0400 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (unknown [195.135.220.254]) by mx1.suse.de (Postfix) with ESMTP id DC74DB175; Fri, 11 Oct 2019 09:28:04 +0000 (UTC) Date: Fri, 11 Oct 2019 11:28:04 +0200 From: Thomas Bogendoerfer To: Sergei Shtylyov Cc: Jakub Kicinski , Jonathan Corbet , Ralf Baechle , Paul Burton , James Hogan , Lee Jones , "David S. Miller" , Srinivas Kandagatla , Alessandro Zummo , Alexandre Belloni , Greg Kroah-Hartman , Jiri Slaby , linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org, linux-mips@vger.kernel.org, netdev@vger.kernel.org, linux-rtc@vger.kernel.org, linux-serial@vger.kernel.org Subject: Re: [PATCH v9 5/5] MIPS: SGI-IP27: Enable ethernet phy on second Origin 200 module Message-Id: <20191011112804.ef8079aa9bad5c81ce473fbd@suse.de> In-Reply-To: <102db20a-0c37-3e28-2d14-e9c6eaa55f5c@cogentembedded.com> References: <20191010145953.21327-1-tbogendoerfer@suse.de> <20191010145953.21327-6-tbogendoerfer@suse.de> <102db20a-0c37-3e28-2d14-e9c6eaa55f5c@cogentembedded.com> X-Mailer: Sylpheed 3.5.1 (GTK+ 2.24.32; x86_64-suse-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8BIT Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, 10 Oct 2019 19:37:15 +0300 Sergei Shtylyov wrote: > On 10/10/2019 05:59 PM, Thomas Bogendoerfer wrote: > > + /* enable ethernet PHY on IP29 systemboard */ > > + pci_read_config_dword(dev, PCI_SUBSYSTEM_VENDOR_ID, &sid); > > + if (sid == ((PCI_VENDOR_ID_SGI << 16) | IOC3_SUBSYS_IP29_SYSBOARD)) > > I thought PCI was little endian, thuis vendor ID at offset 0 and device ID > at offset 2? you are right. I already messed it up in pci-xtalk-bridge.c. As this is just a fake sub device id, there is no harm, but I'll fix it. Thomas. -- SUSE Software Solutions Germany GmbH HRB 247165 (AG M?nchen) Gesch?ftsf?hrer: Felix Imend?rffer