From owner-freebsd-current Thu Jun 21 0:46:51 2001 Delivered-To: freebsd-current@freebsd.org Received: from freebsd.dk (fw-rl0.freebsd.dk [212.242.86.114]) by hub.freebsd.org (Postfix) with ESMTP id ECB4737B408 for ; Thu, 21 Jun 2001 00:46:46 -0700 (PDT) (envelope-from sos@freebsd.dk) Received: (from sos@localhost) by freebsd.dk (8.11.3/8.11.3) id f5L7kh617398; Thu, 21 Jun 2001 09:46:43 +0200 (CEST) (envelope-from sos) From: Søren Schmidt Message-Id: <200106210746.f5L7kh617398@freebsd.dk> Subject: Re: More ATA disks with tagged queueing ? In-Reply-To: <20010621144127.05393@mail.nsk.ru> "from Nickolay N. Dudorov at Jun 21, 2001 02:41:27 pm" To: "Nickolay N. Dudorov" Date: Thu, 21 Jun 2001 09:46:43 +0200 (CEST) Cc: current@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL88 (25)] MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset=ISO-8859-1 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 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) 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