Re: [PATCH] New phys_addr() syscall

Alan Cox (alan@lxorguk.ukuu.org.uk)
Mon, 20 Jul 1998 00:49:00 +0100 (BST)


> OK, so it's not a safe and clean mechanism. On the other hand, if you
> want a fast and dirty mechanism, it should work fine. Something akin
> to the U-NET ATM drivers could use it.

The right way to do this currently is a driver that kmalloc/vmallocs
buffers and maps them to user space combined with a phys<->virt ioctl
and also irq support in the same way - this will materially help XFree
support for the latest cards

> Note: I'm not saying that this is the way networking should be done!
> It's just something that I noticed you could do if you wanted.

I still don't think it should be a syscall - an ioctl on /dev/mem maybe

Alan

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.altern.org/andrebalsa/doc/lkml-faq.html