From owner-freebsd-scsi@FreeBSD.ORG Wed Aug 6 11:50:05 2003 Return-Path: Delivered-To: freebsd-scsi@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 08FB737B401; Wed, 6 Aug 2003 11:50:05 -0700 (PDT) Received: from mail.sandvine.com (sandvine.com [199.243.201.138]) by mx1.FreeBSD.org (Postfix) with ESMTP id 250CB43FA3; Wed, 6 Aug 2003 11:50:04 -0700 (PDT) (envelope-from don@sandvine.com) Received: by mail.sandvine.com with Internet Mail Service (5.5.2653.19) id <305LHNLH>; Wed, 6 Aug 2003 14:50:03 -0400 Message-ID: From: Don Bowman To: 'Scott' , Nate Lawson Date: Wed, 6 Aug 2003 14:49:57 -0400 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="iso-8859-1" cc: "'freebsd-scsi@freebsd.org'" cc: "'aic7xxx@freebsd.org'" Subject: RE: Ongoing U320 AIC7902 Seagate ST318453LW issues, SCB timed out X-BeenThere: freebsd-scsi@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: SCSI subsystem List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 06 Aug 2003 18:50:05 -0000 > From: Scott [mailto:scottl@pooker.samsco.home] > On Wed, 6 Aug 2003, Nate Lawson wrote: > > > On Wed, 6 Aug 2003, Justin T. Gibbs wrote: > > > > I offer this patch to make a loader tunable out of the maximum > > > > tags supported. > > > > > > It should be a cam tunable. > > > > Terse. I think he means it should be "kern.cam.ahd%d.max_tags" > > > > I'll go out on a limb and suggest 'kern.cam.da%d.max_tags" or > something > similar, as this will be useful for more than just the Adaptec chip. OK, you guys are exceeding my knowledge :) cam_sim_alloc() seems to be the fn that ahd_attach() calls that sets this. i can put the tunable in cam_sim_alloc. Now, what is da%d? This can't be per device (e.g. da0) I don't think, it seems to be global to the driver. the name that i know @ this level is ahd0 etc, i could put this in cam so that its sprintf(name, "kern.cam.%s%d.max_tags", sim_name, unit) and then it would work for any driver. justin suggested e.g. scsi0 for the name there, where would i get that info? --don