From owner-freebsd-questions Sun May 23 17:13: 5 1999 Delivered-To: freebsd-questions@freebsd.org Received: from allegro.lemis.com (allegro.lemis.com [192.109.197.134]) by hub.freebsd.org (Postfix) with ESMTP id 4204814E44 for ; Sun, 23 May 1999 17:13:00 -0700 (PDT) (envelope-from grog@freebie.lemis.com) Received: from freebie.lemis.com (freebie.lemis.com [192.109.197.137]) by allegro.lemis.com (8.9.1/8.9.0) with ESMTP id JAA00333; Mon, 24 May 1999 09:42:58 +0930 (CST) Received: (from grog@localhost) by freebie.lemis.com (8.9.3/8.9.0) id JAA89906; Mon, 24 May 1999 09:42:57 +0930 (CST) Date: Mon, 24 May 1999 09:42:57 +0930 From: Greg Lehey To: Kent Stewart Cc: Orlando Andico , freebsd-questions@FreeBSD.ORG Subject: Re: IDE U/DMA on non-Intel chipsets Message-ID: <19990524094256.L79377@freebie.lemis.com> References: <37487040.45753CA@3-cities.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.95.4i In-Reply-To: <37487040.45753CA@3-cities.com>; from Kent Stewart on Sun, May 23, 1999 at 02:16:48PM -0700 WWW-Home-Page: http://www.lemis.com/~grog X-PGP-Fingerprint: 6B 7B C3 8C 61 CD 54 AF 13 24 52 F8 6D A4 95 EF Organization: LEMIS, PO Box 460, Echunga SA 5153, Australia Phone: +61-8-8388-8286 Fax: +61-8-8388-8725 Mobile: +61-41-739-7062 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG [Format recovered--see http://www.lemis.com/email/email-format.html] On Sunday, 23 May 1999 at 14:16:48 -0700, Kent Stewart wrote: > Orlando Andico wrote: >> >> I noticed from searching the mailing list archives that busmastering DMA >> is supported on Intel chipsets. I'm currently using 3.0 at home, and I get >> the following information from my dmesg(1): >> >> .. >> ide_pci0: rev 0x06 on pci0.7.1 >> .. >> >> Does this mean that bus-mastering DMA is being used? how can I turn it on >> if not? does a later version support the VIA Apollo? (it's actually an >> Apollo Pro 82C591 on a Slot1 board) > > You can either configure the system at boot or add it to your kernel. > The typical setting is "flags 0xa0ffa0ff" but if your are using LBA > that becomes 0xb0ffb0ff. I went from 3.8MB/s to 8MB/s on reads. The > writes were only 1.7 times faster. You can add these parameters to > your wd0 and/or wd1 by booting and configuring. To answer the first question ("is my chipset supported?"): yes, it's supported. Here's a list: Intel PIIX4 Bus-master IDE controller Intel PIIX3 Bus-master IDE controller Intel PIIX Bus-master IDE controller Promise Ultra/33 IDE controller VIA 82C586x (Apollo) Bus-master IDE controller Cyrix 5530 Bus-master IDE controller Acer Aladdin IV/V (M5229) Bus-master IDE controller SiS 5591 Bus-master IDE Controller CMD 640B IDE controller This list is taken from the code in /sys/pci/ide_pci.c. You can check there at a later date to see whether your chipset is supported. In addition, some others may be recognized as being bus master capable, but they will have to be set up by the BIOS. Greg -- When replying to this message, please copy the original recipients. For more information, see http://www.lemis.com/questions.html See complete headers for address, home page and phone numbers finger grog@lemis.com for PGP public key To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message