diff options
author | Len Brown <len.brown@intel.com> | 2009-05-28 07:59:58 +0400 |
---|---|---|
committer | Len Brown <len.brown@intel.com> | 2009-05-29 04:52:40 +0400 |
commit | 2f102607ac77354b02a76cf2748598ce9f270f08 (patch) | |
tree | 922513b874c12a9fe75bba02e94c24388f21dc35 /ipc/compat.c | |
parent | cd86a536c81e9300d984327517548ca0652eebf9 (diff) | |
download | linux-2f102607ac77354b02a76cf2748598ce9f270f08.tar.xz |
i7300_idle: allow testing on i5000-series hardware w/o re-compile
Testing the i7300_idle driver on i5000-series hardware required
an edit to i7300_idle.h to "#define SUPPORT_I5000 1" and a re-build
of both i7300_idle and ioat_dma.
Replace that build-time scheme with a load-time module parameter:
"7300_idle.forceload=1" to make it easier to test the driver
on hardware that while not officially validated, works fine
and is much more commonly available.
By default (no modparam) the driver will continue to load
only on the i7300.
Note that ioat_dma runs a copy of i7300_idle's probe routine
to know to reserve an IOAT channel for i7300_idle.
This change makes ioat_dma do that always on the i5000,
just like it does on the i7300.
Signed-off-by: Len Brown <len.brown@intel.com>
Acked-by: Andrew Henroid <andrew.d.henroid@intel.com>
Diffstat (limited to 'ipc/compat.c')
0 files changed, 0 insertions, 0 deletions