Re: RFT: if_ath HAL refactoring

John Baldwin <[email protected]>
Newsgroups gmane.os.freebsd.devel.mobile,gmane.os.freebsd.current
Message-ID <[email protected]>
On Monday, September 20, 2010 10:06:53 am Adrian Chadd wrote:
> On 20 September 2010 21:25, John Baldwin <[email protected]> wrote:
> 
> > Why not include this iff both 'device ath' and 'device pci' are included?
> > That is what is normally done for bus-specific attachments.
> 
> I've not idea right now whether there's an Atheros SoC with an
> AHB-attached wireless device and a PCI bus. In fact, that won't work
> at the present time because the device names would clash.

Why would the device names clash?  We have _lots_ of drivers with multiple bus 
attachments that use the same name regardless of which bus they are on, and 
making a bus attachment conditional on the bus being present is what every 
other driver that desires this level of granularity does.

-- 
John Baldwin
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-mobile
To unsubscribe, send any mail to "[email protected]"
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.