Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S264741AbTFEQZS (ORCPT ); Thu, 5 Jun 2003 12:25:18 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S264747AbTFEQZR (ORCPT ); Thu, 5 Jun 2003 12:25:17 -0400 Received: from blackbird.intercode.com.au ([203.32.101.10]:7687 "EHLO blackbird.intercode.com.au") by vger.kernel.org with ESMTP id S264741AbTFEQZR (ORCPT ); Thu, 5 Jun 2003 12:25:17 -0400 Date: Fri, 6 Jun 2003 02:38:32 +1000 (EST) From: James Morris To: Dave Jones cc: pam.delaney@lsil.com, Greg KH , Subject: Re: [PATCH] compile fix for MPT Fusion driver for 2.5.70 bk In-Reply-To: <20030605162901.GA7035@suse.de> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1146 Lines: 34 On Thu, 5 Jun 2003, Dave Jones wrote: > > diff -urN -X dontdiff bk.pending/drivers/message/fusion/linux_compat.h bk.w1/drivers/message/fusion/linux_compat.h > > --- bk.pending/drivers/message/fusion/linux_compat.h 2003-06-06 00:36:11.000000000 +1000 > > +++ bk.w1/drivers/message/fusion/linux_compat.h 2003-06-06 01:48:49.000000000 +1000 > > @@ -147,7 +147,7 @@ > > > > > > /* PCI/driver subsystem { */ > > -#ifndef pci_for_each_dev > > +#ifndef pci_for_each_dev_reverse > > #define pci_for_each_dev(dev) for((dev)=pci_devices; (dev)!=NULL; (dev)=(dev)->next) > > What has _reverse got to do with this define ? It was a partner to pci_for_each_dev(), which if not defined, required the use of (dev)->next rather than pci_dev_g((dev)->global_list.next. i.e. it's detecting a version of the PCI API. It is fairly bogus, yes. - James -- James Morris - 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/