Compile error with linux-2.5.5-pre1 & advansys scsi

Gerold J. Wucherpfennig
2002-02-14T20:48:55Z

The advansys scsi driver of linux-2.5.5-pre1 doesn't compile ...

Here is the error message:

make[3]: Entering directory `/usr/src/linux/drivers/scsi'
gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes
-Wno-trigraphs -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common
-pipe -mpreferred-stack-boundary=2 -march=i686 -DKBUILD_BASENAME=advansys
-c -o advansys.o advansys.c
advansys.c:755:2: #error Please convert me to Documentation/DMA-mapping.txt
advansys.c: In function `asc_build_req':
advansys.c:6754: structure has no member named `address'
advansys.c:6754: structure has no member named `address'
advansys.c: In function `adv_get_sglist':
advansys.c:7014: structure has no member named `address'
advansys.c:7014: structure has no member named `address'
advansys.c: In function `asc_isr_callback':
advansys.c:7056: warning: passing arg 1 of
`bus_to_virt_not_defined_use_pci_map' makes pointer from integer without a
cast
advansys.c: In function `adv_isr_callback':
advansys.c:7231: warning: passing arg 1 of
`bus_to_virt_not_defined_use_pci_map' makes pointer from integer without a
cast
advansys.c: In function `AdvInitAsc3550Driver':
advansys.c:15507: warning: passing arg 1 of
`bus_to_virt_not_defined_use_pci_map' makes pointer from integer without a
cast
advansys.c:15528: warning: passing arg 1 of
`bus_to_virt_not_defined_use_pci_map' makes pointer from integer without a
cast
advansys.c: In function `AdvInitAsc38C0800Driver':
advansys.c:16129: warning: passing arg 1 of
`bus_to_virt_not_defined_use_pci_map' makes pointer from integer without a
cast
advansys.c:16151: warning: passing arg 1 of
`bus_to_virt_not_defined_use_pci_map' makes pointer from integer without a
cast
advansys.c: In function `AdvInitAsc38C1600Driver':
advansys.c:16765: warning: passing arg 1 of
`bus_to_virt_not_defined_use_pci_map' makes pointer from integer without a
cast
advansys.c:16790: warning: passing arg 1 of
`bus_to_virt_not_defined_use_pci_map' makes pointer from integer without a
cast
advansys.c: In function `AdvExeScsiQueue':
advansys.c:17982: warning: passing arg 1 of
`bus_to_virt_not_defined_use_pci_map' makes pointer from integer without a
cast
advansys.c: In function `AdvISR':
advansys.c:18308: warning: passing arg 1 of
`bus_to_virt_not_defined_use_pci_map' makes pointer from integer without a
cast
advansys.c:18329: warning: passing arg 1 of
`bus_to_virt_not_defined_use_pci_map' makes pointer from integer without a
cast
make[3]: *** [advansys.o] Error 1
make[3]: Leaving directory `/usr/src/linux/drivers/scsi'
make[2]: *** [first_rule] Error 2
make[2]: Leaving directory `/usr/src/linux/drivers/scsi'
make[1]: *** [_subdir_scsi] Error 2
make[1]: Leaving directory `/usr/src/linux/drivers'
make: *** [_dir_drivers] Error 2