Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 07 Dec 1995 12:12:04 +0200
From:      Mark Murray <mark@grondar.za>
To:        Peter Wemm <peter@freefall.freebsd.org>
Cc:        CVS-committers@freefall.freebsd.org, cvs-sys@freefall.freebsd.org
Subject:   Re: cvs commit: src/sys/i386/isa bt742a.c 
Message-ID:  <199512071012.MAA10454@grumble.grondar.za>

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



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