svn commit: r206652 - head/sys/dev/siis

Alexander Motin mav at FreeBSD.org
Thu Apr 15 11:17:33 UTC 2010


Author: mav
Date: Thu Apr 15 11:17:33 2010
New Revision: 206652
URL: http://svn.freebsd.org/changeset/base/206652

Log:
  Explicitly enable PCI busmastering on attach.
  Now SiI3124 with siis(4) successfully works on sparc64 (SunBlade 100).
  
  H/W donated by:	Gheorghe Ardelean

Modified:
  head/sys/dev/siis/siis.c

Modified: head/sys/dev/siis/siis.c
==============================================================================
--- head/sys/dev/siis/siis.c	Thu Apr 15 09:22:14 2010	(r206651)
+++ head/sys/dev/siis/siis.c	Thu Apr 15 11:17:33 2010	(r206652)
@@ -164,6 +164,7 @@ siis_attach(device_t dev)
 		rman_fini(&ctlr->sc_iomem);
 		return (error);
 	}
+	pci_enable_busmaster(dev);
 	/* Reset controller */
 	siis_resume(dev);
 	/* Number of HW channels */


More information about the svn-src-all mailing list