From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from gate.crashing.org (gate.crashing.org [63.228.1.57]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by ozlabs.org (Postfix) with ESMTP id 5891967F5D for ; Fri, 3 Nov 2006 09:20:56 +1100 (EST) Subject: Re: [patch 02/16] replace CONFIG_PPC_MULTIPLATFORM with CONFIG_PPC_PMAC in tulip driver From: Benjamin Herrenschmidt To: s.hauer@pengutronix.de In-Reply-To: <20061102125624.568115000@localhost.localdomain> References: <20061102125555.252338000@localhost.localdomain> <20061102125624.568115000@localhost.localdomain> Content-Type: text/plain Date: Fri, 03 Nov 2006 09:20:50 +1100 Message-Id: <1162506050.10630.33.camel@localhost.localdomain> Mime-Version: 1.0 Cc: linuxppc-dev@ozlabs.org List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , On Thu, 2006-11-02 at 13:55 +0100, s.hauer@pengutronix.de wrote: > plain text document attachment > (drivers-net-tulip-de4x5-remove-MULTIPLATFORM.diff) > replace CONFIG_PPC_MULTIPLATFORM with CONFIG_PPC_PMAC in > drivers/net/tulip/de4x5.c. It is needed for a pmac specific hook but > has nothing with to do with PPC_MULTIPLATFORM > > Signed-off-by: Sascha Hauer Acked-by: Benjamin Herrenschmidt > Index: linux-2.6/drivers/net/tulip/de4x5.c > =================================================================== > --- linux-2.6.orig/drivers/net/tulip/de4x5.c > +++ linux-2.6/drivers/net/tulip/de4x5.c > @@ -473,9 +473,9 @@ > #include > #include > #include > -#ifdef CONFIG_PPC_MULTIPLATFORM > +#ifdef CONFIG_PPC_PMAC > #include > -#endif /* CONFIG_PPC_MULTIPLATFORM */ > +#endif /* CONFIG_PPC_PMAC */ > > #include "de4x5.h" > > @@ -4151,7 +4151,7 @@ get_hw_addr(struct net_device *dev) > /* If possible, try to fix a broken card - SMC only so far */ > srom_repair(dev, broken); > > -#ifdef CONFIG_PPC_MULTIPLATFORM > +#ifdef CONFIG_PPC_PMAC > /* > ** If the address starts with 00 a0, we have to bit-reverse > ** each byte of the address. > @@ -4168,7 +4168,7 @@ get_hw_addr(struct net_device *dev) > dev->dev_addr[i] = ((x & 0x55) << 1) + ((x & 0xaa) >> 1); > } > } > -#endif /* CONFIG_PPC_MULTIPLATFORM */ > +#endif /* CONFIG_PPC_PMAC */ > > /* Test for a bad enet address */ > status = test_bad_enet(dev, status); > > -- > Dipl.-Ing. Sascha Hauer | http://www.pengutronix.de > Pengutronix - Linux Solutions for Science and Industry > Handelsregister: Amtsgericht Hildesheim, HRA 2686 > Hannoversche Str. 2, 31134 Hildesheim, Germany > Phone: +49-5121-206917-0 | Fax: +49-5121-206917-9 > _______________________________________________ > Linuxppc-dev mailing list > Linuxppc-dev@ozlabs.org > https://ozlabs.org/mailman/listinfo/linuxppc-dev