Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 20 May 2009 16:58:53 +0000 (UTC)
From:      Andrew Thompson <thompsa@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r192444 - head/sys/dev/usb/controller
Message-ID:  <200905201658.n4KGwrP6037443@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: thompsa
Date: Wed May 20 16:58:53 2009
New Revision: 192444
URL: http://svn.freebsd.org/changeset/base/192444

Log:
  The register shift is not needed on this controller.
  
  Submitted by:	Hans Petter Selasky

Modified:
  head/sys/dev/usb/controller/uss820dci_atmelarm.c

Modified: head/sys/dev/usb/controller/uss820dci_atmelarm.c
==============================================================================
--- head/sys/dev/usb/controller/uss820dci_atmelarm.c	Wed May 20 16:58:16 2009	(r192443)
+++ head/sys/dev/usb/controller/uss820dci_atmelarm.c	Wed May 20 16:58:53 2009	(r192444)
@@ -152,9 +152,6 @@ uss820_atmelarm_attach(device_t dev)
 	sc->sc_io_hdl = rman_get_bushandle(sc->sc_io_res);
 	sc->sc_io_size = rman_get_size(sc->sc_io_res);
 
-	/* multiply all addresses by 4 */
-	sc->sc_reg_shift = 2;
-
 	rid = 0;
 	sc->sc_irq_res = bus_alloc_resource_any(dev, SYS_RES_IRQ, &rid,
 	    RF_SHAREABLE | RF_ACTIVE);



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