PERFORCE change 139167 for review

Hans Petter Selasky hselasky at FreeBSD.org
Tue Apr 1 14:19:04 PDT 2008


http://perforce.freebsd.org/chv.cgi?CH=139167

Change 139167 by hselasky at hselasky_laptop001 on 2008/04/01 21:18:34

	
	Activate new feature. The USB BUS-DMA abstraction now allows you to
	specify how many address lines the hardware has. Currently
	the default is 32.

Affected files ...

.. //depot/projects/usb/src/sys/dev/usb/usb_subr.c#103 edit

Differences ...

==== //depot/projects/usb/src/sys/dev/usb/usb_subr.c#103 (text+ko) ====

@@ -2547,7 +2547,7 @@
 	    ( /* parent    */ udt->tag_parent->tag,
 	     /* alignment */ align,
 	     /* boundary  */ 0,
-	     /* lowaddr   */ BUS_SPACE_MAXADDR_32BIT,
+	     /* lowaddr   */ (2ULL << (udt->tag_parent->dma_bits - 1)) - 1,
 	     /* highaddr  */ BUS_SPACE_MAXADDR,
 	     /* filter    */ NULL,
 	     /* filterarg */ NULL,


More information about the p4-projects mailing list