Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 12 May 2010 11:18:40 -0700
From:      Matthew Jacob <mj@feral.com>
To:        Dmitry Marakasov <amdmi3@amdmi3.ru>
Cc:        svn-src-head@FreeBSD.org, svn-src-all@FreeBSD.org, src-committers@FreeBSD.org, Matt Jacob <mjacob@FreeBSD.org>
Subject:   Re: svn commit: r207933 - head/sys/cam/scsi
Message-ID:  <4BEAF100.5020500@feral.com>
In-Reply-To: <20100512181250.GB497@hades.panopticon>
References:  <201005112222.o4BMM1uq012874@svn.freebsd.org> <20100512181250.GB497@hades.panopticon>

next in thread | previous in thread | raw e-mail | index | archive | help
On 05/12/2010 11:12 AM, Dmitry Marakasov wrote:
> * Matt Jacob (mjacob@FreeBSD.org) wrote:
>
>    
>> -	(void)make_dev_alias(softc->dev, "sg%c", 'a' + periph->unit_number);
>> +	if (periph->unit_number<  26) {
>> +		(void)make_dev_alias(softc->dev, "sg%c", periph->unit_number + 'a');
>> +	} else {
>> +		(void)make_dev_alias(softc->dev, "sg%c%c",
>> +		    ((periph->unit_number / 26) - 1) + 'a', periph->unit_number + 'a');
>>      
> 		((periph->unit_number / 26) - 1) + 'a', (periph->unit_number % 26) + 'a');
>
> No?
>
>    
yes, yes, the followup change corrected my pulling the wrong patch
thx




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4BEAF100.5020500>