Subject: Maestro driver working (was: Maestro 2E in FreeBSD 4.2 working)
To: None <current-users@netbsd.org>
From: Dr. Rene Hexel <rh@vip.at>
List: current-users
Date: 01/07/2001 23:52:04
"Rene Hexel" wrote:
> Since I just received a Notebook that has this beast, I will try and
> have a shot at this ...
It took me a bit longer than expected, mainly because documentation
for that chip is close to zero, but eventually I got it up and running.
A NetBSD-current (as of approximately an hour ago) version of the
Maestro-2E driver for NetBSD is available at:
ftp://ftp.vip.at/pub/NetBSD/maestro-netbsd-20010107.tar.gz
To install the driver, cd to "/sys" (or wherever you keep your kernel
sources), and untar the file there. Then
patch <files.pci.diff
patch <pcidevs.diff
cd dev/pci
make -f Makefile.pcidevs
Then cd to "/sys/arch/i386/conf" and add
maestro* at pci? dev? function ?
audio* at maestro?
at the appropriate places in your kernel config file. Configure and
compile your kernel the usual way, and voila!
In case you have a slightly older -current and the compiler complains
about wrong parameters for pci_intr_map(), you can try
ftp://ftp.vip.at/pub/NetBSD/maestro-netbsd-20010106.tar.gz
instead (though "pcidevs.diff" is missing there, just take the file
from the 20010107 version). This version is also recommended if you
want to try this on NetBSD-1.5.x (-release).
I have tested the driver on my Dell Inspiron 5000e, feedback from
other systems, comments, and suggestions are very much appreciated! If
nobody objects, I intend to commit the driver in the next days.
Cheers
,
Rene