Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/dev/ofisa fix wdc_init_shadow_regs() arg



details:   https://anonhg.NetBSD.org/src/rev/35f80eac89dc
branches:  trunk
changeset: 827039:35f80eac89dc
user:      jdolecek <jdolecek%NetBSD.org@localhost>
date:      Tue Oct 10 05:35:15 2017 +0000

description:
fix wdc_init_shadow_regs() arg

diffstat:

 sys/dev/ofisa/wdc_ofisa.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 09617f8d040d -r 35f80eac89dc sys/dev/ofisa/wdc_ofisa.c
--- a/sys/dev/ofisa/wdc_ofisa.c Tue Oct 10 03:11:01 2017 +0000
+++ b/sys/dev/ofisa/wdc_ofisa.c Tue Oct 10 05:35:15 2017 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: wdc_ofisa.c,v 1.34 2017/10/07 19:52:11 jdolecek Exp $  */
+/*     $NetBSD: wdc_ofisa.c,v 1.35 2017/10/10 05:35:15 jdolecek Exp $  */
 
 /*
  * Copyright 1997, 1998
@@ -38,7 +38,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: wdc_ofisa.c,v 1.34 2017/10/07 19:52:11 jdolecek Exp $");
+__KERNEL_RCSID(0, "$NetBSD: wdc_ofisa.c,v 1.35 2017/10/10 05:35:15 jdolecek Exp $");
 
 #include <sys/param.h>
 #include <sys/device.h>
@@ -161,7 +161,7 @@
        sc->sc_channel.ch_channel = 0;
        sc->sc_channel.ch_atac = &sc->sc_wdcdev.sc_atac;
        sc->sc_channel.ch_queue = ata_queue_alloc(1);
-       wdc_init_shadow_regs(&sc->sc_channel);
+       wdc_init_shadow_regs(wdr);
 
        wdcattach(&sc->sc_channel);
 



Home | Main Index | Thread Index | Old Index