[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Problem with DMA registers with module driver

>One thing you need to keep in mind is that when you load a driver as a
>module the text, data and bss is allocated as paged memory from kernel
>segment d. This means that virt_to_phys() won't work on buffers declared
>as variables in your module. Allocate the buffers using kmalloc()

Ah, that could be the reason, I'll try that, thank you very much, Lars !

	Arne Bockholdt

Dipl. Inform. Arne Bockholdt
REA Elektronik GmbH
Teichwiesenstr. 1
64367 Mühltal-Waschenbach
Tel. +49 (0) 6154 / 638-115, Fax -195