From owner-cvs-all Sun Jan 16 22:20:12 2000 Delivered-To: cvs-all@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id 07C1314FDE; Sun, 16 Jan 2000 22:20:10 -0800 (PST) (envelope-from mjacob@FreeBSD.org) Received: (from mjacob@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id WAA46080; Sun, 16 Jan 2000 22:20:09 -0800 (PST) (envelope-from mjacob@FreeBSD.org) Message-Id: <200001170620.WAA46080@freefall.freebsd.org> From: Matt Jacob Date: Sun, 16 Jan 2000 22:20:09 -0800 (PST) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/cam cam_xpt.c Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk mjacob 2000/01/16 22:20:09 PST Modified files: sys/cam cam_xpt.c Log: Remove garbage collected tags from their usage in the ccb_getdev structure. Remove usage of the (now gone) pd_type tag of same. Add an extra probing state such that if we successfully run an initial inquiry (36 bytes), rerun another one with a longer data size as informed by the 'additional length' field in the first returned inquiry data (making sure not to get bigger than the actual scsi_inquiry_data structure- which has also been modified- see separate checkin of scsi_all.h). This allows devices such as SAF-TE devices (which have identifying marks in offsets 48-53 in inquiry data) to be successfully found without special case inquiry commands. There are also a lot of other things such as version codes that are coming in in the SPC2 specification that it would be useful to get our hands on. Reviewed by: gibbs@freebsd.org, ken@freebsd.org Revision Changes Path 1.78 +40 -13 src/sys/cam/cam_xpt.c To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message