S2io: Check for register initialization completion before accesing device registers
authorSreenivasa Honnur <Sreenivasa.Honnur@neterion.com>
Thu, 6 Dec 2007 04:59:28 +0000 (23:59 -0500)
committerJeff Garzik <jeff@garzik.org>
Fri, 7 Dec 2007 20:09:06 +0000 (15:09 -0500)
commit7962024e9d16e9349d76b553326f3fa7be64305e
tree4d12ca9d0219967ab2dc90b5dc3a0adb8283c84a
parent17cf803a57c89c5afe6d5299ac9416683c3240dd
S2io: Check for register initialization completion before accesing device registers

- Making sure register initialisation is complete before proceeding further.
  The driver must wait until initialization is complete before attempting to
  access any other device registers.

Signed-off-by: Surjit Reang <surjit.reang@neterion.com>
Signed-off-by: Sreenivasa Honnur <sreenivasa.honnur@neterion.com>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
drivers/net/s2io-regs.h
drivers/net/s2io.c