[Q] How can I transfer data from hard disk to PCI device's memory

From: Cho, joon-woo (jwc@core.kaist.ac.kr)
Date: Thu Aug 07 2003 - 00:45:37 EST


Hello.

I want to transfer data 'directly' from hard disk to some PCI device which
has memory

with the helpf of kernel(file system, device driver).

In above sentence 'directly' means that data does not go through main memory
of host.

So I am analyzing kernel code, but I am so confused because of memory system

complexity (page, buffer, ... ).

I find buffer head structure(struct buffer_head) has b_data pointer
variable.

I think kernel transfer data from HDD to this pointer variable.

Can I map this pointer variable(b_data) to PCI device's memory?

I am very confused because this part is highly related with complex memory
system

(page & buffer).

Please give me some hint. Thanks.

-
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 : Thu Aug 07 2003 - 22:00:36 EST