Received: (from majordomo@localhost) by oss.sgi.com (8.11.3/8.11.3) id f41DxfL21725 for netdev-outgoing; Tue, 1 May 2001 06:59:41 -0700 Received: from smtp102.urscorp.com (smtp102.urscorp.com [38.202.96.105]) by oss.sgi.com (8.11.3/8.11.3) with ESMTP id f41DxeM21722 for ; Tue, 1 May 2001 06:59:41 -0700 To: linux-kernel@vger.kernel.org, netdev@oss.sgi.com Subject: isa_read/write not available on ppc - solution suggestions ?? X-Mailer: Lotus Notes Release 5.0.5 September 22, 2000 From: mike_phillips@urscorp.com Message-ID: Date: Tue, 1 May 2001 09:52:30 -0400 X-MIMETrack: Serialize by Router on SMTP102/URSCorp(Release 5.0.5 |September 22, 2000) at 05/01/2001 09:55:27 AM, Serialize complete at 05/01/2001 09:55:27 AM MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Sender: owner-netdev@oss.sgi.com Precedence: bulk To get the pcmcia ibmtr driver (ibmtr/ibmtr_cs) working on ppc, all the isa_read/write's have to be changed to regular read/write due to the lack of the isa_read/write functions for ppc. So, the question is should I simply: a) change everything to read/write and friends (the way the driver used to be before the isa_read/write function were introduced) b) Put ugly macros in the driver to use the different functions depending upon architecture. c) Implement the isa_read/write functions for ppc ? or d) something completely different I haven't thought of. Remember, this driver must support isa, pcmcia, mca, ix86 and now ppc. Personally I'd rather not have arch dependent macros in the driver, but I know there is a good reason why the isa_read/write functions were introduced in the first place. Suggestions ? Mike Linux Token Ring Project http://www.linuxtr.net