Date: Wed, 6 Aug 2003 14:49:57 -0400 From: Don Bowman <don@sandvine.com> To: 'Scott' <scottl@pooker.samsco.home>, Nate Lawson <nate@root.org> Cc: "'aic7xxx@freebsd.org'" <aic7xxx@freebsd.org> Subject: RE: Ongoing U320 AIC7902 Seagate ST318453LW issues, SCB timed out Message-ID: <FE045D4D9F7AED4CBFF1B3B813C8533702742171@mail.sandvine.com>
next in thread | raw e-mail | index | archive | help
> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?FE045D4D9F7AED4CBFF1B3B813C8533702742171>