From fb94df0e92bd794da8dbd108f7af0649fb16d03a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=B8ren=20Schmidt?= Date: Fri, 6 Feb 2004 11:36:50 +0000 Subject: [PATCH] Commit simple workarounf for the "LiteOn" hang on boot problem. This allows the system to boot so I can get the world out of my mailbox and get some work done to figure out what this mess is all about. --- sys/dev/ata/ata-queue.c | 1 + 1 file changed, 1 insertion(+) diff --git a/sys/dev/ata/ata-queue.c b/sys/dev/ata/ata-queue.c index ac5375ec6da..874311eb04b 100644 --- a/sys/dev/ata/ata-queue.c +++ b/sys/dev/ata/ata-queue.c @@ -118,6 +118,7 @@ ata_controlcmd(struct ata_device *atadev, u_int8_t command, u_int16_t feature, request->u.ata.feature = feature; request->flags = ATA_R_CONTROL; request->timeout = 5; + request->retries = -1; ata_queue_request(request); error = request->result; ata_free_request(request);