cvs commit: src/sys/dev/smbus smbus.c src/sys/kern bus_if.m

Ion-Mihai Tetcu itetcu at
Tue Sep 12 04:01:07 PDT 2006

On Mon, 11 Sep 2006 22:20:37 +0000 (UTC)
John Baldwin <jhb at> wrote:

> jhb         2006-09-11 22:20:37 UTC
>   FreeBSD src repository
>   Modified files:
>     sys/dev/smbus        smbus.c 
>     sys/kern             bus_if.m 
>   Log:
>   - Revert making bus_generic_add_child() the default for
> BUS_ADD_CHILD(). Instead, we want busses to explicitly specify an
> add_child routine if they want to support identify routines, but by
> default disallow having outside drivers add devices.
>   - Give smbus(4) an explicit bus_add_child() method.

Might it have anything with this ?

===> i2c/controllers/viapm (all)
cc -O2 -pipe -DVIAPM_BASE_ADDR=0x6000 -fno-strict-aliasing -Werror -D_KERNEL -DKLD_MODULE -std=c99 -nostdinc -I-   -DHAVE_KERNEL_OPTION_HEADERS -include /usr/obj/usr/src/sys/ORION_U_P_O/opt_global.h -I. -I@ -I@/contrib/altq -finline-limit=8000 --param inline-unit-growth=100 --param large-function-growth=1000 -fno-common -g -I/usr/obj/usr/src/sys/ORION_U_P_O -mno-align-long-strings -mpreferred-stack-boundary=2  -mno-mmx -mno-3dnow -mno-sse -mno-sse2 -mno-sse3 -ffreestanding -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual  -Wundef -fformat-extensions -c /usr/src/sys/modules/i2c/controllers/viapm/../../../../pci/viapm.c
In file included from /usr/src/sys/modules/i2c/controllers/viapm/../../../../pci/viapm.c:54:
@/dev/smbus/smbus.h:34: error: field `lock' has incomplete type
*** Error code 1

IOnut - Un^d^dregistered ;) FreeBSD "user"
  "Intellectual Property" is   nowhere near as valuable   as "Intellect"

The joys of love made her human and the agonies of love destroyed
		-- Spock, "Requiem for Methuselah", stardate 5842.8

More information about the cvs-src mailing list