Date: Wed, 11 Jan 2012 13:13:09 -0800 From: Adrian Chadd <adrian@freebsd.org> To: lev@freebsd.org Cc: freebsd-embedded@freebsd.org Subject: Re: Stripping down embedded kernel -- MII PHY & ATA sub-drivers Message-ID: <CAJ-Vmon=JYfMsqO73DU%2BpXrvJX=syyOCseLKxzDKy5oZBjC5dw@mail.gmail.com> In-Reply-To: <615267607.20120112004555@serebryakov.spb.ru> References: <615267607.20120112004555@serebryakov.spb.ru>
next in thread | previous in thread | raw e-mail | index | archive | help
Hi, 2012/1/11 Lev Serebryakov <lev@freebsd.org>: > Hello, Freebsd-embedded. > > =A0Is it possible to build kernel with only needed MII and ATA (legacy > ATA) drivers? For example, my Sokeris net5501 has only one MII PHY (for > vrX, Generic IEEE 802.3u media interface) and only one ATA controller > (AMD CS5536 UDMA100 controller). So it doesn't need all these > sub-drivers, and it looks like a lot of objects (several megabytes). It _should_ only be including the phy's you require, right? (eg, if you only include drivers as modules, and "miibus", it shouldn't link in any files.) In terms of ATA controller though - that's a good question. I haven't yet looked at breaking out the ATA controller code into chipset stuff. Maybe that's a good mini project for you :) Adrian
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAJ-Vmon=JYfMsqO73DU%2BpXrvJX=syyOCseLKxzDKy5oZBjC5dw>