Date: Tue, 04 Sep 2001 15:21:18 -0600 From: "Justin T. Gibbs" <gibbs@scsiguy.com> To: Lars =?iso-8859-1?Q?K=F6ller?= <lkoeller@cc.fh-lippe.de> Cc: "Kenneth D. Merry" <ken@plutotech.com>, freebsd-scsi@FreeBSD.ORG, lkoeller@FreeBSD.ORG Subject: Re: Wire of SCSI devices gives warning messages Message-ID: <200109042121.f84LLIY56024@aslan.scsiguy.com> In-Reply-To: Your message of "Tue, 04 Sep 2001 22:26:18 %2B0200." <200109042026.f84KQIb01056@odie.lippe.de>
next in thread | previous in thread | raw e-mail | index | archive | help
Hmm. There seems to be a bug in the -stable code. Does this patch make a difference for you? -- Justin Index: cam_periph.c =================================================================== RCS file: /usr/cvs/src/sys/cam/cam_periph.c,v retrieving revision 1.24.2.1 diff -c -r1.24.2.1 cam_periph.c *** cam_periph.c 2000/09/11 05:37:00 1.24.2.1 --- cam_periph.c 2001/09/04 21:19:10 *************** *** 330,341 **** char pathbuf[32], *strval, *periph_name; unit = 0; - hit = 0; periph_name = p_drv->driver_name; snprintf(pathbuf, sizeof(pathbuf), "scbus%d", pathid); i = -1; while ((i = resource_locate(i, periph_name)) != -1) { dname = resource_query_name(i); dunit = resource_query_unit(i); if (resource_string_value(dname, dunit, "at", &strval) == 0) { --- 330,341 ---- char pathbuf[32], *strval, *periph_name; unit = 0; periph_name = p_drv->driver_name; snprintf(pathbuf, sizeof(pathbuf), "scbus%d", pathid); i = -1; while ((i = resource_locate(i, periph_name)) != -1) { + hit = 0; dname = resource_query_name(i); dunit = resource_query_unit(i); if (resource_string_value(dname, dunit, "at", &strval) == 0) { To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-scsi" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200109042121.f84LLIY56024>