From owner-freebsd-questions Wed Apr 10 00:34:25 1996 Return-Path: owner-questions Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id AAA06770 for questions-outgoing; Wed, 10 Apr 1996 00:34:25 -0700 (PDT) Received: from genesis.atrad.adelaide.edu.au (genesis.atrad.adelaide.edu.au [129.127.96.120]) by freefall.freebsd.org (8.7.3/8.7.3) with ESMTP id AAA06762 for ; Wed, 10 Apr 1996 00:34:17 -0700 (PDT) Received: from msmith@localhost by genesis.atrad.adelaide.edu.au (8.6.12/8.6.9) id RAA22630; Wed, 10 Apr 1996 17:29:25 +0930 From: Michael Smith Message-Id: <199604100759.RAA22630@genesis.atrad.adelaide.edu.au> Subject: Re: Artisoft AE-3 Ethernet card: How to use large buffer? To: terry@lambert.org (Terry Lambert) Date: Wed, 10 Apr 1996 17:29:24 +0930 (CST) Cc: Brett_Glass@ccgate.infoworld.com, terry@lambert.org, questions@FreeBSD.org In-Reply-To: <199604100104.SAA06406@phaeton.artisoft.com> from "Terry Lambert" at Apr 9, 96 06:04:34 pm MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-questions@FreeBSD.org X-Loop: FreeBSD.org Precedence: bulk Terry Lambert stands accused of saying: > > > I'm not sure, but I believe that the internal buffer is not directly > > accessible on NE2000 clones. As I understand it, the RAM is accessible via > > programmed I/O after setting a pointer register. (This is one of the common > > criticisms of the architecture: PIO isn't quite as fast as shared memory.) Brett is correct here, in that memory on the NEx000 cards is not directly mapped. > > > You need to set mem_end to mem_start + 64k. This should be done in > > > whichever probe routine is coming true. > > > > Aren't the mem_end and mem_start parameters used for cards that have shared > > memory (rather than a PIO/counter scheme)? There are different I/O routines used depending on the card type; see the ed_pio_* routines for those that work with the NEx000 cards. > > Again, I'm not certain, but I believe that access to the buffer does not > > take place via a memory window at all. > > I was reading from the comments in the /sys/i386/isa/if_ed.c. Search > for the string "mem_end". > > I think you might be looking at the 3COM specific code? No, the 3com cards have (optional) shared memory, which IIRC is required. Regardless, mem_{start|end|size} are the correct numbers to work with, they describe the internal configuration of the card. > Terry Lambert -- ]] Mike Smith, Software Engineer msmith@atrad.adelaide.edu.au [[ ]] Genesis Software genesis@atrad.adelaide.edu.au [[ ]] High-speed data acquisition and (GSM mobile) 0411-222-496 [[ ]] realtime instrument control (ph/fax) +61-8-267-3039 [[ ]] Collector of old Unix hardware. "Where are your PEZ?" The Tick [[