1) Uncompress Adapetc's code (adp94xx folder) at /usr/src/linux-2.6/drivers/scsi/
2) In your kernel tree at drivers/scsi/Kconfig, add the follow line:
source "drivers/scsi/adp94xx/Kconfig"
after this line:
source "drivers/scsi/aic7xxx/Kconfig.aic79xx"
3) In your kernel tree at drivers/scsi/Makefile, add the follow line:
obj-$(CONFIG_SCSI_ADP94XX) += adp94xx/
after this line:
obj-$(CONFIG_SCSI_AIC79XX) += aic7xxx/
4) In your kernel tree at drivers/scsi/scsi_typedefs.h, add the follow lines at begin of file:
typedef struct scsi_host_template Scsi_Host_Template;
typedef struct scsi_device Scsi_Device;
Thats it! Run make config or make menuconfig and configure your driver.
I will send two git patchs for you, if you prefer.
2006/5/13, rubyduck <rubyduck@xxxxxxxxxxxx>:
Hi Fabio,
I have just been trying to compile a 2.6 kernel with adp94xx and I am
getting many compile errors on the driver code.
I have tried source from ibm and from adaptec sites.
It would save me a lot of time if you could let me know how you built
them successfully.
Thanks very much,
Rubyduck
Fabio Guarneri wrote:
> Hi.
>
> I have added support for Adaptec's SAS adp94xx driver to kernel-2.6 tree and
> would like to post to kernel.org developers.
>
> How do this?
>
> Thanks.
>