sfc: I2C adapter initialisation fixes
authorBen Hutchings <bhutchings@solarflare.com>
Fri, 18 Jul 2008 17:59:12 +0000 (18:59 +0100)
committerJeff Garzik <jgarzik@redhat.com>
Tue, 22 Jul 2008 23:43:29 +0000 (19:43 -0400)
commit9dadae686fce02a02982fc9c0563f6b917217a66
treeafcae0c58a0e8eb927a7d80d412fdb41dc5b0dff
parent81250297d85b26eb4e9de5decf752dce430277f9
sfc: I2C adapter initialisation fixes

As recommended by Jean Delvare:
- Increase timeout to 50 ms
- Leave adapter class clear so that unwanted drivers do not probe our bus
- Use strlcpy() for name initialisation

Signed-off-by: Ben Hutchings <bhutchings@solarflare.com>
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
drivers/net/sfc/falcon.c