Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 19 Aug 2010 09:18:46 -0400
From:      John Baldwin <jhb@freebsd.org>
To:        freebsd-hackers@freebsd.org
Cc:        Alexandr Rybalko <ray@dlink.ua>
Subject:   Re: Modules and Buses
Message-ID:  <201008190918.46947.jhb@freebsd.org>
In-Reply-To: <20100819153805.7d60302e.ray@dlink.ua>
References:  <20100819153805.7d60302e.ray@dlink.ua>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thursday, August 19, 2010 8:38:05 am Alexandr Rybalko wrote:
> Hi all,
> 
> Can someone say, how `make` in sys/modules dir can obtain available buses.
> I try to make clean version of bfe, that can be for PCI bus or can be part 
of SoC (like BCM5354) on SSB bus.
> So for proper module building I need to know what bus interface I must build 
if_bfe_pci.c, or if_bfe_siba.c, or both?

You can always include both buses.  If a bus driver isn't present in the 
kernel the attachment will just never be invoked.

-- 
John Baldwin



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201008190918.46947.jhb>