solos: Don't clear config registers at startup
authorDavid Woodhouse <David.Woodhouse@intel.com>
Fri, 30 Jan 2009 03:26:37 +0000 (14:26 +1100)
committerDavid Woodhouse <David.Woodhouse@intel.com>
Fri, 30 Jan 2009 03:26:37 +0000 (14:26 +1100)
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
drivers/atm/solos-pci.c

index f27bd922574d16e659f090340b89957c74189f73..df016825519d393fcca9bd3d07c2547e63f87891 100644 (file)
@@ -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);