Subject: Re: looking for VIA/NVIDIA sata testers
To: Manuel Bouyer <bouyer@antioche.eu.org>
From: None <paul@whooppee.com>
List: current-users
Date: 10/25/2006 18:08:50
Hmmm, must be something missing from the attached diff
file...

Did you forget to diff one of the header files?

If it matters, this was on port-amd64 current as of
yesterday...


#   compile  TEST/vm_machdep.o
/usr/src/obj.amd64/tooldir.NetBSD-4.99.3-x86_64/bin/x86_64--netbsd-gcc
-mcmodel=kernel -mno-red-zone -ffreestanding
-fno-zero-initialized-in-bss -O2 -Werror -Wall -Wno-main
-Wno-format-zero-length -Wpointer-arith -Wmissing-prototypes
-Wstrict-prototypes -Wswitch -Wshadow -Wcast-qual
-Wwrite-strings -Wno-sign-compare -Wno-pointer-sign
-Wno-attributes -fno-strict-aliasing -Damd64 -Dx86_64 -I.
-I/usr/src/sys/../common/include -I/usr/src/sys/arch
-I/usr/src/sys -nostdinc -DLKM -DMAXUSERS=32 -D_KERNEL
-D_KERNEL_OPT
-I/usr/src/sys/lib/libkern/../../../common/lib/libc/quad
-I/usr/src/sys/lib/libkern/../../../common/lib/libc/string
-I/usr/src/sys/lib/libkern/../../../common/lib/libc/arch/x86_64/string
-I/usr/src/sys/dist/ipf -c
/usr/src/sys/arch/amd64/amd64/vm_machdep.c
--- viaide.o ---
/usr/src/sys/dev/pci/viaide.c:271: error:
'PCI_PRODUCT_VIATECH_VT8237A_SATA' undeclared here (not in a
function)
/usr/src/sys/dev/pci/viaide.c: In function
'via_sata_chip_map':
/usr/src/sys/dev/pci/viaide.c:720: error: 'struct wdc_regs'
has no member named 'sata_iot'
cc1: warnings being treated as errors
/usr/src/sys/dev/pci/viaide.c:720: warning: statement with
no effect
/usr/src/sys/dev/pci/viaide.c:721: error: 'struct wdc_regs'
has no member named 'sata_baseioh'
/usr/src/sys/dev/pci/viaide.c:721: warning: statement with
no effect
/usr/src/sys/dev/pci/viaide.c:722: error: 'struct wdc_regs'
has no member named 'sata_iot'
/usr/src/sys/dev/pci/viaide.c:722: error: 'struct wdc_regs'
has no member named 'sata_baseioh'
/usr/src/sys/dev/pci/viaide.c:722: error: 'struct wdc_regs'
has no member named 'sata_status'
/usr/src/sys/dev/pci/viaide.c:722: warning: passing argument
1 of 'x86_memio_subregion' makes integer from pointer
without a cast