On Tue, Jun 28, 2011 at 07:17:31AM +0000, Adam Hoka wrote: > Module Name: src > Committed By: ahoka > Date: Tue Jun 28 07:17:31 UTC 2011 > > Modified Files: > src/sys/arch/mips/rmi: rmixl_nand.c > > Log Message: > follow nand api changes
Some of these changes broke the build. - Jukka. # link nand/nand.kmod /test-bed/tools/bin/x86_64--netbsd-gcc --sysroot=/test-bed/dst # -Wl,--fatal-warnings -nostdlib -r # - -Wl,-T,/test-bed/src/sys/../sys/modules/xldscripts/kmodule,-d -o # - - nand.kmod nand.o nand_io.o nand_bbt.o nand_crc.o hamming.o # - - nand_micron.o dependall ===> sys/modules/nandemulator # create nandemulator/nandemulator.d CC=/test-bed/tools/bin/x86_64--netbsd-gcc /test-bed/tools/bin/nbmkdep -f # nandemulator.d -- -I/test-bed/src/common/include # --sysroot=/test-bed/dst -I/test-bed/src/common/include -nostdinc -I. # -- -I/test-bed/src/sys/modules/nandemulator -isystem /test-bed/src/sys # -- - -isystem /test-bed/src/sys/arch -isystem # -- - - /test-bed/src/sys/../common/include -D_KERNEL -D_LKM -D_MODULE # -- - - / /test-bed/src/sys/dev/nand/nandemulator.c # create nandemulator/.depend rm -f .depend CC=/test-bed/tools/bin/x86_64--netbsd-gcc /test-bed/tools/bin/nbmkdep -d -f .depend -s .o nandemulator.d # compile nandemulator/nandemulator.o /test-bed/tools/bin/x86_64--netbsd-gcc -O2 -std=gnu99 -Wall # -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wno-sign-compare # - -Wno-traditional -Wa,--fatal-warnings -Werror -ffreestanding # - - -fno-strict-aliasing -Wno-pointer-sign -mno-red-zone -mcmodel=kernel # - - - -I/test-bed/src/common/include --sysroot=/test-bed/dst # - - - - -I/test-bed/src/common/include -nostdinc -I. # - - - - - -I/test-bed/src/sys/modules/nandemulator -isystem # - - - - - - /test-bed/src/sys -isystem /test-bed/src/sys/arch -isystem # - - - - - - / /test-bed/src/sys/../common/include -D_KERNEL -D_LKM # - - - - - - / / -D_MODULE -c /test-bed/src/sys/dev/nand/nandemulator.c /test-bed/src/sys/dev/nand/nandemulator.c: In function / 'nandemulator_attach': /test-bed/src/sys/dev/nand/nandemulator.c:189: error: 'struct / nand_interface' has no member named 'read_buf_byte' /test-bed/src/sys/dev/nand/nandemulator.c:190: error: 'struct / nand_interface' has no member named 'read_buf_word' /test-bed/src/sys/dev/nand/nandemulator.c:191: error: 'struct / nand_interface' has no member named 'read_byte' /test-bed/src/sys/dev/nand/nandemulator.c:192: error: 'struct / nand_interface' has no member named 'read_word' /test-bed/src/sys/dev/nand/nandemulator.c:193: error: 'struct / nand_interface' has no member named 'write_buf_byte' /test-bed/src/sys/dev/nand/nandemulator.c:194: error: 'struct / nand_interface' has no member named 'write_buf_word' /test-bed/src/sys/dev/nand/nandemulator.c:195: error: 'struct / nand_interface' has no member named 'write_byte' /test-bed/src/sys/dev/nand/nandemulator.c:196: error: 'struct / nand_interface' has no member named 'write_word'