> > >> usr/src/uts/common/sys/softmac_impl.h > >> ------------------------------------- > >> > >> * This file could stay in usr/src/uts/common/io/softmac/. > >> > > I could change this. But I'd like to understand the common practice. Why > > dls_impl.h, dld_impl.h are put in usr/src/uts/common/sys? > > Good question, and I don't have an answer. Does anyone else have an > answer to this one? I'm okay with following convention, but I don't see > the logical reasoning behind the convention.
I think it depends on the reach of the header file: if it's only #included by the driver itself, then it can live alongside the driver -- otherwise, it needs to be under usr/src/uts/*/sys. -- meem
