Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Sat, 16 Mar 2002 21:05:09 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Sat, 16 Mar 2002 21:04:55 -0500 Received: from pc-62-31-92-140-az.blueyonder.co.uk ([62.31.92.140]:29130 "EHLO kushida.apsleyroad.org") by vger.kernel.org with ESMTP id ; Sat, 16 Mar 2002 21:04:42 -0500 Date: Sun, 17 Mar 2002 02:01:45 +0000 From: Jamie Lokier To: Martin Wilck Cc: Andreas Dilger , Linux Kernel mailing list Subject: Re: [PATCH] Cleanup port 0x80 use (was: Re: IO delay ...) Message-ID: <20020317020145.A20307@kushida.apsleyroad.org> In-Reply-To: <20020315185722.GA920@turbolinux.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: ; from Martin.Wilck@fujitsu-siemens.com on Fri, Mar 15, 2002 at 09:17:12PM +0100 Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Martin Wilck wrote: > > > +#define __SLOW_DOWN_IO_PORT 0x80 > > > +#define __SLOW_DOWN_IO "\noutb %%al,$0x80" > > > > You may want to change the above to: > > #define __SLOW_DOWN_IO_ASM "\noutb %%al,$__SLOW_DOWN_IO_PORT" > > Won't work, cpp doesn't substitute between double quotes. > (at least the one I'm using). Or am I gettimng something wrong here?? As long as __SLOW_DOWN_IO_PORT is a simple constant, you can just use this instead: #define __SLOW_DOWN_IO_ASM "\noutb %%al,$" #__SLOW_DOWN_IO_PORT -- Jamie - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/