From owner-freebsd-bugs@FreeBSD.ORG Sat Mar 28 19:00:10 2009 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C2A0610656BF for ; Sat, 28 Mar 2009 19:00:10 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 05F158FC27 for ; Sat, 28 Mar 2009 19:00:06 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id n2SJ05vm021760 for ; Sat, 28 Mar 2009 19:00:05 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n2SJ05ms021759; Sat, 28 Mar 2009 19:00:05 GMT (envelope-from gnats) Resent-Date: Sat, 28 Mar 2009 19:00:05 GMT Resent-Message-Id: <200903281900.n2SJ05ms021759@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Bruce Cran Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B9B481065673 for ; Sat, 28 Mar 2009 18:51:28 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21]) by mx1.freebsd.org (Postfix) with ESMTP id 8D4878FC16 for ; Sat, 28 Mar 2009 18:51:28 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.14.3/8.14.3) with ESMTP id n2SIpSG1097737 for ; Sat, 28 Mar 2009 18:51:28 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.14.3/8.14.3/Submit) id n2SIpS0B097736; Sat, 28 Mar 2009 18:51:28 GMT (envelope-from nobody) Message-Id: <200903281851.n2SIpS0B097736@www.freebsd.org> Date: Sat, 28 Mar 2009 18:51:28 GMT From: Bruce Cran To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: kern/133162: [NOTES] [patch] document modular ata driver devices X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 28 Mar 2009 19:00:11 -0000 >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@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: