Date: Sat, 5 Jun 2010 00:56:15 +0000 (UTC) From: Matt Jacob <mjacob@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r208809 - head/sys/dev/isp Message-ID: <201006050056.o550uFS4065030@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: mjacob Date: Sat Jun 5 00:56:15 2010 New Revision: 208809 URL: http://svn.freebsd.org/changeset/base/208809 Log: Make the internal target > SPC2 (so REPORT LUNS can be tested). Give the NIL inquiry data real values other than just plain 0x7f in the first byte. MFC after: 2 weeks Modified: head/sys/dev/isp/isp_freebsd.c Modified: head/sys/dev/isp/isp_freebsd.c ============================================================================== --- head/sys/dev/isp/isp_freebsd.c Sat Jun 5 00:55:21 2010 (r208808) +++ head/sys/dev/isp/isp_freebsd.c Sat Jun 5 00:56:15 2010 (r208809) @@ -3039,9 +3039,15 @@ isptargnotify(ispsoftc_t *isp, union ccb static void isptargstart(struct cam_periph *periph, union ccb *iccb) { - const uint8_t niliqd[SHORT_INQUIRY_LENGTH] = { 0x7f }; + const uint8_t niliqd[SHORT_INQUIRY_LENGTH] = { + 0x7f, 0x0, 0x5, 0x2, 32, 0, 0, 0x32, + 'F', 'R', 'E', 'E', 'B', 'S', 'D', ' ', + 'S', 'C', 'S', 'I', ' ', 'N', 'U', 'L', + 'L', ' ', 'D', 'E', 'V', 'I', 'C', 'E', + '0', '0', '0', '1' + }; const uint8_t iqd[SHORT_INQUIRY_LENGTH] = { - 0, 0x0, 0x2, 0x2, 32, 0, 0, 0x32, + 0, 0x0, 0x5, 0x2, 32, 0, 0, 0x32, 'F', 'R', 'E', 'E', 'B', 'S', 'D', ' ', 'S', 'C', 'S', 'I', ' ', 'M', 'E', 'M', 'O', 'R', 'Y', ' ', 'D', 'I', 'S', 'K',
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201006050056.o550uFS4065030>