Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/arm/nvidia fix bus space handle for ahcisata
details: https://anonhg.NetBSD.org/src/rev/595aa4ac0e3c
branches: trunk
changeset: 337759:595aa4ac0e3c
user: jmcneill <jmcneill%NetBSD.org@localhost>
date: Sun Apr 26 16:41:04 2015 +0000
description:
fix bus space handle for ahcisata
diffstat:
sys/arch/arm/nvidia/tegra_ahcisata.c | 7 ++++---
1 files changed, 4 insertions(+), 3 deletions(-)
diffs (29 lines):
diff -r 6114d3715234 -r 595aa4ac0e3c sys/arch/arm/nvidia/tegra_ahcisata.c
--- a/sys/arch/arm/nvidia/tegra_ahcisata.c Sun Apr 26 16:24:01 2015 +0000
+++ b/sys/arch/arm/nvidia/tegra_ahcisata.c Sun Apr 26 16:41:04 2015 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: tegra_ahcisata.c,v 1.1 2015/03/29 10:41:59 jmcneill Exp $ */
+/* $NetBSD: tegra_ahcisata.c,v 1.2 2015/04/26 16:41:04 jmcneill Exp $ */
/*-
* Copyright (c) 2015 Jared D. McNeill <jmcneill%invisible.ca@localhost>
@@ -29,7 +29,7 @@
#include "locators.h"
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: tegra_ahcisata.c,v 1.1 2015/03/29 10:41:59 jmcneill Exp $");
+__KERNEL_RCSID(0, "$NetBSD: tegra_ahcisata.c,v 1.2 2015/04/26 16:41:04 jmcneill Exp $");
#include <sys/param.h>
#include <sys/bus.h>
@@ -70,8 +70,9 @@
sc->sc.sc_atac.atac_dev = self;
sc->sc.sc_dmat = tio->tio_dmat;
sc->sc.sc_ahcit = tio->tio_bst;
+ sc->sc.sc_ahcis = loc->loc_size;
bus_space_subregion(tio->tio_bst, tio->tio_bsh,
- loc->loc_offset, loc->loc_size, &sc->sc.sc_ahcis);
+ loc->loc_offset, loc->loc_size, &sc->sc.sc_ahcih);
sc->sc.sc_ahci_ports = 1;
aprint_naive("\n");
Home |
Main Index |
Thread Index |
Old Index