From owner-cvs-all Thu Sep 17 15:29:32 1998 Return-Path: Received: (from daemon@localhost) by hub.freebsd.org (8.8.8/8.8.8) id PAA21778 for cvs-all-outgoing; Thu, 17 Sep 1998 15:29:32 -0700 (PDT) (envelope-from owner-cvs-all) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id PAA21766; Thu, 17 Sep 1998 15:29:24 -0700 (PDT) (envelope-from gibbs@FreeBSD.org) From: "Justin T. Gibbs" Received: (from gibbs@localhost) by freefall.freebsd.org (8.8.8/8.8.5) id PAA28532; Thu, 17 Sep 1998 15:29:03 -0700 (PDT) Date: Thu, 17 Sep 1998 15:29:03 -0700 (PDT) Message-Id: <199809172229.PAA28532@freefall.freebsd.org> To: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG Subject: cvs commit: src/sys/pci ncr.c Sender: owner-cvs-all@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk gibbs 1998/09/17 15:29:02 PDT Modified files: sys/pci ncr.c Log: Really correct ncr_freeze_devq now. We scan backwards from the current insertion point into the start queue looking for entries to remove and mark them with the 'skip' address, recording the entry furthest from the insertion point that needs to be removed. We then go through a second loop starting at the furthest entry to be removed and compress the start queue. The old algorithm started at (old insert point + 1) and wrapped through the whole queue which would end up moving the start position in the queue out from under the nose of the scrip processor. Revision Changes Path 1.129 +26 -11 src/sys/pci/ncr.c