From owner-freebsd-current@FreeBSD.ORG Wed Apr 12 11:01:54 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 64B3216A401 for ; Wed, 12 Apr 2006 11:01:54 +0000 (UTC) (envelope-from x.ramirez@xifra.es) Received: from correo7.acens.net (correo7.acens.net [217.116.0.41]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4EB1943D73 for ; Wed, 12 Apr 2006 11:01:48 +0000 (GMT) (envelope-from x.ramirez@xifra.es) Received: (qmail 22005 invoked from network); 12 Apr 2006 11:01:47 -0000 Received: from unknown (HELO pcxavier) ([80.34.155.192]) (envelope-sender ) by correo7.acens.net (qmail-ldap-1.03) with SMTP for ; 12 Apr 2006 11:01:47 -0000 From: "xavier" To: "'Matthew Jacob'" , "'Julian Elischer'" Date: Wed, 12 Apr 2006 13:01:46 +0200 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook, Build 11.0.6353 In-Reply-To: <7579f7fb0604111438p36903593g26c2f0e04a788cf0@mail.gmail.com> Thread-Index: AcZdsK1QhFBqgAGrQd2gr4pbL4hZFAAbIkpw X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2670 Message-Id: <20060412110148.4EB1943D73@mx1.FreeBSD.org> Cc: freebsd-current@freebsd.org, mjacob@freebsd.org Subject: RE: mpt driver in version 4.11 for LSI SAS 1068 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 12 Apr 2006 11:01:54 -0000 I tried the steps you gave me copying the mpt files to version 4.11 and updating the conf/files but no success. These are the steps I followed. 1. There was a compiler error on '...'. I am currently using gcc version 2.95.3. Do I have to upgrade to a new version? I fixed this problem adding 'args' before '...' and changing __VA_ARGS__ with de keyboard 'args'. It seems this gcc is not fully iso compliant 2. I also removed MOD_QUISCE from mpt.c. It seems this functionality has been added after 4.11 and is not defined so I decided to comment this because will never be called 3. Now I get the following error that I don't know how to address. Can you give a hint on this? cc -c -O -pipe -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -fformat-extensions -ansi -nostdinc -I- -I. -I/usr/src/sys -I/usr/src/sys/../include -I/usr/src/sys/contrib/dev/acpica -I/usr/src/sys/contrib/ipfilter -D_KERNEL -include opt_global.h -mpreferred-stack-boundary=2 /usr/src/sys/dev/mpt/mpt.c In file included from /usr/src/sys/dev/mpt/mpt.h:124, from /usr/src/sys/dev/mpt/mpt.c:97: /usr/src/sys/sys/rman.h:54: syntax error before `bus_space_tag_t' /usr/src/sys/dev/mpt/mpt.c: In function `mpt_sysctl_attach': /usr/src/sys/dev/mpt/mpt.c:1995: warning: implicit declaration of function `device_get_sysctl_ctx' /usr/src/sys/dev/mpt/mpt.c:1995: warning: initialization makes pointer from integer without a cast /usr/src/sys/dev/mpt/mpt.c:1996: warning: implicit declaration of function `device_get_sysctl_tree' /usr/src/sys/dev/mpt/mpt.c:1996: warning: initialization makes pointer from integer without a cast *** Error code 1 Stop in /usr/obj/usr/src/sys/MARIAN. *** Error code 1 Stop in /usr/src. *** Error code 1 Stop in /usr/src. Thanks