From owner-svn-src-all@FreeBSD.ORG Sun May 23 20:24:03 2010 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 90F651065673; Sun, 23 May 2010 20:24:03 +0000 (UTC) (envelope-from marius@FreeBSD.org) Received: from svn.freebsd.org (unknown [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 807738FC25; Sun, 23 May 2010 20:24:03 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id o4NKO3kR081062; Sun, 23 May 2010 20:24:03 GMT (envelope-from marius@svn.freebsd.org) Received: (from marius@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id o4NKO3Wd081059; Sun, 23 May 2010 20:24:03 GMT (envelope-from marius@svn.freebsd.org) Message-Id: <201005232024.o4NKO3Wd081059@svn.freebsd.org> From: Marius Strobl Date: Sun, 23 May 2010 20:24:03 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r208468 - in head/sys/modules: ata/atadisk cam X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 23 May 2010 20:24:03 -0000 Author: marius Date: Sun May 23 20:24:03 2010 New Revision: 208468 URL: http://svn.freebsd.org/changeset/base/208468 Log: At least on sparc64 these modules require ata_machdep.c. MFC after: 3 days Modified: head/sys/modules/ata/atadisk/Makefile head/sys/modules/cam/Makefile Modified: head/sys/modules/ata/atadisk/Makefile ============================================================================== --- head/sys/modules/ata/atadisk/Makefile Sun May 23 20:23:34 2010 (r208467) +++ head/sys/modules/ata/atadisk/Makefile Sun May 23 20:24:03 2010 (r208468) @@ -1,9 +1,13 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../../dev/ata +.PATH: ${.CURDIR}/../../../dev/ata ${.CURDIR}/../../../${MACHINE}/${MACHINE} KMOD= atadisk -SRCS= ata-disk.c +SRCS= ata-disk.c ${ata_machdep} SRCS+= opt_ata.h ata_if.h device_if.h bus_if.h pci_if.h +.if exists(${.CURDIR}/../../../${MACHINE}/${MACHINE}/ata_machdep.c) +ata_machdep= ata_machdep.c +.endif + .include Modified: head/sys/modules/cam/Makefile ============================================================================== --- head/sys/modules/cam/Makefile Sun May 23 20:23:34 2010 (r208467) +++ head/sys/modules/cam/Makefile Sun May 23 20:24:03 2010 (r208468) @@ -2,7 +2,7 @@ S= ${.CURDIR}/../.. -.PATH: $S/cam $S/cam/scsi $S/cam/ata +.PATH: $S/cam $S/cam/scsi $S/cam/ata $S/${MACHINE}/${MACHINE} KMOD= cam @@ -28,6 +28,9 @@ SRCS+= scsi_xpt.c SRCS+= ata_all.c SRCS+= ata_xpt.c SRCS+= ata_da.c +.if exists($S/${MACHINE}/${MACHINE}/ata_machdep.c) +SRCS+= ata_machdep.c +.endif SRCS+= ata_pmp.c EXPORT_SYMS= YES # XXX evaluate