Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 15 Apr 2010 11:17:33 +0000 (UTC)
From:      Alexander Motin <mav@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r206652 - head/sys/dev/siis
Message-ID:  <201004151117.o3FBHXAB081101@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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 */



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