Date: Wed, 16 Oct 1996 16:27:08 +0900 From: Nakagawa Yoshihisa <y-nakaga@ccs.mt.nec.co.jp> To: multimedia@freebsd.org Subject: guspnp3-current.tar.gz on 2.1.5R Message-ID: <199610160727.QAA24796@spls63.ccs.mt.nec.co.jp>
next in thread | raw e-mail | index | archive | help
I ported guspnp3-current.tar.gz for 2.1.5R. (My mother has PnP BIOS.) But, guspnp4-current.tar.gz not work. contigmalloc() current only? -- NAKAGAWA, Yoshihisa y-nakaga@ccs.mt.nec.co.jp jj3mxl@eatell.msr.prug.or.jp guspnp3-current.tar.gz 2.1.5R patch diff -rc sound-guspnp3/local.h sound/local.h *** sound-guspnp3/local.h Fri Oct 4 12:36:05 1996 --- sound/local.h Fri Oct 4 12:34:00 1996 *************** *** 8,14 **** #define CONFIGURE_SOUNDCARD #endif ! #define FreeBSDcurrent #define CONFIG_SEQUENCER --- 8,14 ---- #define CONFIGURE_SOUNDCARD #endif ! /* #define FreeBSDcurrent */ #define CONFIG_SEQUENCER diff -rc sound-guspnp3/os.h sound/os.h *** sound-guspnp3/os.h Fri Oct 4 12:36:05 1996 --- sound/os.h Fri Oct 4 12:34:00 1996 *************** *** 1,7 **** #ifndef _OS_H_ #define _OS_H_ ! #define FreeBSDcurrent #include "param.h" #include "systm.h" #include "ioctl.h" --- 1,7 ---- #ifndef _OS_H_ #define _OS_H_ ! /* #define FreeBSDcurrent */ #include "param.h" #include "systm.h" #include "ioctl.h" diff -rc sound-guspnp3/soundcard.c sound/soundcard.c *** sound-guspnp3/soundcard.c Fri Oct 4 12:36:05 1996 --- sound/soundcard.c Fri Oct 4 12:34:00 1996 *************** *** 73,80 **** static d_write_t sndwrite; static d_select_t sndselect; - static char driver_name[] = "snd"; - #define CDEV_MAJOR 30 static struct cdevsw snd_cdevsw = { sndopen, sndclose, sndread, sndwrite, --- 73,78 ---- *************** *** 94,99 **** --- 92,99 ---- int sndselect (dev_t dev, int rw, struct proc *p); #endif + static char driver_name[] = "snd"; + static void sound_mem_init (void); *************** *** 191,197 **** sndopen (dev_t dev, int flags, int mode, struct proc *p) #else int ! sndopen (dev_t dev, int flags, int mode, struct proc *p) #endif { int retval; --- 191,197 ---- sndopen (dev_t dev, int flags, int mode, struct proc *p) #else int ! sndopen (dev_t dev, int flags) #endif { int retval;
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199610160727.QAA24796>