svn commit: r257172 - in head/sys: arm/mv boot/fdt/dts
Zbigniew Bodek
zbb at FreeBSD.org
Sat Oct 26 17:29:51 UTC 2013
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 at A0000 {
+ compatible = "mrvl,sata";
+ reg = <0xA0000 0x6000>;
+ interrupts = <55>;
+ interrupt-parent = <&MPIC>;
+ };
};
pci0: pcie at d0040000 {
More information about the svn-src-all
mailing list