Skip to content

Commit

Permalink
solos: Don't clear config registers at startup
Browse files Browse the repository at this point in the history
Signed-off-by: David Woodhouse <[email protected]>
  • Loading branch information
David Woodhouse authored and David Woodhouse committed Jan 30, 2009
1 parent 95852f4 commit cd5549e
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions drivers/atm/solos-pci.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -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);

Expand Down

0 comments on commit cd5549e

Please sign in to comment.