From 9d32a19998f9b70249bdf9daa8efde9262d71b9e Mon Sep 17 00:00:00 2001 From: Till Straumann Date: Fri, 23 Jul 2010 08:55:04 +0000 Subject: 2010-07-23 Till Straumann * libbsdport/devicet.c: Initialize libbspExt. --- bsd_eth_drivers/libbsdport/devicet.c | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'bsd_eth_drivers/libbsdport/devicet.c') diff --git a/bsd_eth_drivers/libbsdport/devicet.c b/bsd_eth_drivers/libbsdport/devicet.c index 923918f..7d678fb 100644 --- a/bsd_eth_drivers/libbsdport/devicet.c +++ b/bsd_eth_drivers/libbsdport/devicet.c @@ -1,5 +1,9 @@ #define DEVICET_EXTERN_INLINE +#ifdef HAVE_CONFIG_H +#include +#endif + #include "devicet.h" #include #include @@ -12,6 +16,10 @@ #include #include "libbsdport_api.h" +#ifdef HAVE_LIBBSPEXT +#include +#endif + #define DEBUG 0 int libbsdportAttachVerbose = DEBUG; @@ -253,6 +261,10 @@ int n_bus; if ( !attaching ) return ENOTSUP; +#ifdef HAVE_LIBBSPEXT + bspExtInit(); +#endif + if ( (wantedunit = get_pci_triple(cfg->name)) < 0 ) { get_name_unit(cfg->name, nm, &wantedunit); } else { -- cgit v1.2.3