Subject: Writing driver for Neomagic 256AV pci audio, gateway portable
To: None <tech-kern@netbsd.org>
From: James Vodanovich <jim@arrakis.com.au>
List: tech-kern
Date: 01/15/2001 05:26:46
 I have a gateway Solo SL3300 portable.

It has a pci NeoMagic 256AV built in.

I have started with a skeleton of another pci audio card driver, and=20
have got that to be included in the kernel.

I have got to the point of neo_match working but the mapping of the=20
registers fails, naturally as I have no clue of the offsets.

I see I have to fill out xxx_softc using map_pci_reg, where do I get=20
these
values from,  the chip manufactuer, the pci card manufactuer or the=20
pci debug messages from the kernel at boot time.

If it is the manufactuer, it will be Gateway, does anyone have a=20
suggested contact point if this is the case?

I doing this step by step and haven't given too much thought beyond=20
getting the SB emulation mode up.

I'm basing the driver on eso.c, with intention of only using the sound=20
Blaster mode of the neo magic, as in the eso driver.

Any pointers would be appreciated, is there a document that explains=20
how to write a pci driver.

The limit of my prior kernel meddling has been a modification of the=20
bocca multiport serial driver to support a similar but cheaper card.

James Vodanovich