igbe: use safer MMIO register access
authorBarret Rhoden <brho@cs.berkeley.edu>
Fri, 28 Mar 2014 21:39:24 +0000 (14:39 -0700)
committerBarret Rhoden <brho@cs.berkeley.edu>
Sat, 29 Mar 2014 01:17:06 +0000 (18:17 -0700)
commit991dcef64961834ab3efea923bbe58ab23b41ce1
treec88a4e74504e9a994e6f9fdd6b896040ae16f818
parent79b3e4556b1c1331be75b8c7530c5d624eeda0b6
igbe: use safer MMIO register access

Gcc might optimize the register accesses, so we need to use the
volatile* helpers.
kern/drivers/net/etherigbe.c