From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jeff Garzik Subject: Re: [PATCH] Remove powerpc specific parts of 3c509 driver Date: Wed, 20 Sep 2006 17:29:04 -0400 Message-ID: <4511B2A0.2010607@pobox.com> References: <20060919145433.8fc7d478.sfr@canb.auug.org.au> <20060919184243.GL29167@austin.ibm.com> <45103C62.4080003@genesi-usa.com> <1158708269.6002.186.camel@localhost.localdomain> <488875E7-CCBC-47E1-A273-A2D037A997B2@kernel.crashing.org> <45109203.6060606@pobox.com> <1192ED41-329C-4CB0-AD87-B3BF62EC4337@kernel.crashing.org> <451096FE.1000104@pobox.com> <82BFB659-DCB3-477C-B53D-4D8C55BAADB7@kernel.crashing.org> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Benjamin Herrenschmidt , Matt Sealey , akpm@osdl.org, Stephen Rothwell , ppc-dev , netdev@vger.kernel.org Return-path: Received: from srv5.dvmed.net ([207.36.208.214]:11756 "EHLO mail.dvmed.net") by vger.kernel.org with ESMTP id S932130AbWITV3p (ORCPT ); Wed, 20 Sep 2006 17:29:45 -0400 To: Segher Boessenkool In-Reply-To: <82BFB659-DCB3-477C-B53D-4D8C55BAADB7@kernel.crashing.org> Sender: netdev-owner@vger.kernel.org List-Id: netdev.vger.kernel.org Segher Boessenkool wrote: >>>>> Sure, PCI busses are little-endian. But is readX()/writeX() for PCI >>>>> only? >>>> >>>> Yes. >>>> >>>> For other buses, use foo_writel(), etc. >>> Can this please be documented then? Never heard this before... >> >> You have come late to the party. > > WHat do you mean here? Could you please explain? > >> This has been the case for many, many years. > > No, it was never documented AFAICS. A de facto standard does not need to be documented, to be a de facto standard. A lot of Linux "standards" are often based on emails from Linus buried halfway down a thread. A decision gets made, and people follow. >> And there is no point in a massive rename to pci_writel(), either. > > That would be really inconvenient, sure. It's also inconvenient > that all the nice short names are PCI-only. Only to you, a decided minority of developers. Jeff