From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (qmail 1576 invoked from network); 9 Mar 1999 15:19:07 -0000 Received: from mail.redhat.com (199.183.24.239) by lists.redhat.com with SMTP; 9 Mar 1999 15:19:07 -0000 Received: from eskinews.eskimo.com (root@eskinews.eskimo.com [204.122.16.44]) by mail.redhat.com (8.8.7/8.8.7) with ESMTP id KAA03976 for ; Tue, 9 Mar 1999 10:12:39 -0500 Received: from songdog.UUCP (uucp@localhost) by eskinews.eskimo.com (8.9.1a/8.8.8) with UUCP id HAA10174 for redhat.com!axp-list; Tue, 9 Mar 1999 07:10:30 -0800 Received: by songdog id m10KNzE-0000ZvC (Debian /\oo/\ Smail3.1.29.1 #29.37); Tue, 9 Mar 99 07:00 PST Message-Id: From: roman@songdog.eskimo.com (Bill Roman) Subject: Re: Sound cards on the Alpha. To: axp-list@redhat.com Date: Tue, 9 Mar 1999 06:59:59 -0800 (PST) In-Reply-To: from "Bill Roman" at Mar 8, 99 06:23:58 am X-Mailer: ELM [version 2.4 PL25 PGP2] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Yesterday I wrote: > > I've heard that the Ensoniq chip isn't fully PCI compliant -- something > about incompletely implemented BARs (Base Address Registers, in PCI > configuration space). This makes sense in the context of working in > some slots and not others; it would depend on what resources were > assigned to the card. > > I'll ask the person who told me this for more details. Here's the story I got. I was right about incompletely implemented registers, but it wasn't the BARs. First, the Ensoniq 1370 only implements four bits of the PCI configuration Interrupt Line register. The PCI-savvy have already struck their foreheads and exclaimed "DOH!"; for those who haven't yet made them familiar with all the details, this register is used by the PCI configuration software to record the IRQ assigned to the card. Of course four bits are sufficient on an obsolete computer architecture some of us may be familiar with, but Alpha systems have more IRQs and thus need more bits. What this means is that a driver that connects to an interrupt based on information read from this register may connect to the wrong interrupt. I confess I haven't traced this down in the source code, so I'm not sure in detail what the implications are for Linux. Since the IRQ assigned to the card depends on the slot it is in, this could conceivably explain some of the slot-related problems people have reported. Second, both the 1370 and 1371 are incapable of handling burst transactions as a target on the PCI bus. The way they terminate the burst violates the PCI specification, and thus they hang the bus. On Alpha, any quadword access to one of these chips is guaranteed to hang the system. Multiple accesses without an intervening mb may hang the system (this depends very much on other intervening accesses). Finally, there may be some difficulty with the 1371 on Tsunami-based systems (i.e., all EV6 systems to date). This is still under investigation. -- Bill Roman (roman@songdog.eskimo.com / roman@songdog.uucp) running linux