From 3082a6dc59ac18c9d75f22bf2991816967b001f5 Mon Sep 17 00:00:00 2001 From: Søren Schmidt Date: Wed, 24 Nov 1999 21:40:05 +0000 Subject: Add DMA support for the VIA 82C586 & 82C686 chips, also rearrange to fall back to slower speeds if the faster ones fails to probe. Log and retry request on UDMA CRC errors. Fix a couple of warnings. --- sys/dev/ata/atapi-cd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sys/dev/ata/atapi-cd.c') diff --git a/sys/dev/ata/atapi-cd.c b/sys/dev/ata/atapi-cd.c index 5e01911a0988b..cc18ecfbc340d 100644 --- a/sys/dev/ata/atapi-cd.c +++ b/sys/dev/ata/atapi-cd.c @@ -104,7 +104,7 @@ acdattach(struct atapi_softc *atp) { struct acd_softc *cdp; struct changer *chp; - int32_t error, count; + int32_t count, error = 0; static int32_t acd_cdev_done = 0, acdnlun = 0; if (!acd_cdev_done) { -- cgit v1.3