summaryrefslogtreecommitdiff
path: root/drivers/atm
diff options
context:
space:
mode:
authorDavid Woodhouse <David.Woodhouse@intel.com>2009-01-30 14:26:37 +1100
committerDavid Woodhouse <David.Woodhouse@intel.com>2009-01-30 14:26:37 +1100
commitcd5549e0f4b5129cdb7b02fbb6a559f78eda7f4c (patch)
tree97a4dc369baec6812fd513a0e25157de611d613c /drivers/atm
parent95852f48c2b78ee6b211a38039ccca2c889a7010 (diff)
downloadlinux-cd5549e0f4b5129cdb7b02fbb6a559f78eda7f4c.tar.gz
linux-cd5549e0f4b5129cdb7b02fbb6a559f78eda7f4c.tar.xz
solos: Don't clear config registers at startup
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
Diffstat (limited to 'drivers/atm')
-rw-r--r--drivers/atm/solos-pci.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/drivers/atm/solos-pci.c b/drivers/atm/solos-pci.c
index f27bd922574d..df016825519d 100644
--- a/drivers/atm/solos-pci.c
+++ b/drivers/atm/solos-pci.c
@@ -1040,7 +1040,7 @@ static struct atmdev_ops fpga_ops = {
static int fpga_probe(struct pci_dev *dev, const struct pci_device_id *id)
{
- int err, i;
+ int err;
uint16_t fpga_ver;
uint8_t major_ver, minor_ver;
uint32_t data32;
@@ -1090,10 +1090,6 @@ static int fpga_probe(struct pci_dev *dev, const struct pci_device_id *id)
iowrite32(0, card->config_regs + FPGA_MODE);
data32 = ioread32(card->config_regs + FPGA_MODE);
}
- //Fill Config Mem with zeros
- for(i = 0; i < 128; i += 4)
- iowrite32(0, card->config_regs + i);
-
//Set RX empty flags
iowrite32(0xF0, card->config_regs + FLAGS_ADDR);