• Daniel Ritz's avatar
    [PATCH] yenta: make ToPIC95 bridges work with 16bit cards · ea2f1590
    Daniel Ritz authored
    ToPIC95 brides (and maybe some other too) require to use the ExCA registers
    to power up the socket if a 16bit card is pluged.  allow socket drivers to
    set a flag so that yenta does just that.  also clean up yenta_get_status()
    a bit to use the new yenta_get_power() function.
    
    Side note: ToPIC97 bridges (at least in Rev.5 i have) don't require this.
    
    Ryan Underwood <nemesis-lists@icequake.net> said:
    
     According to the mail that David Hinds received from a Toshiba engineer,
     ToPIC95 and 97 do require this, and ToPIC100 does not.  Maybe you have a
     later revision.
    
     For all chips, 16-bit cards can be enabled through ExCA.  So doesn't it
     make sense just to make this the default behavior for all Toshiba chips,
     to avoid corner cases showing up later?
    
    Daniel responded:
    
     I disagree with ryan to change anything for topic97 bridges.  they work.
     and I couldn't find (read google) any report of a topic97 breaking on
     applying power with the CB registers.
    
     I'm having several toshba notebooks at work (and home) with topic95,97,100
     bridges.  Only the ones with a topic95 didn't work.
    Signed-off-by: default avatarDaniel Ritz <daniel.ritz@gmx.ch>
    Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
    Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
    ea2f1590
yenta_socket.c 35.8 KB