On Fri, 09 May 2008 15:11:43 -0500, David C. Rankin wrote:
CC [M] /home/david/linux/boxes/trinity/promise/ut_mod/pdc-ulsata2.o /home/david/linux/boxes/trinity/promise/ut_mod/pdc-ulsata2.c: In function ‘__unmap_scsi_data’: /home/david/linux/boxes/trinity/promise/ut_mod/pdc-ulsata2.c:251: error: ‘Scsi_Cmnd’ has no member named ‘buffer’ /home/david/linux/boxes/trinity/promise/ut_mod/pdc-ulsata2.c: In function ‘__map_scsi_sg_data’: /home/david/linux/boxes/trinity/promise/ut_mod/pdc-ulsata2.c:287: error: ‘Scsi_Cmnd’ has no member named ‘buffer’ /home/david/linux/boxes/trinity/promise/ut_mod/pdc-ulsata2.c: In function ‘ulsata2_findcards’: /home/david/linux/boxes/trinity/promise/ut_mod/pdc-ulsata2.c:555: warning: ‘pci_find_device’ is deprecated (declared at include/linux/pci.h:477) /home/david/linux/boxes/trinity/promise/ut_mod/pdc-ulsata2.c: In function ‘ulsata2_init_cam’: /home/david/linux/boxes/trinity/promise/ut_mod/pdc-ulsata2.c:1043: warning: ‘deprecated_irq_flag’ is deprecated (declared at include/linux/interrupt.h:66) /home/david/linux/boxes/trinity/promise/ut_mod/pdc-ulsata2.c:1043: warning: ‘deprecated_irq_flag’ is deprecated (declared at include/linux/interrupt.h:66) /home/david/linux/boxes/trinity/promise/ut_mod/pdc-ulsata2.c:1043: warning: passing argument 2 of ‘request_irq’ from incompatible pointer type /home/david/linux/boxes/trinity/promise/ut_mod/pdc-ulsata2.c:1044: warning: format ‘%d’ expects type ‘int’, but argument 3 has type ‘struct ulsata2_adapter_t *’ /home/david/linux/boxes/trinity/promise/ut_mod/pdc-ulsata2.c: At top level: /home/david/linux/boxes/trinity/promise/ut_mod/pdc-ulsata2.c:1195: error: expected ‘)’ before ‘*’ token /home/david/linux/boxes/trinity/promise/ut_mod/pdc-ulsata2.c:1331: error: expected ‘)’ before ‘*’ token /home/david/linux/boxes/trinity/promise/ut_mod/pdc-ulsata2.c: In function ‘ulsata2_cbk_atapi_pio’: /home/david/linux/boxes/trinity/promise/ut_mod/pdc-ulsata2.c:1913: warning: unused variable ‘pada’ /home/david/linux/boxes/trinity/promise/ut_mod/pdc-ulsata2.c: In function ‘camWriteRegByte’: /home/david/linux/boxes/trinity/promise/ut_mod/pdc-ulsata2.c:2939: warning: passing argument 2 of ‘writeb’ makes pointer from integer without a cast /home/david/linux/boxes/trinity/promise/ut_mod/pdc-ulsata2.c: In function ‘camReadRegByte’: /home/david/linux/boxes/trinity/promise/ut_mod/pdc-ulsata2.c:2943: warning: passing argument 1 of ‘readb’ makes pointer from integer without a cast /home/david/linux/boxes/trinity/promise/ut_mod/pdc-ulsata2.c: In function ‘camWriteRegWord’: /home/david/linux/boxes/trinity/promise/ut_mod/pdc-ulsata2.c:2947: warning: passing argument 2 of ‘writew’ makes pointer from integer without a cast /home/david/linux/boxes/trinity/promise/ut_mod/pdc-ulsata2.c: In function ‘camReadRegWord’: /home/david/linux/boxes/trinity/promise/ut_mod/pdc-ulsata2.c:2951: warning: passing argument 1 of ‘readw’ makes pointer from integer without a cast /home/david/linux/boxes/trinity/promise/ut_mod/pdc-ulsata2.c: In function ‘camWriteRegDword’: /home/david/linux/boxes/trinity/promise/ut_mod/pdc-ulsata2.c:2955: warning: passing argument 2 of ‘writel’ makes pointer from integer without a cast /home/david/linux/boxes/trinity/promise/ut_mod/pdc-ulsata2.c: In function ‘camReadRegDword’: /home/david/linux/boxes/trinity/promise/ut_mod/pdc-ulsata2.c:2959: warning: passing argument 1 of ‘readl’ makes pointer from integer without a cast /home/david/linux/boxes/trinity/promise/ut_mod/pdc-ulsata2.c:3187:16: warning: missing whitespace after the macro name /home/david/linux/boxes/trinity/promise/ut_mod/pdc-ulsata2.c: At top level: /home/david/linux/boxes/trinity/promise/ut_mod/pdc-ulsata2.c:3302: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘driver_template’ In file included from /home/david/linux/boxes/trinity/promise/ut_mod/pdc-ulsata2.c:3316: /usr/src/linux/drivers/scsi/scsi_module.c: In function ‘init_this_scsi_driver’: /usr/src/linux/drivers/scsi/scsi_module.c:19: error: ‘driver_template’ undeclared (first use in this function) /usr/src/linux/drivers/scsi/scsi_module.c:19: error: (Each undeclared identifier is reported only once /usr/src/linux/drivers/scsi/scsi_module.c:19: error: for each function it appears in.) /usr/src/linux/drivers/scsi/scsi_module.c: In function ‘exit_this_scsi_driver’: /usr/src/linux/drivers/scsi/scsi_module.c:54: error: ‘driver_template’ undeclared (first use in this function)
Like I said, these errors have nothing to do with the missing modversions. Even if you'd fix all the previous problems, the code hasn't been maintained and adapted to the current kernel code. And unless you're a skilled kernel hacker, any further time spent on this junk is wasted. Philipp -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org