Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 35270
b: refs/heads/master
c: 40c0d87
h: refs/heads/master
v: v3
  • Loading branch information
Grant Grundler authored and Jeff Garzik committed Sep 11, 2006
1 parent cd78388 commit 8c72f95
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: b892de0bd79d534ff4dcbae7aa2ad5b63e23e9fd
refs/heads/master: 40c0d87948ab635e814f45664259d4cc193651a1
2 changes: 2 additions & 0 deletions trunk/drivers/net/tulip/tulip_core.c
Original file line number Diff line number Diff line change
Expand Up @@ -295,12 +295,14 @@ static void tulip_up(struct net_device *dev)

/* Reset the chip, holding bit 0 set at least 50 PCI cycles. */
iowrite32(0x00000001, ioaddr + CSR0);
pci_read_config_dword(tp->pdev, PCI_COMMAND, &i); /* flush write */
udelay(100);

/* Deassert reset.
Wait the specified 50 PCI cycles after a reset by initializing
Tx and Rx queues and the address filter list. */
iowrite32(tp->csr0, ioaddr + CSR0);
pci_read_config_dword(tp->pdev, PCI_COMMAND, &i); /* flush write */
udelay(100);

if (tulip_debug > 1)
Expand Down

0 comments on commit 8c72f95

Please sign in to comment.