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 [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message

Reply via email to