From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from parcelfarce.linux.theplanet.co.uk ([195.92.249.252]:52710 "EHLO www.linux.org.uk") by vger.kernel.org with ESMTP id S268269AbUIPWqm (ORCPT ); Thu, 16 Sep 2004 18:46:42 -0400 Message-ID: <414A17C0.9000309@pobox.com> Date: Thu, 16 Sep 2004 18:46:24 -0400 From: Jeff Garzik MIME-Version: 1.0 Subject: Re: RFC: being more anal about iospace accesses.. References: <1095287935.1688.4.camel@mulgrave> <20040916023325.GJ642@parcelfarce.linux.theplanet.co.uk> <20040916223042.GO642@parcelfarce.linux.theplanet.co.uk> In-Reply-To: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit To: Linus Torvalds Cc: Matthew Wilcox , James Bottomley , Geert Uytterhoeven , Linux Arch list , Al Viro , Andrew Morton , Alan Cox , "David S. Miller" List-ID: Linus Torvalds wrote: > I don't see anybody ever wanting to do a "memcpy_to/from_pio()" anyway. > The op just doesn't make any real sense. Actually, I do this in 8139too, to take a snapshot of the NIC's registers for the ethtool "get registers" command. ;-) If 8139too is compiled for MMIO, I use memcpy_fromio. If 8139too is compiled for PIO... Jeff