I have just produced a driver for another 5933-based device. Since my
client needs 100MB DMA's out of 128MB boxes, I chose to use high
memory. This is very efficient, and I used it for frame grabbers as
well.
With this approach no patch is needed: to get a 2MB buffer in a 32MB box,
for example, just boot with "mem=30M" and it's done.
The source is available as allocator.[ch] within these GPL'd drivers:
ftp://ftp.systemy.it/pub/develop/pxdrv-0.06.tar.gz
(one DMA buffer only)
ftp://ftp.systemy.it/pub/develop/adl7200-0.04.tar.gz
(newer implementation: drivers allocate/free high-memory regions)
Regards
/alessandro
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu