diff options
author | bms <bms@FreeBSD.org> | 2004-07-09 00:12:41 +0000 |
---|---|---|
committer | bms <bms@FreeBSD.org> | 2004-07-09 00:12:41 +0000 |
commit | 8336c29bfb06e9abe2c9c3213774a115fe8e02ce (patch) | |
tree | 22086165e6b55923887c71a368a328757c61c2f4 /sys/pci | |
parent | e2d65a49fd7ba24ab1d18539dbd7e5d6964b9523 (diff) | |
download | FreeBSD-src-8336c29bfb06e9abe2c9c3213774a115fe8e02ce.zip FreeBSD-src-8336c29bfb06e9abe2c9c3213774a115fe8e02ce.tar.gz |
Add a 'suspended' flag to softc so that we can avoid races on detach.
Diffstat (limited to 'sys/pci')
-rw-r--r-- | sys/pci/if_vrreg.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/pci/if_vrreg.h b/sys/pci/if_vrreg.h index 5cf3bb2..2c3bb45 100644 --- a/sys/pci/if_vrreg.h +++ b/sys/pci/if_vrreg.h @@ -468,6 +468,7 @@ struct vr_softc { struct vr_chain_data vr_cdata; struct callout_handle vr_stat_ch; struct mtx vr_mtx; + int suspended; /* if 1, sleeping/detaching */ #ifdef DEVICE_POLLING int rxcycles; #endif |