From owner-cvs-src@FreeBSD.ORG Thu Jun 1 04:50:54 2006 Return-Path: X-Original-To: cvs-src@FreeBSD.org Delivered-To: cvs-src@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DC35B16A58D; Thu, 1 Jun 2006 04:50:54 +0000 (UTC) (envelope-from silby@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id A99BE43D4C; Thu, 1 Jun 2006 04:50:54 +0000 (GMT) (envelope-from silby@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.6/8.13.6) with ESMTP id k514nThA038391; Thu, 1 Jun 2006 04:49:29 GMT (envelope-from silby@repoman.freebsd.org) Received: (from silby@localhost) by repoman.freebsd.org (8.13.6/8.13.4/Submit) id k514nTYC038390; Thu, 1 Jun 2006 04:49:29 GMT (envelope-from silby) Message-Id: <200606010449.k514nTYC038390@repoman.freebsd.org> From: Mike Silbersack Date: Thu, 1 Jun 2006 04:49:29 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/sys/i386/i386 busdma_machdep.c src/sys/amd64/amd64 busdma_machdep.c src/sys/ia64/ia64 busdma_machdep.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 01 Jun 2006 04:50:55 -0000 silby 2006-06-01 04:49:29 UTC FreeBSD src repository Modified files: sys/i386/i386 busdma_machdep.c sys/amd64/amd64 busdma_machdep.c sys/ia64/ia64 busdma_machdep.c Log: After much discussion with mjacob and scottl, change bus_dmamem_alloc so that it just warns the user with a printf when it misaligns a piece of memory that was requested through a busdma tag. Some drivers (such as mpt, and probably others) were asking for alignments that could not be satisfied, but as far as driver operation was concerned, that did not matter. In the theory that other drivers will fall into this same category, we agreed that panicing or making the allocation fail will cause more hardship than is necessary. The printf should be sufficient motivation to get the driver glitch fixed. Revision Changes Path 1.77 +3 -21 src/sys/amd64/amd64/busdma_machdep.c 1.80 +3 -21 src/sys/i386/i386/busdma_machdep.c 1.41 +11 -33 src/sys/ia64/ia64/busdma_machdep.c