aha152x.c incompatible with scatterlist in 2.5.12

From: Leo Liberti IrisTech (liberti@falstaff.iris-tech.net)
Date: Thu May 02 2002 - 12:20:11 EST

Hello, I am having problems building kernel 2.5.12 on an i686 arch - in
particular the aha152x module (built as a PCMCIA module) does not compile
because it depends on "struct scatterlist" (see include/asm/scatterlist.h)
having the member "char* address". Kernels 2.4.x had

struct scatterlist {
    char * address; /* Location data is to be transferred to */
    char * alt_address; /* Location of actual if address is a
                         * dma indirect buffer. NULL otherwise */
    unsigned int length;

whereas kernels 2.5.x have a different declaration of scatterlist:

struct scatterlist {
    struct page *page;
    unsigned int offset;
    dma_addr_t dma_address;
    unsigned int length;

I don't know enough about the SCSI subsystem changes to fix this myself -
does anyone have a hint?

Could you please reply also to liberti@iris-tech.net as I am not
subscribed to the linux-kernel list.



To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

This archive was generated by hypermail 2b29 : Tue May 07 2002 - 22:00:14 EST