Krzysztof Halasa writes:
> There are two cards which are almost identical but one of them uses
> MMIO while the other uses regular IO. Of course, I'd like to have only
> one copy of driver source code and I want two binary drivers which can
> be selected and compiled independently.
I believe the preferred approach is to split it into three modules: MMIO, IO
and common stuff, where MMIO and IO depend on the module with the common stuff.
Regards,
Graham
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/
This archive was generated by hypermail 2b29 : Fri Apr 07 2000 - 21:00:18 EST