From owner-freebsd-current Thu Jun 21 1:58:35 2001 Delivered-To: freebsd-current@freebsd.org Received: from infoteka.nsk.ru (infoteka.nsk.ru [212.20.32.40]) by hub.freebsd.org (Postfix) with SMTP id A8F8337B408 for ; Thu, 21 Jun 2001 01:58:30 -0700 (PDT) (envelope-from nnd@infoteka.nsk.ru) Received: (qmail 6061 invoked by uid 1001); 21 Jun 2001 08:58:28 -0000 Message-ID: <20010621155827.59093@mail.nsk.ru> Date: Thu, 21 Jun 2001 15:58:27 +0700 From: "Nickolay N. Dudorov" To: =?koi8-r?Q?S=F8ren_Schmidt?= Cc: current@freebsd.org Subject: Re: More ATA disks with tagged queueing ? References: <20010621144127.05393@mail.nsk.ru> <200106210746.f5L7kh617398@freebsd.dk> Mime-Version: 1.0 Content-Type: text/plain; charset=koi8-r Content-Transfer-Encoding: 8bit X-Mailer: Mutt 0.81e 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_+0200?= Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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: > > > > 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