tech-kern archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: Inter-driver #if dependencies
On Mon, May 18, 2015 at 7:40 AM, Paul Goyette <paul%vps1.whooppee.com@localhost> wrote:
> My crusade for modularity has arrived at the pcppi(4) driver, and I've
> discovered that there are a number of places in the code where a #if is used
> to determine whether or not some _other_ driver is available to provide
> certain routines. For pcppi(4), these dependencies are for the attimer(4)
> and pckbd(4) drivers. (While I haven't yet gone searching, I'd be willing
> to wager that there are other similar examples in other drivers.)
How about:
- making pcppi(4) provide the new pcppibus(4), and
- making attimer(4) and pckbd(4) attach at pcppibus(4)
?
Home |
Main Index |
Thread Index |
Old Index