RFC: ATA to CAM integration patch (and gjournaled previuos
nodes)
Alexander Motin
mav at FreeBSD.org
Sun Jul 5 15:14:03 UTC 2009
Lucius Windschuh wrote:
> Hi Alexander.
>
> 2009/7/5 Alexander Motin <mav at freebsd.org>:
>> It's never late. I have just uploaded fresh patch:
>> http://people.freebsd.org/~mav/cam-ata.20090704.patch
>
> "make buildworld" with this patch stops in my configuration with:
>
> /usr/obj/usr/src/tmp/usr/lib/libcam.a(ata_all.o)(.text+0x263): In
> function `ata_max_mode':
> : undefined reference to `min'
>
> Simply adding
> #ifndef min
> #define min(a,b) (((a)<(b))?(a):(b))
> #endif
> in ata_all.c helps, obviously.
Thanks.
--
Alexander Motin
More information about the freebsd-current
mailing list