Subject: Re: Status Report NetBSD on IBM Thinkpad 570 (WARNING: low tech
To: None <feico@pasta.cs.uit.no>
From: Tatoku Ogaito <tacha@trap.fukui-med.ac.jp>
List: current-users
Date: 12/10/1999 20:23:06
>> On Fri, 10 Dec 1999 12:15:17 +0100
 Feico Dillema <dillema@acm.org> wrote:

 > On Fri, Dec 10, 1999 at 11:56:46AM +0900, Tatoku Ogaito wrote:

 > > If your ThinkPad has "Cirrus Logic CS4280" as mine does, I have written
 > > a driver for it. The driver does not support midi yet, but works fine 
 > > playback and capturing for me. It was sent to augustss@netbsd.org
 > > for code review.

 > Oh goodie! I think you just destroyed the last technical argument for
 > running Linux on these machines ;-). The only Linux driver for it
 > is semi-commercial. Could you send me the source too? I'd be happy
 > to test it and it would be nice for the two NetBSD thinkpads here to
 > be the first to get audio working :-).

You can get the sources from my anonymous ftp. They can be found in
    ftp://trap.fukui-med.ac.jp/pub/tera_utils/sys/dev/pci/
as

-r--r--r--  1 root  wheel   48257 Dec  8 15:00 cs4280.c
-r--r--r--  1 root  wheel    9366 Dec  8 15:00 cs4280.h
-r--r--r--  1 root  wheel  155925 Dec  8 15:00 cs4280_image.h
-r--r--r--  1 root  wheel     519 Dec  2 13:30 files.pci.patch

You should add following lines to your kernel configuration file,
--- cut here ---
# PCI audio devices
clcs*	at pci? dev ? function ?	# Cirrus Logic CS4280
audio*	at clcs?
#midi*	at clcs?			# not yet
--- cut here ---

Please let me know when you find any problem.

Enjoy.

Tacha

-----            : Tatoku Ogaito
   / _  _ |_  _  : Dept. Physics, Fukui Medical University
  / (_|(_ | )(_| : E-mail: tacha@trap.fukui-med.ac.jp

  *** NetBSD: It'll be there when you're ready for it. ***