From owner-freebsd-net Thu Sep 30 11:16:20 1999 Delivered-To: freebsd-net@freebsd.org Received: from bingsun2.cc.binghamton.edu (bingsun2.cc.binghamton.edu [128.226.6.4]) by hub.freebsd.org (Postfix) with ESMTP id 50D1014CFB for ; Thu, 30 Sep 1999 11:16:13 -0700 (PDT) (envelope-from bg24484@binghamton.edu) Received: from localhost (bg24484@localhost) by bingsun2.cc.binghamton.edu (8.9.3/8.9.3) with ESMTP id OAA28265 for ; Thu, 30 Sep 1999 14:16:12 -0400 (EDT) X-Authentication-Warning: bingsun2.cc.binghamton.edu: bg24484 owned process doing -bs Date: Thu, 30 Sep 1999 14:16:12 -0400 (EDT) From: X-Sender: bg24484@bingsun2 To: freebsd-net@freebsd.org Subject: Macros in Tulip drivers... Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Can anyone tell me the functionality of the following MACROS in the tulip driver code for the tulip card DEC 21140 located in the directory src/sys/pci/if_de.c TULIP_PERFSTART, TULIP_PERFEND, TULIP_TXDESC_PRESYNC. I havent been able to figure out what they do and their purpose. Regarding DMA there is a macro defined TULIP_BUS_DMA. Does it mean that it is possible to decide whether the TULIP card should use the DMA option or go by the normal programmed I/O option. As would be seen in the function tulip_txput that transfers data into the tulip rings there are blocks of code that use TULIP_BUS_DMA. Is the kernel compiled enabling the macro TULIP_BUS_DMA. Any help would be appreciated. Thanx, Roshan. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message