Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 26 May 2010 17:30:19 +0000 (UTC)
From:      Marius Strobl <marius@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-7@freebsd.org
Subject:   svn commit: r208573 - stable/7/sys/modules/ata/atadisk
Message-ID:  <201005261730.o4QHUJs8011336@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: marius
Date: Wed May 26 17:30:19 2010
New Revision: 208573
URL: http://svn.freebsd.org/changeset/base/208573

Log:
  MFC: r208468
  
  At least on sparc64 this module requires ata_machdep.c.

Modified:
  stable/7/sys/modules/ata/atadisk/Makefile
Directory Properties:
  stable/7/sys/   (props changed)
  stable/7/sys/cddl/contrib/opensolaris/   (props changed)
  stable/7/sys/contrib/dev/acpica/   (props changed)
  stable/7/sys/contrib/pf/   (props changed)

Modified: stable/7/sys/modules/ata/atadisk/Makefile
==============================================================================
--- stable/7/sys/modules/ata/atadisk/Makefile	Wed May 26 17:30:14 2010	(r208572)
+++ stable/7/sys/modules/ata/atadisk/Makefile	Wed May 26 17:30:19 2010	(r208573)
@@ -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 <bsd.kmod.mk>



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