In which header file does 'struct device' structure is defined on FreeBSD - 8.4 ?
grep -r "struct device {" /usr/src/sys
will give you sys/kern/subr_bus.c. Still defined there on more modern FreeBSD versions. Interestingly that file hasn't been touched since 2012!