From alsa-devel-owner@alsa.jcu.cz  Thu May 28 11:10:06 1998
Received: from entry.jcu.cz (perex@entry.jcu.cz [160.217.1.111])
	by marvin.jcu.cz (8.8.8/8.8.8) with SMTP id LAA02512;
	Thu, 28 May 1998 11:09:11 +0200
Date: Thu, 28 May 1998 11:09:11 +0200 (MET DST)
From: Jaroslav Kysela <perex@jcu.cz>
To: "Fulgham, Brent/SCO" <BFulgham@ch2m.com>
cc: "'alsa-devel@alsa.jcu.cz'" <alsa-devel@alsa.jcu.cz>
Subject: Re: PCI Configuration
In-Reply-To: <524299DFAB41D11193EF00805F8598024F6659@brekka.ch2m.com>
Message-ID: <Pine.LNX.3.96.980528105601.6478C-100000@entry.jcu.cz>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Reply-To: alsa-devel@alsa.jcu.cz
Sender: alsa-devel-owner@alsa.jcu.cz
Precedence: list

On Wed, 27 May 1998, Fulgham, Brent/SCO wrote:

> Has anyone managed to develop a skeleton implementation of ALSA for PCI
> cards?  I started a half-hearted attempt at generating an S3 version for

ALSA is PCI ready now.. I added to latest versions of driver function
snd_pci_find_device and functions snd_pci_[read|write]_config_* which
should be enough to find and configure PCI device.. This interface is
from 2.1 kernels and is emulated under 2.0 kernels..

> ALSA, but am having trouble figuring out what needs to go where in the
> ALSA source architecture.  Is there a road map?  In addition, now that

I tried document functions and structures in coding.sgml document (doc
directory or ALSA WWW). Unfortunately this documentation isn't complete
yet, but it might be useful for creating MIXER and PCM devices...

Chipset code (for PCM device & MIXER device) should go to /lowlevel/pci
directory and card detection (top level soundcard module) to /cards
directory....

> Thomas Sailer has generated an S3 SonicVibes driver, it would be great
> to take this and his Ensonique driver and pull them into ALSA's source
> tree.  Once either of these things is done, it should be relatively
> simple to get other PCI cards included.

Generic PCM code should be used for PCI soundcards, too. Time to create
driver should be for new soundcard for ISA or PCI same - only specific
lowlevel things and soundcard detection and initialization must be
added....

						Jaroslav

-----
Jaroslav Kysela <perex@jcu.cz>
Academic Computer Centre, University of South Bohemia
Branisovska 31, C. Budejovice, CZ-370 05 Czech Republic


