From owner-freebsd-hackers Mon Mar 1 11:43:58 1999 Delivered-To: freebsd-hackers@freebsd.org Received: from boreas.isi.edu (boreas.isi.edu [128.9.160.161]) by hub.freebsd.org (Postfix) with ESMTP id CE4A415394; Mon, 1 Mar 1999 11:43:57 -0800 (PST) (envelope-from faber@ISI.EDU) Received: from ISI.EDU (vex-e.isi.edu [128.9.160.240]) by boreas.isi.edu (8.8.7/8.8.6) with ESMTP id LAA11285; Mon, 1 Mar 1999 11:43:40 -0800 (PST) Message-Id: <199903011943.LAA11285@boreas.isi.edu> X-Mailer: exmh version 2.0.2 2/24/98 To: se@freebsd.org Cc: Dennis , hackers@freebsd.org Subject: Re: PCI Card Failures in 3.1 - FYI In-Reply-To: Your message of "Sat, 27 Feb 1999 14:13:23 +0100." <19990227141323.A4953@dialup124.mi.uni-koeln.de> X-Url: http://www.isi.edu/~faber Date: Mon, 01 Mar 1999 11:43:39 -0800 From: Ted Faber Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG -----BEGIN PGP SIGNED MESSAGE----- Stefan Esser wrote: >On 1999-02-26 10:55 -0500, Dennis wrote: >> Also, we dont call pci_map_port(), so I doubt that is the >> problem. The mapping seems to work (when we map the >> registers into memory we can read them and they have >> the correct default values). the problem is that is cant >> seem to dma to memory...its impossible to tell if it >> can read however. > >You know about the bus-master enable bit in the command register ? >There had been problems with cards doing bogus transfers if that >feature was enabled by default, so the BIOS may leave it OFF. > >You are responsible for setting it in your driver, after the chip >has been reset/initialzed and can be assumed under control ;-) That was my problem, too. I don't know why I understood when you said it, and not when Dennis said it. I'll forward patches to Paul. Thanks! - ---------------------------------------------------------------------- Ted Faber faber@isi.edu USC/ISI Computer Scientist http://www.isi.edu/~faber (310) 822-1511 x190 PGP Key: http://www.isi.edu/~faber/pubkey.asc -----BEGIN PGP SIGNATURE----- Version: 2.6.2 iQCVAwUBNtrt6ob4eisfQ5rpAQEHsAP+Odc+aqK7aoY8h8+7CeLNPMIoF//0EBvd +Cwr6K2ciSCikkrWoQgTOBlRf4taD+IMkrIfALYM2lA591rPNlYxcyX+yd8eK+aP Trpifw2PSs4NSZyUtUY2GtP5FtJ+AMh67zUw/fXaZQG4NuGMCeFOF+qfIX583W73 qXxqUqqhd1M= =94h9 -----END PGP SIGNATURE----- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message