• James Bottomley's avatar
    aha152x request region fix · f96320c3
    James Bottomley authored
    Noticed by: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
    Fixed By: Juergen E. Fischer <fischer@linux-buechse.de>
    
    On Sat, Jan 24, 2004 at 15:02:12 +0100, Guennadi Liakhovetski wrote:
    > Correct and forgive me if I am wrong, it looks like you are now poking at
    > ports without requesting them - in *_porttest. Is it a good idea?
    
    Ouch.  No, of course not, you are right.  Thanks for pointing.  I
    thought I had moved the port testing to aha152x_probe_one...
    
    Following patch cleans that up.
    
    The port test during autoconfiguration was also done without requesting
    the region first and there was a bug in auto configuration of a TC1550
    controller (both even before the patch).
    f96320c3
aha152x.c 98.3 KB