atom feed11 messages in org.freebsd.freebsd-archRe: Modular ata chipsets data
FromSent OnAttachments
Oleksandr TymoshenkoOct 3, 2008 7:16 pm 
Søren SchmidtOct 4, 2008 3:19 am 
Oleksandr TymoshenkoOct 4, 2008 10:56 am 
Søren SchmidtOct 4, 2008 11:31 am 
Rafal JaworowskiOct 4, 2008 11:34 am 
Søren SchmidtOct 4, 2008 2:05 pm 
John-Mark GurneyOct 8, 2008 12:34 pm 
John BaldwinOct 8, 2008 2:43 pm 
Søren SchmidtOct 9, 2008 12:43 am 
Andriy GaponOct 9, 2008 4:51 am 
Rink SpringerOct 9, 2008 5:22 am 
Subject:Re: Modular ata chipsets data
From:Rink Springer (ri@FreeBSD.org)
Date:Oct 9, 2008 5:22:28 am
List:org.freebsd.freebsd-arch

On Thu, Oct 09, 2008 at 02:51:33PM +0300, Andriy Gapon wrote:

on 09/10/2008 00:43 John Baldwin said the following:

What happens with mii is that you have a choice, you can either use 'device miibus' in which case you get all of the various drivers and the infrastructure, or you can use 'device mii', 'device rlphy', etc. if you wish to take a more fine-grained approach. Similarly, there is a miibus.ko that just depends on all the sub-drivers so you can still do 'kldload miibus.ko' to load all of them. I think this is probably a fine model as it will still load everything by default, but people who care about the space savings can trim things down as desired.

Sorry for hijacking the thread but is this documented anywhere? On RELENG_7 system I couldn't find the above info in NOTES and miibus(4), only device miibus is referred to.

I've once tried this. Adding modules for xxxphy is easy, but I found it rather difficult to isolate which NIC needs to depend on which phy (for example, you'll want if_rl to depend on rlphy - but this isn't obvious for all NIC/PHY combinations)

Regards,