diff options
author | Pete Zaitcev <zaitcev@redhat.com> | 2005-08-15 16:53:57 -0700 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2005-09-08 16:28:36 -0700 |
commit | 0256839619d9b1e933cafc83e7f0deaad4216465 (patch) | |
tree | afadd5815781a99e06ebb537d8ac677d307c09fe /drivers/usb/mon/usb_mon.h | |
parent | d0384200f6b608e77fb5ddf7dfae1bf0e42c1c6e (diff) | |
download | op-kernel-dev-0256839619d9b1e933cafc83e7f0deaad4216465.zip op-kernel-dev-0256839619d9b1e933cafc83e7f0deaad4216465.tar.gz |
[PATCH] usbmon in 2.6.13: peeking into DMA areas
This code looks at urb->transfer_dma, maps the page and takes the data.
I am looking for volunteers to contribute architectures other than i386
or to develop an architecure-neutral API for it (or point me that it
was done already).
Signed-off-by: Pete Zaitcev <zaitcev@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/usb/mon/usb_mon.h')
-rw-r--r-- | drivers/usb/mon/usb_mon.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/usb/mon/usb_mon.h b/drivers/usb/mon/usb_mon.h index 9b06784..4be0f93 100644 --- a/drivers/usb/mon/usb_mon.h +++ b/drivers/usb/mon/usb_mon.h @@ -45,6 +45,10 @@ struct mon_reader { void mon_reader_add(struct mon_bus *mbus, struct mon_reader *r); void mon_reader_del(struct mon_bus *mbus, struct mon_reader *r); +/* + */ +extern char mon_dmapeek(unsigned char *dst, dma_addr_t dma_addr, int len); + extern struct semaphore mon_lock; extern struct file_operations mon_fops_text; |