From owner-freebsd-hackers@FreeBSD.ORG Tue Jul 29 00:44:20 2003 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A190A37B401 for ; Tue, 29 Jul 2003 00:44:20 -0700 (PDT) Received: from heron.mail.pas.earthlink.net (heron.mail.pas.earthlink.net [207.217.120.189]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1C55B43FA3 for ; Tue, 29 Jul 2003 00:44:20 -0700 (PDT) (envelope-from tlambert2@mindspring.com) Received: from user-38lc0dr.dialup.mindspring.com ([209.86.1.187] helo=mindspring.com) by heron.mail.pas.earthlink.net with asmtp (SSLv3:RC4-MD5:128) (Exim 3.33 #1) id 19hP9e-0004ea-00; Tue, 29 Jul 2003 00:44:19 -0700 Message-ID: <3F262594.21DCB20A@mindspring.com> Date: Tue, 29 Jul 2003 00:43:16 -0700 From: Terry Lambert X-Mailer: Mozilla 4.79 [en] (Win98; U) X-Accept-Language: en MIME-Version: 1.0 To: Paulo Roberto References: <20030728180143.12743.qmail@web14906.mail.yahoo.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-ELNK-Trace: b1a02af9316fbb217a47c185c03b154d40683398e744b8a4c2695b12257a9896312f32afeb8ec9ab387f7b89c61deb1d350badd9bab72f9c350badd9bab72f9c cc: hackers@freebsd.org Subject: Re: vpo in ECP X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 29 Jul 2003 07:44:20 -0000 Paulo Roberto wrote: > Sorry hackers, I have posted this to questions@freebsd, but got no > answer... > > I did set my mainboard BIOS to use ECP transfer mode (dma 3 & irq 7). I > edited my kernel to: > > device ppc0 at isa? flags 0x8 irq 7 > > (is there a way to declare the dma I want to use? config complains if I > add dma xyz) > and when I boot I get: Not sure if it's actually meaningful for the driver, but the config file syntax is: device ppc0 at isa? flags 0x8 irq 7 drq 3 > Jul 1 10:36:42 delta /kernel: ppc0: at port > 0x378-0x37f irq 7 flags 0x8 on isa0 > Jul 1 10:36:42 delta /kernel: ppc0: Generic chipset (ECP-only) in ECP > mode > Jul 1 10:36:42 delta /kernel: ppc0: FIFO with 16/16/16 bytes threshold > Jul 1 10:36:42 delta /kernel: ppi0: on ppbus0 > Jul 1 10:36:42 delta /kernel: imm0: NIBBLE mode unavailable! > > and my zip-100 drive does not get recognized. Is it possible to use vpo > in ECP mode?? EPP and compatible modes are just too damn slow. "man ppc". The answer is "it depends on your chipset"; clearly, it's not had anyone write explicit support for it yet. The manual page goes into some good detail on how to fix this; specifically, you should look at the "Adding support to a new chipset" section. See also "man vpo"; it discusses how to force specific modes for your given chipset. Probably, you should add specific support for your chipset instead, so that other people who end up with the same chipset don't end up having to repeat your problems. -- Terry