diff options
author | jhb <jhb@FreeBSD.org> | 2005-08-30 20:35:08 +0000 |
---|---|---|
committer | jhb <jhb@FreeBSD.org> | 2005-08-30 20:35:08 +0000 |
commit | 010cdcf6428d9edaf7865b1d1ea858f10646d733 (patch) | |
tree | 984c58bf64dcaa34b761549d0af3243b06879b38 /sys/pci/if_stereg.h | |
parent | 51994fffc4be5615daf8f50fd8d04ebfcde141fb (diff) | |
download | FreeBSD-src-010cdcf6428d9edaf7865b1d1ea858f10646d733.zip FreeBSD-src-010cdcf6428d9edaf7865b1d1ea858f10646d733.tar.gz |
Various locking fixes and mark MPSAFE:
- Add locked variants of start(), init(), ifmedia_upd(), and poll() and stop
recursing on the driver lock.
- Add locking to ifmedia_upd() and ifmedia_sts().
- Use callout_*() instead of timeout/untimeout.
- Fix locking in ioctl().
Tested by: Bob Bishop rb at gid dot co dot uk
MFC after: 3 days
Diffstat (limited to 'sys/pci/if_stereg.h')
-rw-r--r-- | sys/pci/if_stereg.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/pci/if_stereg.h b/sys/pci/if_stereg.h index f8ca37b..eab51640 100644 --- a/sys/pci/if_stereg.h +++ b/sys/pci/if_stereg.h @@ -519,7 +519,7 @@ struct ste_softc { struct ste_chain *ste_tx_prev; struct ste_list_data *ste_ldata; struct ste_chain_data ste_cdata; - struct callout_handle ste_stat_ch; + struct callout ste_stat_callout; struct mtx ste_mtx; u_int8_t ste_one_phy; #ifdef DEVICE_POLLING |