Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 21 Jun 2001 15:58:27 +0700
From:      "Nickolay N. Dudorov" <nnd@mail.nsk.ru>
To:        =?koi8-r?Q?S=F8ren_Schmidt?= <sos@freebsd.dk>
Cc:        current@freebsd.org
Subject:   Re: More ATA disks with tagged queueing ?
Message-ID:  <20010621155827.59093@mail.nsk.ru>
In-Reply-To: =?koi8-r?Q?=3C200106210746=2Ef5L7kh617398=40freebsd=2Edk=3E=3B_from_S=F8?= =?koi8-r?Q?ren_Schmidt_on_Thu=2C_Jun_21=2C_2001_at_09=3A46=3A43AM_%2B0200?=
References:  <20010621144127.05393@mail.nsk.ru> <200106210746.f5L7kh617398@freebsd.dk>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Jun 21, 2001 at 09:46:43AM +0200, Søren Schmidt wrote:
> It seems Nickolay N. Dudorov wrote:
> > > The diskid (IC...) has me somewhat stumped though, I would have thougt
> > > the used something like all other IBM disks. Is this a genuine IBM disk
> > > or is it some kind of OEM/rebadged device ?
> > 
> > 	Yes, this IS genuine IBM disk.
> > See: <http://www.storage.ibm.com/hardsoft/diskdrdl/desk/ds60gxp.htm>;
> > 
> > 	So I'll continue to use patched 'sys/dev/ata/ata-disk.c'
> > and hope this will work ;-)
> 
> :) well could you try this patch instead, that should work with
> all future IBM ATA disks (as long a they stick to this scheme
> that is, and still support tags)

	Yes this patch (obviously) work.

	And what about new (or future) Travelstar models with
the names of the "IC25T048ATDA05" sort ?
(No, I have no such disks :-)

	N.Dudorov

> Index: ata-disk.c
> ===================================================================
> RCS file: /home/ncvs/src/sys/dev/ata/ata-disk.c,v
> retrieving revision 1.108
> diff -u -r1.108 ata-disk.c
> --- ata-disk.c	2001/06/08 05:24:13	1.108
> +++ ata-disk.c	2001/06/21 07:43:55
> @@ -856,6 +856,14 @@
>  		return 1;
>  	    i++;
>  	}
> +	/* 
> +	 * check IBM's new obscure way of naming drives 
> +	 * we want "IC" (IBM CORP) and "AV" (ATA interface)
> +	 * but doesn't care about the other crap (size, capacity etc)
> +	 */
> +	if (!strncmp(AD_PARAM->model, "IC", 2) &&
> +	    !strncmp(AD_PARAM->model + 8, "AV", 2) )
> +		return 1;
>      }
>      return 0;
>  }
> -Søren

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message




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