RE: mpt driver in version 4.11 for LSI SAS 1068

From: xavier <x.ramirez_at_xifra.es>
Date: Wed, 12 Apr 2006 14:19:58 +0200
Oops sorry, I did not get the last version in current, once I got the last
version everything to work as expected

thanks



-----Mensaje original-----

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



_______________________________________________
freebsd-current_at_freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscribe_at_freebsd.org"
Received on Wed Apr 12 2006 - 10:20:02 UTC

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