Date: Thu, 9 Oct 2008 15:01:32 +0200 From: =?ISO-8859-1?Q?S=F8ren_Schmidt?= <sos@deepcore.dk> To: current <current@FreeBSD.ORG> Subject: ATA modules work committed Message-ID: <EA835B0D-9298-4645-8BFB-7916EB88E0F6@deepcore.dk>
next in thread | raw e-mail | index | archive | help
--Apple-Mail-2-436956406 Content-Type: text/plain; charset=ISO-8859-1; format=flowed; delsp=yes Content-Transfer-Encoding: quoted-printable Hi all! I've just committed the roumored ATA modulerisation works, and it =20 needs a little explanation I guess. If you just config KERNEL as usual there should be no apparent =20 changes, you'll get all chipset support code compiled in. However there is now a way to only compile in code for chipsets needed =20= on a pr vendor basis. ATA now has the following "device" entries: atacore: ATA core functionality, always needed for any ATA setup atacard: CARDBUS support atacbus: PC98 cbus support ataisa: ISA bus support atapci: PCI bus support only generic chipset support. ataahci: AHCI support, also pulled in by some vendor modules. ataacard, ataacerlabs, ataadaptec, ataamd, ataati, atacenatek, =20 atacypress, atacyrix, atahighpoint, ataintel, ataite, atajmicron, =20 atamarvell, atamicron, atanational, atanetcell, atanvidia, atapromise, =20= ataserverworks, atasiliconimage, atasis, atavia; Vendor support, = ie =20 atavia for VIA chipsets atadisk: ATA disk driver ataraid: ATA softraid driver atapicd: ATAPI cd/dvd driver atapifd: ATAPI floppy/flashdisk driver atapist: ATAPI tape driver atausb: ATA<>USB bridge atapicam: ATA<>CAM bridge This makes it possible to config a kernel with just VIA chipset =20 support by having the following ATA lines in the kernel config file: device atacore device atapci device atavia And then you need the atadisk, atapicd etc lines in there just as usual. If you use ATA as modules loaded at boot there is few changes except =20 the rename of the "ata" module to "atacore", things looks just as usual. However under atapci you now have a whole bunch of vendor specific =20 drivers, that you can kldload individually depending on you needs. =20 Drivers have the same names as used in the kernel config explained =20 above. -S=F8ren -- --Apple-Mail-2-436956406 Content-Disposition: attachment; filename=HEADSUP Content-Type: application/octet-stream; x-unix-mode=0644; name="HEADSUP" Content-Transfer-Encoding: quoted-printable Hi=20all!=0A=0AI've=20just=20committed=20the=20roumored=20ATA=20= modulerisation=20works,=20and=20it=20needs=20a=20little=20explanation=20= I=20guess.=0A=0AIf=20you=20just=20config=20KERNEL=20as=20usual=20there=20= should=20be=20no=20apparent=20changes,=20you'll=20get=20all=20chipset=20= support=20code=20compiled=20in.=0A=0AHowever=20there=20is=20now=20a=20= way=20to=20only=20compile=20in=20code=20for=20chipsets=20needed=20on=20a=20= pr=20vendor=20basis.=20ATA=20now=20has=20the=20following=20"device"=20= entries:=0A=0Aatacore:=09ATA=20core=20functionality,=20always=20needed=20= for=20any=20ATA=20setup=0A=0Aatacard:=09CARDBUS=20support=0Aatacbus:=09= PC98=20cbus=20support=0Aataisa:=09=09ISA=20bus=20support=0Aatapci:=09=09= PCI=20bus=20support=20only=20generic=20chipset=20support.=0A=0Aataahci:=09= AHCI=20support,=20also=20pulled=20in=20by=20some=20vendor=20modules.=0A=0A= ataacard,=20ataacerlabs,=20ataadaptec,=20ataamd,=20ataati,=20atacenatek,=20= atacypress,=20atacyrix,=20atahighpoint,=20ataintel,=20ataite,=20= atajmicron,=20atamarvell,=20atamicron,=20atanational,=20atanetcell,=20= atanvidia,=20atapromise,=20ataserverworks,=20atasiliconimage,=20atasis,=20= atavia;=09Vendor=20support,=20ie=20atavia=20for=20VIA=20chipsets=0A=0A= atadisk:=09ATA=20disk=20driver=0Aataraid:=09ATA=20softraid=20driver=0A=0A= atapicd:=09ATAPI=20cd/dvd=20driver=0Aatapifd:=09ATAPI=20floppy/flashdisk=20= driver=0Aatapist:=09ATAPI=20tape=20driver=0A=0Aatausb:=09=09ATA<>USB=20= bridge=0Aatapicam:=09ATA<>CAM=20bridge=0A=0AThis=20makes=20it=20possible=20= to=20config=20a=20kernel=20with=20just=20VIA=20chipset=20support=20by=20= having=20the=20following=20ATA=20lines=20in=20the=20kernel=20config=20= file:=0A=0Adevice=20=20=20=20=20=20=20=20=20=20atacore=0Adevice=20=20=20=20= =20=20=20=20=20=20atapci=0Adevice=20=20=20=20=20=20=20=20=20=20atavia=0A=0A= And=20then=20you=20need=20the=20atadisk,=20atapicd=20etc=20lines=20in=20= there=20just=20as=20usual.=0A=0A=0AIf=20you=20use=20ATA=20as=20modules=20= loaded=20at=20boot=20there=20is=20few=20changes=20except=20the=20rename=20= of=20the=20"ata"=20module=20to=20"atacore",=20things=20looks=20just=20as=20= usual.=0AHowever=20under=20atapci=20you=20now=20have=20a=20whole=20bunch=20= of=20vendor=20specific=20drivers,=20that=20you=20can=20kldload=20= individually=20depending=20on=20you=20needs.=20Drivers=20have=20the=20= same=20names=20as=20used=20in=20the=20kernel=20config=20explained=20= above.=0A=0A-S=C3=B8ren=0A= --Apple-Mail-2-436956406 Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit --Apple-Mail-2-436956406--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?EA835B0D-9298-4645-8BFB-7916EB88E0F6>