Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 10 Sep 1998 05:18:25 +1000
From:      Bruce Evans <bde@zeta.org.au>
To:        bde@zeta.org.au, imp@village.org
Cc:        cvs-all@FreeBSD.ORG, cvs-committers@FreeBSD.ORG
Subject:   Re: cvs commit: src/sys/conf files
Message-ID:  <199809091918.FAA12827@godzilla.zeta.org.au>

next in thread | raw e-mail | index | archive | help
>Actually, the real problem is that sys/bus.h includes these files,
>which are generated by the kerenl.

That's a different problem :-).  I learned from including "ioconf.h"
in <machine/conf.h> that system headers shall not include generated
headers.  This mistake was repeated with options headers :-(.

>Another "problem" is that there is now a sys/bus.h and a machine/bus.h
>which serve different purposes.  sys/bus.h is for autoconfig's notion
>of what bus is attached to what other bus, while machine/bus.h is for
>the whole notion of how to access a device attached to a bus to diddle
>the hardware.

This is related to the problem that Justin hasn't persuaded anyone not
working on CAM to use <machine/bus.h>.

Bruce



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199809091918.FAA12827>