diff options
| author | Alan <[email protected]> | 2007-01-08 12:10:05 +0000 |
|---|---|---|
| committer | Jeff Garzik <[email protected]> | 2007-02-09 17:39:30 -0500 |
| commit | 4112e16a7c606a80810d22d55bfc742eaa61fecb (patch) | |
| tree | c48274decc14c4d71dd99f9c3f93087698e767f4 /tools/perf/scripts/python | |
| parent | d73f30e1c9a9af14757fa5bf4014343926047156 (diff) | |
libata-sff: Don't try and activate channels which are not in use
An ATA controller in native mode may have one or more channels disabled
and not assigned resources. In that case the existing code crashes trying
to access I/O ports 0-7.
Add the neccessary check.
Signed-off-by: Alan Cox <[email protected]>
Signed-off-by: Jeff Garzik <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions