diff options
Diffstat (limited to 'sys/dev/pci/if_em.h')
| -rw-r--r-- | sys/dev/pci/if_em.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/dev/pci/if_em.h b/sys/dev/pci/if_em.h index 9d1f267ec70..5806c62cb95 100644 --- a/sys/dev/pci/if_em.h +++ b/sys/dev/pci/if_em.h @@ -32,7 +32,7 @@ POSSIBILITY OF SUCH DAMAGE. ***************************************************************************/ /* $FreeBSD: if_em.h,v 1.26 2004/09/01 23:22:41 pdeuskar Exp $ */ -/* $OpenBSD: if_em.h,v 1.64 2016/01/07 04:30:45 dlg Exp $ */ +/* $OpenBSD: if_em.h,v 1.65 2016/01/07 04:37:53 dlg Exp $ */ #ifndef _EM_H_DEFINED_ #define _EM_H_DEFINED_ @@ -412,4 +412,6 @@ struct em_softc { struct em_hw_stats stats; }; +#define DEVNAME(_sc) ((_sc)->sc_dev.dv_xname) + #endif /* _EM_H_DEFINED_ */ |
