From owner-freebsd-multimedia Mon Jul 21 11:22:46 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id LAA00814 for multimedia-outgoing; Mon, 21 Jul 1997 11:22:46 -0700 (PDT) Received: from genesis.atrad.adelaide.edu.au (genesis.atrad.adelaide.edu.au [129.127.96.120]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id LAA00807; Mon, 21 Jul 1997 11:22:42 -0700 (PDT) Received: (from msmith@localhost) by genesis.atrad.adelaide.edu.au (8.8.5/8.7.3) id DAA24761; Tue, 22 Jul 1997 03:51:39 +0930 (CST) From: Michael Smith Message-Id: <199707211821.DAA24761@genesis.atrad.adelaide.edu.au> Subject: Re: auto dma? In-Reply-To: <199707211701.TAA21422@labinfo.iet.unipi.it> from Luigi Rizzo at "Jul 21, 97 07:01:59 pm" To: luigi@labinfo.iet.unipi.it (Luigi Rizzo) Date: Tue, 22 Jul 1997 03:51:38 +0930 (CST) Cc: msmith@atrad.adelaide.edu.au, hasty@rah.star-gate.com, hackers@FreeBSD.ORG, multimedia@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL28 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-multimedia@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk Luigi Rizzo stands accused of saying: > > the intel data sheet for the i82371 (also known as PIIX), a PCI chipset > which implements a number of standard isa devices including timer and > dma controller, is available at the intel site (www.intel.com). > > Although it probably is not exactly the same as the original 8237, it > myght still give some ideas on what to do. It almost certainly uses a "real" 8237 macrocell, so it's likely to behave as near to identically as can be expected. > The main problem with old > peripherals is that they often did not allow a safe reading of 16-bit > registers such as counters, which can be incremented while you read the > two pieces. I don't know if this affected the original 8237, but sure > was a problem with some old PC timer. It was? Unless I'm muchly mistaken, even the 8253 supports the counter latch command. Our gear is full of 8254's; I have bad nightmares every time I have to work on the code that manages them, but for all that they're not _that_ bad. > Finally, if someone is familiar with Linux or NetBSD kernel > (specifically for the isa routines) let me know. Uh, "sorta" (NetBSD). Probably not to the level that you are after though. > Luigi -- ]] Mike Smith, Software Engineer msmith@gsoft.com.au [[ ]] Genesis Software genesis@gsoft.com.au [[ ]] High-speed data acquisition and (GSM mobile) 0411-222-496 [[ ]] realtime instrument control. (ph) +61-8-8267-3493 [[ ]] Unix hardware collector. "Where are your PEZ?" The Tick [[