diff options
author | cognet <cognet@FreeBSD.org> | 2009-08-23 19:54:36 +0000 |
---|---|---|
committer | cognet <cognet@FreeBSD.org> | 2009-08-23 19:54:36 +0000 |
commit | 58a0303f6781cd1709bd20ac6cf407a779b27469 (patch) | |
tree | 97e9690d5d3cb7caf69bf5c039d6db591bbd19e0 /sys/arm/xscale | |
parent | 7ab124422cfd4a77eab41ee9df0d9c969a85f10e (diff) | |
download | FreeBSD-src-58a0303f6781cd1709bd20ac6cf407a779b27469.zip FreeBSD-src-58a0303f6781cd1709bd20ac6cf407a779b27469.tar.gz |
No need to remove the same flag multiple times.
Diffstat (limited to 'sys/arm/xscale')
-rw-r--r-- | sys/arm/xscale/ixp425/ixdp425_pci.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arm/xscale/ixp425/ixdp425_pci.c b/sys/arm/xscale/ixp425/ixdp425_pci.c index d103a63..817e6af 100644 --- a/sys/arm/xscale/ixp425/ixdp425_pci.c +++ b/sys/arm/xscale/ixp425/ixdp425_pci.c @@ -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 |