Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 28 Mar 2009 18:38:04 GMT
From:      Bruce Cran <bruce@cran.org.uk>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   powerpc/133161: [ata] [patch] add support for building mac ata chipset driver to build system
Message-ID:  <200903281838.n2SIc4ga086382@www.freebsd.org>
Resent-Message-ID: <200903281840.n2SIe3r3095849@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         133161
>Category:       powerpc
>Synopsis:       [ata] [patch] add support for building mac ata chipset driver to build system
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ppc
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sat Mar 28 18:40:03 UTC 2009
>Closed-Date:
>Last-Modified:
>Originator:     Bruce Cran
>Release:        8.0-CURRENT
>Organization:
>Environment:
FreeBSD mac.draftnet 8.0-CURRENT FreeBSD 8.0-CURRENT #0: Sat Mar 28 17:27:59 GMT 2009 brucec@mac.draftnet:/usr/obj/usr/src/sys/IBMIN powerpc
>Description:
Last year the ATA driver was modularised such that kernels can now be built with selective chipset support.  There's currently no way to build the driver required for operation on mac ppc without pulling in all the other drivers.  The attached patch adds the 'atamacppc' device; it requires the atacore and atapci devices to be present in the kernel configuration file.
>How-To-Repeat:

>Fix:


Patch attached with submission follows:

--- /sys/conf/files.powerpc	2009-02-28 16:21:25.000000000 +0000
+++ files.powerpc	2009-03-28 18:24:57.000000000 +0000
@@ -113,9 +113,9 @@
 powerpc/ofw/ofw_pcibus.c	optional	pci aim
 powerpc/ofw/ofw_pcib_pci.c	optional	pci aim
 powerpc/ofw/ofw_syscons.c	optional	sc aim
-powerpc/powermac/ata_kauai.c	optional	powermac ata
-powerpc/powermac/ata_macio.c	optional	powermac ata
-powerpc/powermac/ata_dbdma.c	optional	powermac ata
+powerpc/powermac/ata_kauai.c	optional	powermac ata | powermac atamacppc
+powerpc/powermac/ata_macio.c	optional	powermac ata | powermac atamacppc
+powerpc/powermac/ata_dbdma.c	optional	powermac ata | powermac atamacppc
 powerpc/powermac/dbdma.c	optional	powermac pci
 powerpc/powermac/grackle.c	optional	powermac pci
 powerpc/powermac/hrowpic.c	optional	powermac pci


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200903281838.n2SIc4ga086382>