summaryrefslogtreecommitdiffstats
path: root/sys/pci/if_dc.c
diff options
context:
space:
mode:
authorjhb <jhb@FreeBSD.org>2005-10-13 20:22:07 +0000
committerjhb <jhb@FreeBSD.org>2005-10-13 20:22:07 +0000
commit9d4f7296d4bd26d172e55a582c41d028d6dceb40 (patch)
tree9d98bae436a2742280ef075e75cf810d3e5d17a8 /sys/pci/if_dc.c
parentc86a98f6abe57022c1b6be22c854aaf5e3d207eb (diff)
downloadFreeBSD-src-9d4f7296d4bd26d172e55a582c41d028d6dceb40.zip
FreeBSD-src-9d4f7296d4bd26d172e55a582c41d028d6dceb40.tar.gz
Minor tweaks and fixups:
- Use device_printf() and if_printf() and remove nge_unit. - Use callout_init_mtx() and remove nge_tick_locked() as nge_tick() is now always called with the driver lock held. - Use M_ZERO to contigmalloc() when allocating nge_ldata. It was possible for the random garbage to be used in certain cases otherwise. - Cleanup attach error handling including no longer leaking nge_ldata. - Add locking to the ifmedia callouts. - Lock accesses to if_hwassist and if_capenable in nge_ioctl(). Submitted by: Yuriy N. Shkandybin jura at networks dot ru (1, 3, 4) Tested by: Yuriy N. Shkandybin jura at networks dot ru MFC after: 3 days
Diffstat (limited to 'sys/pci/if_dc.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud