Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 57023
b: refs/heads/master
c: 69f4a51
h: refs/heads/master
i:
  57021: 2276407
  57019: fa1943d
  57015: 5ede51c
  57007: 3ce3e45
  56991: 06608c6
  56959: 50ef9f1
v: v3
  • Loading branch information
Ed Lin authored and James Bottomley committed May 16, 2007
1 parent d5c47f6 commit eb47503
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: e0b2e597d5dd8c4f3778545f65c29a9c6aba0e3a
refs/heads/master: 69f4a513911455670d3322fb5252b437c0485707
7 changes: 6 additions & 1 deletion trunk/drivers/scsi/stex.c
Original file line number Diff line number Diff line change
Expand Up @@ -1041,7 +1041,12 @@ static void stex_hard_reset(struct st_hba *hba)
pci_read_config_byte(bus->self, PCI_BRIDGE_CONTROL, &pci_bctl);
pci_bctl |= PCI_BRIDGE_CTL_BUS_RESET;
pci_write_config_byte(bus->self, PCI_BRIDGE_CONTROL, pci_bctl);
msleep(1);

/*
* 1 ms may be enough for 8-port controllers. But 16-port controllers
* require more time to finish bus reset. Use 100 ms here for safety
*/
msleep(100);
pci_bctl &= ~PCI_BRIDGE_CTL_BUS_RESET;
pci_write_config_byte(bus->self, PCI_BRIDGE_CONTROL, pci_bctl);

Expand Down

0 comments on commit eb47503

Please sign in to comment.