diff options
author | Olivier Houchard <cognet@FreeBSD.org> | 2009-08-23 19:54:36 +0000 |
---|---|---|
committer | Olivier Houchard <cognet@FreeBSD.org> | 2009-08-23 19:54:36 +0000 |
commit | 562c5c5bf0e2132becca80623bda5038e069406e (patch) | |
tree | 97e9690d5d3cb7caf69bf5c039d6db591bbd19e0 /sys/arm/xscale | |
parent | 6913541fe4e3e70fc838fe1a722712bbe187ed1c (diff) | |
download | src-test2-562c5c5bf0e2132becca80623bda5038e069406e.tar.gz src-test2-562c5c5bf0e2132becca80623bda5038e069406e.zip |
Notes
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 d103a63b7344..817e6aff1628 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 |