kern/133162: [NOTES] [patch] document modular ata driver devices
Bruce Cran
bruce at cran.org.uk
Sat Mar 28 12:00:11 PDT 2009
>Number: 133162
>Category: kern
>Synopsis: [NOTES] [patch] document modular ata driver devices
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: freebsd-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: doc-bug
>Submitter-Id: current-users
>Arrival-Date: Sat Mar 28 19:00:05 UTC 2009
>Closed-Date:
>Last-Modified:
>Originator: Bruce Cran
>Release: 8.0-CURRENT
>Organization:
>Environment:
FreeBSD tau.draftnet 8.0-CURRENT FreeBSD 8.0-CURRENT #3: Fri Mar 20 22:25:32 GMT 2009 brucec at tau.draftnet:/usr/obj/usr/src/sys/DELL amd64
>Description:
The ata driver was modularised in November last year such that kernels can now be built with selective chipset support. There's currently no documentation of the new device lines needed anywhere other than in /sys/conf/files; the attached patch adds entries to NOTES to document what's required to build kernels using the modularised driver.
>How-To-Repeat:
>Fix:
Patch attached with submission follows:
--- /sys/conf/NOTES 2009-03-19 20:33:26.000000000 +0000
+++ NOTES 2009-03-28 18:41:55.000000000 +0000
@@ -1628,14 +1628,52 @@
# The 'ATA' driver supports all ATA and ATAPI devices, including PC Card
# devices. You only need one "device ata" for it to find all
# PCI and PC Card ATA/ATAPI devices on modern machines.
+# Alternatively, individual bus and chipset drivers may be chosen by using
+# the 'atacore' driver then selecting the drivers on a per vendor basis.
+# For example to build a system which only supports a VIA chipset,
+# omit 'ata' and include the 'atacore', 'atapci' and 'atavia' drivers.
device ata
device atadisk # ATA disk drives
device ataraid # ATA RAID drives
device atapicd # ATAPI CDROM drives
device atapifd # ATAPI floppy drives
device atapist # ATAPI tape drives
+device atausb # ATA-USB bridge
device atapicam # emulate ATAPI devices as SCSI ditto via CAM
# needs CAM to be present (scbus & pass)
+
+# Modular ATA
+device atacore # Core ATA functionality
+device atacard # CARDBUS support
+device atabus # PC98 cbus support
+device ataisa # ISA bus support
+device atapci # PCI bus support; only generic chipset support
+
+# ATA chipsets
+device ataahci # AHCI SATA
+device ataacard # ACARD
+device ataacerlabs # Acer Labs Inc. (ALI)
+device ataadaptec # Adaptec
+device ataamd # American Micro Devices (AMD)
+device ataati # ATI
+device atacenatek # Cenatek
+device atacypress # Cypress
+device atacyrix # Cyrix
+device atahighpoint # HighPoint
+device ataintel # Intel
+device ataite # Integrated Technology Inc. (ITE)
+device atajmicron # JMicron
+device atamarvell # Marvell
+device atamicron # Micron
+device atanational # National
+device atanetcell # NetCell
+device atanvidia # nVidia
+device atapromise # Promise
+device ataserverworks # ServerWorks
+device atasiliconimage # Silicon Image Inc. (SiI) (formerly CMD)
+device atasis # Silicon Integrated Systems Corp.(SiS)
+device atavia # VIA Technologies Inc.
+
#
# For older non-PCI, non-PnPBIOS systems, these are the hints lines to add:
hint.ata.0.at="isa"
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-bugs
mailing list