From dc2cc8545d4e55e5a2f5f503c1d9514cfcbb5dc3 Mon Sep 17 00:00:00 2001 From: Jason Wright Date: Tue, 7 May 2002 20:37:25 +0000 Subject: 7811 needs a short pause before setting up the DMA CSR during reset or it will hang during the first DMA operation on some machines. --- sys/dev/pci/hifn7751.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'sys/dev/pci/hifn7751.c') diff --git a/sys/dev/pci/hifn7751.c b/sys/dev/pci/hifn7751.c index e292e63963c..59a9e19b9ee 100644 --- a/sys/dev/pci/hifn7751.c +++ b/sys/dev/pci/hifn7751.c @@ -1,4 +1,4 @@ -/* $OpenBSD: hifn7751.c,v 1.118 2002/04/30 16:03:19 jason Exp $ */ +/* $OpenBSD: hifn7751.c,v 1.119 2002/05/07 20:37:24 jason Exp $ */ /* * Invertex AEON / Hifn 7751 driver @@ -716,6 +716,8 @@ hifn_init_pci_registers(sc) WRITE_REG_1(sc, HIFN_1_DMA_RRAR, sc->sc_dmamap->dm_segs[0].ds_addr + offsetof(struct hifn_dma, resr[0])); + DELAY(2000); + /* write status register */ WRITE_REG_1(sc, HIFN_1_DMA_CSR, HIFN_DMACSR_D_CTRL_DIS | HIFN_DMACSR_R_CTRL_DIS | -- cgit v1.2.3