Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 26 Oct 2013 17:29:50 +0000 (UTC)
From:      Zbigniew Bodek <zbb@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r257172 - in head/sys: arm/mv boot/fdt/dts
Message-ID:  <201310261729.r9QHToRT059326@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: zbb
Date: Sat Oct 26 17:29:50 2013
New Revision: 257172
URL: http://svnweb.freebsd.org/changeset/base/257172

Log:
  Enable SATA interface on Armada XP
  
  - Add appropriate entry to DTS
  - Allow for MV78460 SATA probe and configuration
  
  Tested by:	kevlo
  Approved by:	cognet (mentor)

Modified:
  head/sys/arm/mv/mv_sata.c
  head/sys/boot/fdt/dts/db78460.dts

Modified: head/sys/arm/mv/mv_sata.c
==============================================================================
--- head/sys/arm/mv/mv_sata.c	Sat Oct 26 17:27:32 2013	(r257171)
+++ head/sys/arm/mv/mv_sata.c	Sat Oct 26 17:29:50 2013	(r257172)
@@ -200,6 +200,7 @@ sata_probe(device_t dev)
 	case MV_DEV_88F6282:
 	case MV_DEV_MV78100:
 	case MV_DEV_MV78100_Z0:
+	case MV_DEV_MV78460:
 		sc->sc_version = 2;
 		sc->sc_edma_qlen = 32;
 		break;

Modified: head/sys/boot/fdt/dts/db78460.dts
==============================================================================
--- head/sys/boot/fdt/dts/db78460.dts	Sat Oct 26 17:27:32 2013	(r257171)
+++ head/sys/boot/fdt/dts/db78460.dts	Sat Oct 26 17:29:50 2013	(r257172)
@@ -283,6 +283,13 @@
 				};
 			};
 		};
+
+		sata@A0000 {
+			compatible = "mrvl,sata";
+			reg = <0xA0000 0x6000>;
+			interrupts = <55>;
+			interrupt-parent = <&MPIC>;
+		};
 	};
 
 	pci0: pcie@d0040000 {



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