Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 21 Jun 2001 09:46:43 +0200 (CEST)
From:      Søren Schmidt <sos@freebsd.dk>
To:        "Nickolay N. Dudorov" <nnd@mail.nsk.ru>
Cc:        current@FreeBSD.ORG
Subject:   Re: More ATA disks with tagged queueing ?
Message-ID:  <200106210746.f5L7kh617398@freebsd.dk>
In-Reply-To: <20010621144127.05393@mail.nsk.ru> "from Nickolay N. Dudorov at Jun 21, 2001 02:41:27 pm"

next in thread | previous in thread | raw e-mail | index | archive | help
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)

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?200106210746.f5L7kh617398>