Subject: src/sys/dev/isa/mpu_sb.c missing?
To: NetBSD current-users <>
From: Bjoern Labitzke <>
List: current-users
Date: 08/05/1999 01:06:09

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

Thanks in advance,


Bjoern Labitzke  <>
   Use PGP! (Don't you use envelopes for your letters?)