Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 23 Aug 2009 19:54:37 +0000 (UTC)
From:      Olivier Houchard <cognet@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r196479 - head/sys/arm/xscale/ixp425
Message-ID:  <200908231954.n7NJsbQU070739@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: cognet
Date: Sun Aug 23 19:54:36 2009
New Revision: 196479
URL: http://svn.freebsd.org/changeset/base/196479

Log:
  No need to remove the same flag multiple times.

Modified:
  head/sys/arm/xscale/ixp425/ixdp425_pci.c

Modified: head/sys/arm/xscale/ixp425/ixdp425_pci.c
==============================================================================
--- head/sys/arm/xscale/ixp425/ixdp425_pci.c	Sun Aug 23 19:52:47 2009	(r196478)
+++ head/sys/arm/xscale/ixp425/ixdp425_pci.c	Sun Aug 23 19:54:36 2009	(r196479)
@@ -62,12 +62,12 @@ ixp425_md_attach(device_t dev)
 	/* PCI Reset Assert */
 	reg = GPIO_CONF_READ_4(sc, IXP425_GPIO_GPOUTR);
 	reg &= ~(1U << GPIO_PCI_RESET);
-	GPIO_CONF_WRITE_4(sc, IXP425_GPIO_GPOUTR, reg & ~(1U << GPIO_PCI_RESET));
+	GPIO_CONF_WRITE_4(sc, IXP425_GPIO_GPOUTR, reg);
 
 	/* PCI Clock Disable */
 	reg = GPIO_CONF_READ_4(sc, IXP425_GPIO_GPCLKR);
 	reg &= ~GPCLKR_MUX14;
-	GPIO_CONF_WRITE_4(sc, IXP425_GPIO_GPCLKR, reg & ~GPCLKR_MUX14);
+	GPIO_CONF_WRITE_4(sc, IXP425_GPIO_GPCLKR, reg);
 
 	/*
 	 * set GPIO Direction



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200908231954.n7NJsbQU070739>