diff options
author | Pete Zaitcev <zaitcev@redhat.com> | 2005-08-15 19:53:57 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2005-09-08 19:28:36 -0400 |
commit | 0256839619d9b1e933cafc83e7f0deaad4216465 (patch) | |
tree | afadd5815781a99e06ebb537d8ac677d307c09fe /drivers/usb/mon/usb_mon.h | |
parent | d0384200f6b608e77fb5ddf7dfae1bf0e42c1c6e (diff) |
[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 { | |||
45 | void mon_reader_add(struct mon_bus *mbus, struct mon_reader *r); | 45 | void mon_reader_add(struct mon_bus *mbus, struct mon_reader *r); |
46 | void mon_reader_del(struct mon_bus *mbus, struct mon_reader *r); | 46 | void mon_reader_del(struct mon_bus *mbus, struct mon_reader *r); |
47 | 47 | ||
48 | /* | ||
49 | */ | ||
50 | extern char mon_dmapeek(unsigned char *dst, dma_addr_t dma_addr, int len); | ||
51 | |||
48 | extern struct semaphore mon_lock; | 52 | extern struct semaphore mon_lock; |
49 | 53 | ||
50 | extern struct file_operations mon_fops_text; | 54 | extern struct file_operations mon_fops_text; |