diff options
author | Pete Zaitcev <zaitcev@redhat.com> | 2005-08-16 01:53:57 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2005-09-09 01:28:36 +0200 |
commit | 0256839619d9b1e933cafc83e7f0deaad4216465 (patch) | |
tree | afadd5815781a99e06ebb537d8ac677d307c09fe /drivers/usb/mon/usb_mon.h | |
parent | [PATCH] ehci: add tt_usecs (diff) | |
download | linux-0256839619d9b1e933cafc83e7f0deaad4216465.tar.xz linux-0256839619d9b1e933cafc83e7f0deaad4216465.zip |
[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 9b06784d2c48..4be0f9346071 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; |