From owner-cvs-src@FreeBSD.ORG Thu Sep 16 06:34:00 2004 Return-Path: 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 9DE6516A4CE; Thu, 16 Sep 2004 06:34:00 +0000 (GMT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7D3E543D1D; Thu, 16 Sep 2004 06:34:00 +0000 (GMT) (envelope-from imp@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.11/8.12.11) with ESMTP id i8G6Y0oC021169; Thu, 16 Sep 2004 06:34:00 GMT (envelope-from imp@repoman.freebsd.org) Received: (from imp@localhost) by repoman.freebsd.org (8.12.11/8.12.11/Submit) id i8G6Y0Lu021168; Thu, 16 Sep 2004 06:34:00 GMT (envelope-from imp) Message-Id: <200409160634.i8G6Y0Lu021168@repoman.freebsd.org> From: Warner Losh Date: Thu, 16 Sep 2004 06:34:00 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/dev/fdc fdc.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 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, 16 Sep 2004 06:34:00 -0000 imp 2004-09-16 06:34:00 UTC FreeBSD src repository Modified files: sys/dev/fdc fdc.c Log: Reserve the DMA memory at attach time, rather than at use. While reserving it at use time is more miserly, low memory (< 16MB) evaporates quickly on many systems, so there may not be any suitable buffers available. This specifically doesn't use the newer, fancier isa_dma_init to ease merging to 5. Reviewed by: tegge, phk Revision Changes Path 1.289 +12 -15 src/sys/dev/fdc/fdc.c