aboutsummaryrefslogtreecommitdiff
path: root/sys/boot/usb
diff options
context:
space:
mode:
authorZbigniew Bodek <zbb@FreeBSD.org>2015-11-27 18:13:28 +0000
committerZbigniew Bodek <zbb@FreeBSD.org>2015-11-27 18:13:28 +0000
commit7f34c97a798c2f5b9f7a9a526db279d7760bfa23 (patch)
tree15335c1ee5ad0785ebb55b405841676e5b4b6f27 /sys/boot/usb
parent9dbc22c5aa6f7dfa09a9350402f47729413849a7 (diff)
Notes
Diffstat (limited to 'sys/boot/usb')
-rw-r--r--sys/boot/usb/usb_busdma_loader.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/boot/usb/usb_busdma_loader.c b/sys/boot/usb/usb_busdma_loader.c
index ad7180bc9e354..90dc1692ba01a 100644
--- a/sys/boot/usb/usb_busdma_loader.c
+++ b/sys/boot/usb/usb_busdma_loader.c
@@ -233,7 +233,7 @@ usb_pc_alloc_mem(struct usb_page_cache *pc, struct usb_page *pg,
pc->ismultiseg = (align == 1);
/* compute physical address */
- usb_pc_common_mem_cb(pc, ptr, size);
+ usb_pc_common_mem_cb(pc, pc->buffer, size);
usb_pc_cpu_flush(pc);
return (0);