From owner-cvs-all Tue Sep 22 20:03:33 1998 Return-Path: Received: (from daemon@localhost) by hub.freebsd.org (8.8.8/8.8.8) id UAA08570 for cvs-all-outgoing; Tue, 22 Sep 1998 20:03:33 -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 UAA08537; Tue, 22 Sep 1998 20:03:21 -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 UAA00796; Tue, 22 Sep 1998 20:03:20 -0700 (PDT) Date: Tue, 22 Sep 1998 20:03:20 -0700 (PDT) Message-Id: <199809230303.UAA00796@freefall.freebsd.org> To: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG Subject: cvs commit: src/sys/cam cam_xpt.c Sender: owner-cvs-all@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk gibbs 1998/09/22 20:03:19 PDT Modified files: sys/cam cam_xpt.c Log: Allow 5 untagged commands to go to a device before enabling tags after enabling transfer negotiations, a BDR, or a bus reset to allow the controller driver to negotiate without tagged messages getting in the way. Some devices are confused by attempts to negotiate and tag at the same time. Some controllers (e.g. BT MultiMaster with certain firmware revs) will never negotiate if you don't give them an untagged "window" to perform negotiation in. Bump the maximum tag count to 255. The system reclaims unused tag space as the tag count is dropped anyway, so we might as well try the max. We should probably use a larger type than u_int8_t to hold our tag value as SCSI over certain mediums allows for higher values. Reviewed by: Kenneth Merry Revision Changes Path 1.12 +90 -30 src/sys/cam/cam_xpt.c