svn commit: r192444 - head/sys/dev/usb/controller

Andrew Thompson thompsa at FreeBSD.org
Wed May 20 16:58:54 UTC 2009


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);


More information about the svn-src-head mailing list