Re: [PATCH] Re: AMD 53c974 SCSI driver in 2.6

From: Russell King
Date: Fri Oct 31 2003 - 08:11:21 EST


On Fri, Oct 31, 2003 at 01:19:56PM +0100, Guennadi Liakhovetski wrote:
> > Oh. What driver did you find this construct in?
>
> grep... (maybe not all of them are real hits, but, most of them do
> certainly look very much like what I've done). BTW, I also saw arrays of
> cards in some drvers, which also doesn't correspond to your suggestions:
>
> drivers/scsi/arm/scsi.h-41- SCp->ptr = (char *)
> drivers/scsi/arm/scsi.h:42: (page_address(SCp->buffer->page) +
> drivers/scsi/arm/scsi.h-43- SCp->buffer->offset);
> --
> drivers/scsi/arm/scsi.h-79- SCpnt->SCp.ptr = (char *)
> drivers/scsi/arm/scsi.h:80: (page_address(SCpnt->SCp.buffer->page) +
> drivers/scsi/arm/scsi.h-81- SCpnt->SCp.buffer->offset);

The drivers which use this will never be used on highmem-capable machines.

--
Russell King
Linux kernel 2.6 ARM Linux - http://www.arm.linux.org.uk/
maintainer of: 2.6 PCMCIA - http://pcmcia.arm.linux.org.uk/
2.6 Serial core
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/