aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/atm
diff options
context:
space:
mode:
authorDavid Woodhouse <David.Woodhouse@intel.com>2009-01-29 22:26:37 -0500
committerDavid Woodhouse <David.Woodhouse@intel.com>2009-01-29 22:26:37 -0500
commitcd5549e0f4b5129cdb7b02fbb6a559f78eda7f4c (patch)
tree97a4dc369baec6812fd513a0e25157de611d613c /drivers/atm
parent95852f48c2b78ee6b211a38039ccca2c889a7010 (diff)
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 = {
1040 1040
1041static int fpga_probe(struct pci_dev *dev, const struct pci_device_id *id) 1041static int fpga_probe(struct pci_dev *dev, const struct pci_device_id *id)
1042{ 1042{
1043 int err, i; 1043 int err;
1044 uint16_t fpga_ver; 1044 uint16_t fpga_ver;
1045 uint8_t major_ver, minor_ver; 1045 uint8_t major_ver, minor_ver;
1046 uint32_t data32; 1046 uint32_t data32;
@@ -1090,10 +1090,6 @@ static int fpga_probe(struct pci_dev *dev, const struct pci_device_id *id)
1090 iowrite32(0, card->config_regs + FPGA_MODE); 1090 iowrite32(0, card->config_regs + FPGA_MODE);
1091 data32 = ioread32(card->config_regs + FPGA_MODE); 1091 data32 = ioread32(card->config_regs + FPGA_MODE);
1092 } 1092 }
1093 //Fill Config Mem with zeros
1094 for(i = 0; i < 128; i += 4)
1095 iowrite32(0, card->config_regs + i);
1096
1097 //Set RX empty flags 1093 //Set RX empty flags
1098 iowrite32(0xF0, card->config_regs + FLAGS_ADDR); 1094 iowrite32(0xF0, card->config_regs + FLAGS_ADDR);
1099 1095