Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 1 Apr 2008 21:19:03 GMT
From:      Hans Petter Selasky <hselasky@FreeBSD.org>
To:        Perforce Change Reviews <perforce@FreeBSD.org>
Subject:   PERFORCE change 139167 for review
Message-ID:  <200804012119.m31LJ3Zu012150@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=139167

Change 139167 by hselasky@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,



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200804012119.m31LJ3Zu012150>