firewire: ohci: optimize TSB41BA3D detection
authorStefan Richter <stefanr@s5r6.in-berlin.de>
Mon, 19 Sep 2011 07:29:30 +0000 (09:29 +0200)
committerStefan Richter <stefanr@s5r6.in-berlin.de>
Sun, 9 Oct 2011 15:00:17 +0000 (17:00 +0200)
commitb810e4ae111cb8b4c0ccbbe7ff4ea0a23c671e4f
treeedc61366619baf3d63ac1fcc8f82047d5f8839d4
parent28897fb73c848eb441e54e859d0b64ad6b44d2e6
firewire: ohci: optimize TSB41BA3D detection

Takes less source code and machine code, and less runtime with PHYs
other than TSB41BA3D (e.g. TSB81BA3 with device ID 0x831304 which takes
one instead of six read_paged_phy_reg now).

Signed-off-by: Stefan Richter <stefanr@s5r6.in-berlin.de>
drivers/firewire/ohci.c