[coreboot] [patch] update superiotool support for FreeBSD

Idwer Vollering vidwer at gmail.com
Sun Oct 17 18:37:27 CEST 2010

Update support for FreeBSD.

Signed-off-by: Idwer Vollering <vidwer at gmail.com>


FreeBSD support already existed but doesn't compile without errors on my
fbsd 8.1 machine:

$ gmake
gcc -O2 -Wall -Werror -Wstrict-prototypes -Wundef -Wstrict-aliasing
-Werror-implicit-function-declaration -ansi -pedantic
-D'SUPERIOTOOL_VERSION="5728"' -DPCI_SUPPORT   -c -o superiotool.o
In file included from superiotool.c:24:
superiotool.h:41:21: error: pci/pci.h: No such file or directory
superiotool.c: In function 'main':
superiotool.c:302: error: implicit declaration of function 'pci_alloc'
cc1: warnings being treated as errors
superiotool.c:302: warning: assignment makes pointer from integer without a
superiotool.c:303: error: implicit declaration of function 'pci_init'
superiotool.c:304: error: implicit declaration of function 'pci_scan_bus'
gmake: *** [superiotool.o] Error 1
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.coreboot.org/pipermail/coreboot/attachments/20101017/e856c2ae/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: superiotool_update-freebsd.patch
Type: text/x-diff
Size: 579 bytes
Desc: not available
URL: <http://www.coreboot.org/pipermail/coreboot/attachments/20101017/e856c2ae/attachment.bin>

More information about the coreboot mailing list