On Thursday 04 May 2006 03:30, Greg Troxel wrote: > Joanne has written a proposal to modify NetBSD's ugen(4) to get good > performance for the USRP. We'd like feedback about the technical > approach. (Once we have it working, the changes will be commited to > NetBSD-current.) > > http://acert.ir.bbn.com/downloads/adroit/NetBSD-USB-continuous.pdf
I think the ioctl would be the cleanest approach - it would not break any existing software. I wonder if it may be possible to have the ioctl specify a packet size and the kernel will keep reading data of that packet size into the buffer as long as it isn't full. I think that would give you something that looks a lot closer to a normal device (normal being "what the unix IO model expects" :) It would be nice if you could do a readv() and then poll/kqueue/select/signal to see when an iovec has been filled, however I suspect that would require severe modification of the kernel internals. -- Daniel O'Connor software and network engineer for Genesis Software - http://www.gsoft.com.au "The nice thing about standards is that there are so many of them to choose from." -- Andrew Tanenbaum GPG Fingerprint - 5596 B766 97C0 0E94 4347 295E E593 DC20 7B3F CE8C
pgpO7WP9WzeZ7.pgp
Description: PGP signature
_______________________________________________ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org http://lists.gnu.org/mailman/listinfo/discuss-gnuradio