diff options
| author | Scott Long <scottl@FreeBSD.org> | 2003-09-26 15:24:14 +0000 |
|---|---|---|
| committer | Scott Long <scottl@FreeBSD.org> | 2003-09-26 15:24:14 +0000 |
| commit | 431b938258b34f9bacd4be484416be5c4a1001c8 (patch) | |
| tree | f89e6fdfac30e9c567c22d0bebcde5f11155ab6d /sys/dev | |
| parent | b0dc19f36a1f1390f9d3940cfc5e6a83cac01739 (diff) | |
Notes
Diffstat (limited to 'sys/dev')
| -rw-r--r-- | sys/dev/aic7xxx/aic79xx_pci.c | 4 | ||||
| -rw-r--r-- | sys/dev/aic7xxx/aic7xxx_pci.c | 4 |
2 files changed, 6 insertions, 2 deletions
diff --git a/sys/dev/aic7xxx/aic79xx_pci.c b/sys/dev/aic7xxx/aic79xx_pci.c index 80d8e755ee90..0b4246fc8033 100644 --- a/sys/dev/aic7xxx/aic79xx_pci.c +++ b/sys/dev/aic7xxx/aic79xx_pci.c @@ -451,8 +451,10 @@ ahd_pci_test_register_access(struct ahd_softc *ahd) * or read prefetching could be initiated by the * CPU or host bridge. Our device does not support * either, so look for data corruption and/or flaged - * PCI errors. + * PCI errors. First pause without causing another + * chip reset. */ + hcntrl &= ~CHIPRST; ahd_outb(ahd, HCNTRL, hcntrl|PAUSE); while (ahd_is_paused(ahd) == 0) ; diff --git a/sys/dev/aic7xxx/aic7xxx_pci.c b/sys/dev/aic7xxx/aic7xxx_pci.c index 01cfab0e3134..476780bae530 100644 --- a/sys/dev/aic7xxx/aic7xxx_pci.c +++ b/sys/dev/aic7xxx/aic7xxx_pci.c @@ -1284,8 +1284,10 @@ ahc_pci_test_register_access(struct ahc_softc *ahc) * or read prefetching could be initiated by the * CPU or host bridge. Our device does not support * either, so look for data corruption and/or flagged - * PCI errors. + * PCI errors. First pause without causing another + * chip reset. */ + hcntrl &= ~CHIPRST; ahc_outb(ahc, HCNTRL, hcntrl|PAUSE); while (ahc_is_paused(ahc) == 0) ; |
