diff options
author | sam <sam@FreeBSD.org> | 2003-08-19 17:51:11 +0000 |
---|---|---|
committer | sam <sam@FreeBSD.org> | 2003-08-19 17:51:11 +0000 |
commit | 59ff2ad5c76dd93b883ff0f8a7fdd96a30e6a19a (patch) | |
tree | ab83000d32d028d24443ab237035b625ff7b65dd /sys/pci | |
parent | fbca8f8acd8e3d733f33a81456516634845ffe76 (diff) | |
download | FreeBSD-src-59ff2ad5c76dd93b883ff0f8a7fdd96a30e6a19a.zip FreeBSD-src-59ff2ad5c76dd93b883ff0f8a7fdd96a30e6a19a.tar.gz |
Change instances of callout_init that specify MPSAFE behaviour to
use CALLOUT_MPSAFE instead of "1" for the second parameter. This
does not change the behaviour; it just makes the intent more clear.
Diffstat (limited to 'sys/pci')
-rw-r--r-- | sys/pci/if_dc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/pci/if_dc.c b/sys/pci/if_dc.c index 7013a6c..dc938fa 100644 --- a/sys/pci/if_dc.c +++ b/sys/pci/if_dc.c @@ -2289,7 +2289,7 @@ dc_attach(device_t dev) ifp->if_data.ifi_hdrlen = sizeof(struct ether_vlan_header); ifp->if_capabilities |= IFCAP_VLAN_MTU; - callout_init(&sc->dc_stat_ch, IS_MPSAFE); + callout_init(&sc->dc_stat_ch, IS_MPSAFE ? CALLOUT_MPSAFE : 0); #ifdef SRM_MEDIA sc->dc_srm_media = 0; |