Subject: src/sys/dev/isa/mpu_sb.c missing?
To: NetBSD current-users <current-users@NetBSD.org>
From: Bjoern Labitzke <hermit@labitzke.isdn.cs.tu-berlin.de>
List: current-users
Date: 08/05/1999 01:06:09
Hi...

I am trying to compile a custom kernel. I have done so lots of times
in the past already without problems. This time there is a problem.
After configuring my kernel and trying to do the necessary make depend,
I get the information that make doesn´t know how to make the
mentioned file (see subject). I guess the relevant parts in the
config are:

audio*  at sb?
# MPU 401 UARTs
mpu*    at isa? port 0x330 irq 9        # MPU401 or compatible card
mpu*    at sb?

# MIDI support
midi*   at mpu?                 # MPU 401
midi*   at opl?                 # OPL FM synth
midi*   at pcppi?               # MIDI interface to the PC speaker
midi*   at sb?                  # SB1 MIDI port


If I comment the mpu* at sb?  part out, the linking of the kernel fails
with the following error:

cc -g -O2 -Werror -Wall -Wmissing-prototypes -Wstrict-prototypes  -Wpointer-arith -Wno-main -I. -I../../../../arch -I../../../.. -nostdinc -DNMBCLUSTERS="0x200" -DUSB_DEBUG -DLKM -DDIAGNOSTIC -DDEBUG -DCOMPAT_14 -DMAXUSERS=32 -D_KERNEL -Di386  -c ../../../../dev/isa/mpu_isa.c
../../../../dev/isa/mpu_isa.c: In function `mpu_isa_attach':
../../../../dev/isa/mpu_isa.c:111: structure has no member named `model'
*** Error code 1

The source is current as of today, the system is on the i386
architecture.

Thanks in advance,

Bjoern

-- 
Bjoern Labitzke  <hermit@cs.tu-berlin.de>
   Use PGP! (Don't you use envelopes for your letters?)