Subject: sys/dev/isa/pss.c fails to compile
To: None <current-users@netbsd.org>
From: Sverre Froyen <sverre@viewmark.com>
List: current-users
Date: 09/16/2004 13:11:52
Hi,

Looks like sys/dev/isa/pss.c needs an update after the latest changes to 
sys/dev/isa/isavar.h:

/usr/src/tooldir.i386/bin/i386--netbsdelf-gcc -ffreestanding -O2 -Werror 
-Wall -Wno-main -Wno-format-zero-length -Wpointer-arith 
-Wmissing-prototypes -Wstrict-prototypes -Wno-sign-compare 
-fno-zero-initialized-in-bss -Di386 -I. -I/usr/src/sys/arch 
-I/usr/src/sys -nostdinc -DMSGBUFSIZE=2000000 -DPCMCIADEBUG 
-DPCMCIACISDEBUG -DLKM -DMAXUSERS=32 -D_KERNEL -D_KERNEL_OPT 
-c /usr/src/sys/dev/isa/pss.c
/usr/src/sys/dev/isa/pss.c: In function `spfind':
/usr/src/sys/dev/isa/pss.c:850: error: structure has no member named 
`cf_iobase'
/usr/src/sys/dev/isa/pss.c:853: error: structure has no member named 
`cf_iobase'
/usr/src/sys/dev/isa/pss.c:859: error: structure has no member named 
`cf_irq'
/usr/src/sys/dev/isa/pss.c:873: error: structure has no member named 
`cf_irq'
/usr/src/sys/dev/isa/pss.c:879: error: structure has no member named 
`cf_irq'
/usr/src/sys/dev/isa/pss.c:886: error: structure has no member named 
`cf_drq'
/usr/src/sys/dev/isa/pss.c:899: error: structure has no member named 
`cf_drq'
/usr/src/sys/dev/isa/pss.c:909: error: structure has no member named 
`cf_drq'
/usr/src/sys/dev/isa/pss.c: In function `spattach':
/usr/src/sys/dev/isa/pss.c:1002: error: structure has no member named 
`cf_iobase'
/usr/src/sys/dev/isa/pss.c:1010: error: structure has no member named 
`cf_drq'
/usr/src/sys/dev/isa/pss.c:1012: error: structure has no member named 
`cf_irq'

*** Failed target:  pss.o
*** Failed command: echo '# ' "compile ABBOR/pss.o"; 
echo /usr/src/tooldir.i386/bin/i386--netbsdelf-gcc -ffreestanding -O2 
-Werror -Wall -Wno-main -Wno-format-zero-length -Wpointer-arith 
-Wmissing-prototypes -Wstrict-prototypes -Wno-sign-compare 
-fno-zero-initialized-in-bss -Di386 -I. -I/usr/src/sys/arch 
-I/usr/src/sys -nostdinc -DMSGBUFSIZE="2000000" -DPCMCIADEBUG 
-DPCMCIACISDEBUG -DLKM -DMAXUSERS=32 -D_KERNEL -D_KERNEL_OPT 
-c /usr/src/sys/dev/isa/pss.c; /usr/src/tooldir.i386/bin/i386--netbsdelf-gcc 
-ffreestanding -O2 -Werror -Wall -Wno-main -Wno-format-zero-length 
-Wpointer-arith -Wmissing-prototypes -Wstrict-prototypes 
-Wno-sign-compare -fno-zero-initialized-in-bss -Di386 -I. 
-I/usr/src/sys/arch -I/usr/src/sys -nostdinc -DMSGBUFSIZE="2000000" 
-DPCMCIADEBUG -DPCMCIACISDEBUG -DLKM -DMAXUSERS=32 -D_KERNEL 
-D_KERNEL_OPT -c /usr/src/sys/dev/isa/pss.c
*** Error code 1

Sverre