On Monday, September 20, 2010 10:06:53 am Adrian Chadd wrote:
> On 20 September 2010 21:25, John Baldwin <j...@freebsd.org> 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
_______________________________________________
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"

Reply via email to