Date: Fri, 08 Oct 2010 09:43:27 -0700 From: Matthew Jacob <mj@feral.com> To: freebsd-scsi@freebsd.org Subject: Re: [HEADSUP] changes to cam_get_device() and cam_open_device() Message-ID: <4CAF4A2F.1080705@feral.com> In-Reply-To: <4CAF480B.3020306@freebsd.org> References: <4BCDEBF6.3030609@icyb.net.ua> <4CA30B24.8040707@freebsd.org> <4CAEDF48.1030602@freebsd.org> <201010081221.24584.bruce@cran.org.uk> <4CAF31EE.6060409@freebsd.org> <4CAF3C6D.3020003@freebsd.org> <4CAF3D4A.70001@feral.com> <4CAF480B.3020306@freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
You might add a comment about why nfoo0 is a special case. Other than that, looks ok to me. > Matthew, thanks a lot! > Here is a new variant of the camlib.c patch: > http://people.freebsd.org/~avg/cam_get_device.2.diff > > I tried to preserve 'n' behavior (and added 'e'), but in a little bit more > elaborate fashion. > Instead of just checking for a leading 'n' I try to check for a known "non-rewind" > peripheral name between the 'n' and unit number. > I am aware only of sa(4) driver with such a feature at present. >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4CAF4A2F.1080705>