[lkml]   [2002]   [May]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
Subjectaha152x.c incompatible with scatterlist in 2.5.12

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 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
More majordomo info at
Please read the FAQ at

 \ /
  Last update: 2005-03-22 13:25    [W:0.024 / U:0.156 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site