Date: Thu, 17 Sep 1998 15:29:03 -0700 (PDT) From: "Justin T. Gibbs" <gibbs@FreeBSD.ORG> To: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG Subject: cvs commit: src/sys/pci ncr.c Message-ID: <199809172229.PAA28532@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199809172229.PAA28532>