[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [MiNT] [PATCH] Add PCI-BIOS functions to kentry structure



On 03/26/14 15:27, David Gálvez wrote:
Alan, here is the patch for adding PCI-BIOS functions to kentry.

Please check and commit if it's fine for you. Thanks!

I must be missing some additional patch....

m68k-atari-mint-gcc -I../../../.. -D__KERNEL_MODULE__ -DMODULE_NAME=aranym -m68040 -Werror -mshort -g -O2 -fomit-frame-pointer -Wall -Wmissing-prototypes -Wshadow -Wpointer-arith -Waggregate-return -c aranym-hcd.c -o aranym-hcd.o
cc1: warnings being treated as errors
In file included from ../../../../libkern/libkern.h:222:0,
                 from aranym-hcd.c:28:
../../../../libkern/kernel_module.h:1117:13: error: no previous prototype for 'Find_pci_device' ../../../../libkern/kernel_module.h:1120:13: error: no previous prototype for 'Find_pci_classcode' ../../../../libkern/kernel_module.h:1123:13: error: no previous prototype for 'Read_config_byte' ../../../../libkern/kernel_module.h:1126:13: error: no previous prototype for 'Read_config_word' ../../../../libkern/kernel_module.h:1129:13: error: no previous prototype for 'Read_config_longword' ../../../../libkern/kernel_module.h:1132:22: error: no previous prototype for 'Fast_read_config_byte' ../../../../libkern/kernel_module.h:1135:23: error: no previous prototype for 'Fast_read_config_word' ../../../../libkern/kernel_module.h:1138:22: error: no previous prototype for 'Fast_read_config_longword' ../../../../libkern/kernel_module.h:1141:13: error: no previous prototype for 'Special_cycle' ../../../../libkern/kernel_module.h:1144:13: error: no previous prototype for 'Write_mem_byte' ../../../../libkern/kernel_module.h:1147:13: error: no previous prototype for 'Write_mem_word' ../../../../libkern/kernel_module.h:1150:13: error: no previous prototype for 'Write_io_byte' ../../../../libkern/kernel_module.h:1153:13: error: no previous prototype for 'Write_io_word'
make[5]: *** [aranym-hcd.o] Error 1

Alan.