vmxnet3: Register shutdown handler for device (fwd)
authorShreyas Bhatewara <sbhatewara@vmware.com>
Fri, 19 Jun 2015 20:36:02 +0000 (13:36 -0700)
committerDavid S. Miller <davem@davemloft.net>
Tue, 23 Jun 2015 13:25:59 +0000 (06:25 -0700)
commite9ba47bfe381888d8dc79123a20b2ec8b6751a47
treeb3e2c0262b4961e238c9c39ac6e3e57e98113bd5
parent8405a8fff3f8545c888a872d6e3c0c8eecd4d348
vmxnet3: Register shutdown handler for device (fwd)

Implement a handler for pci shutdown so that the driver has an
opportunity to make sure that device is quiesced before the PCI
switches to legacy IRQs. This way the possibility of
"screaming interrupt" is avoided.

Acked-by: Shrikrishna Khare <skhare@vmware.com>
Signed-off-by: Shreyas N Bhatewara <sbhatewara@vmware.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/vmxnet3/vmxnet3_drv.c