RE: mpt driver in version 4.11 for LSI SAS 1068

From: xavier <x.ramirez_at_xifra.es>
Date: Wed, 12 Apr 2006 13:01:46 +0200
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
Received on Wed Apr 12 2006 - 09:01:54 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:54 UTC