From owner-freebsd-commit Thu Dec 7 02:34:25 1995 Return-Path: owner-commit Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id CAA01322 for freebsd-commit-outgoing; Thu, 7 Dec 1995 02:34:25 -0800 (PST) Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id CAA00965 for cvs-all-outgoing; Thu, 7 Dec 1995 02:33:01 -0800 (PST) Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id CAA00952 for cvs-sys-outgoing; Thu, 7 Dec 1995 02:32:59 -0800 (PST) Received: from grunt.grondar.za (grunt.grondar.za [196.7.18.129]) by freefall.freebsd.org (8.7.3/8.7.3) with SMTP id CAA00844 Thu, 7 Dec 1995 02:32:27 -0800 (PST) Received: from grumble.grondar.za (root@grumble.grondar.za [196.7.18.130]) by grunt.grondar.za (8.6.12/8.6.9) with ESMTP id MAA26012; Thu, 7 Dec 1995 12:12:06 +0200 Received: from localhost (mark@localhost [127.0.0.1]) by grumble.grondar.za (8.6.12/8.6.9) with SMTP id MAA10454; Thu, 7 Dec 1995 12:12:05 +0200 Message-Id: <199512071012.MAA10454@grumble.grondar.za> X-Authentication-Warning: grumble.grondar.za: Host localhost didn't use HELO protocol To: Peter Wemm cc: CVS-committers@freefall.freebsd.org, cvs-sys@freefall.freebsd.org Subject: Re: cvs commit: src/sys/i386/isa bt742a.c Date: Thu, 07 Dec 1995 12:12:04 +0200 From: Mark Murray Sender: owner-commit@FreeBSD.ORG Precedence: bulk > peter 95/12/07 01:13:52 > > Modified: sys/i386/isa bt742a.c > Log: > Implement detection of whether or not bounce-buffering is required > for the particular card in use. At the moment, I've set it to any of > the bt445S VLB cards (not the bt445C which apparently work) and the > bt5xx series (isa cards). The 742 and PCI cards should not need it. :-) > > It may be useful to have something like this: > #ifndef BOUNCE_BUFFERS > if (bounce_buffers_required && more_than_16MB_ram) > panic("this card requires bounce buffers for more than 16MB ram!") > #endif How hard would this be? if (bounce_buffers_required && more_than_16MB_ram) { log_message("this card requires bounce buffers for more than 16MB ram!"); turn_on_bounce_buffers(); } M -- Mark Murray 46 Harvey Rd, Claremont, Cape Town 7700, South Africa +27 21 61-3768 GMT+0200 Finger mark@grumble.grondar.za for PGP key