Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 14 Aug 2009 10:02:15 +0000 (UTC)
From:      "Bjoern A. Zeeb" <bzeeb-lists@lists.zabbadoz.net>
To:        Scott Long <scottl@FreeBSD.org>
Cc:        svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org
Subject:   Re: svn commit: r196200 - in head: etc/mtree include sys/dev/mfi usr.sbin usr.sbin/mfiutil
Message-ID:  <20090814095726.A93661@maildrop.int.zabbadoz.net>
In-Reply-To: <200908132318.n7DNIjvO015601@svn.freebsd.org>
References:  <200908132318.n7DNIjvO015601@svn.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 13 Aug 2009, Scott Long wrote:

> Author: scottl
> Date: Thu Aug 13 23:18:45 2009
> New Revision: 196200
> URL: http://svn.freebsd.org/changeset/base/196200
>
> Log:
>  ntroduce mfiutil, a basic utility for managing LSI SAS-RAID & Dell PERC5/6
>  controllers.  Controller, array, and drive status can be checked, basic
>  attributes can be changed, and arrays and spares can be created and deleted.
>  Controller firmware can also be flashed.
>
>  This does not replace MegaCLI, found in ports, as that is officially sanctioned
>  and supported by LSI and includes vastly more functionality.  However, mfiutil
>  is open source and guaranteed to provide basic functionality, which can be
>  especially useful if you have a problem and can't get MegaCLI to work.
>
>  Approved by:    re
>  Obtained from:  Yahoo! Inc.

as you noticed already it breaks here on 32bit platforms:

/src/usr.sbin/mfiutil/mfi_drive.c: In function 'mfi_lookup_drive':
/src/usr.sbin/mfiutil/mfi_drive.c:120: warning: comparison between signed and unsigned

         struct mfi_pd_list {
                 uint32_t                size;
                 uint32_t                count;
                 struct mfi_pd_address   addr[0];
         } __packed;

        long val;
        struct mfi_pd_list *list

   120  for (val = 0; val < list->count; val++) {


long vs uint32_t.

-- 
Bjoern A. Zeeb           What was I talking about and who are you again?



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