Alan 4112e16a7c 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 <alan@redhat.com>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
2007-02-09 17:39:30 -05:00
..
2007-01-24 19:55:16 -05:00
2007-02-09 17:39:29 -05:00
2006-12-03 07:57:21 -05:00
2007-01-24 19:55:16 -05:00
2007-01-24 19:55:16 -05:00
2007-01-24 19:55:16 -05:00
2007-02-09 17:39:29 -05:00
2007-02-09 17:39:29 -05:00
2007-02-09 17:39:29 -05:00
2006-08-10 07:31:37 -04:00
2007-02-09 17:39:29 -05:00
2007-02-09 17:39:30 -05:00