Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/amiga/dev Set the correct device data size wdc_xsur...



details:   https://anonhg.NetBSD.org/src/rev/83885219a275
branches:  trunk
changeset: 826434:83885219a275
user:      phx <phx%NetBSD.org@localhost>
date:      Mon Sep 04 14:39:00 2017 +0000

description:
Set the correct device data size wdc_xsurf_softc instead of wdc_softc.

diffstat:

 sys/arch/amiga/dev/wdc_xsurf.c |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r 019afa532bb0 -r 83885219a275 sys/arch/amiga/dev/wdc_xsurf.c
--- a/sys/arch/amiga/dev/wdc_xsurf.c    Mon Sep 04 08:12:29 2017 +0000
+++ b/sys/arch/amiga/dev/wdc_xsurf.c    Mon Sep 04 14:39:00 2017 +0000
@@ -1,4 +1,4 @@
-/*      $NetBSD: wdc_xsurf.c,v 1.2 2012/11/21 22:37:03 rkujawa Exp $ */
+/*      $NetBSD: wdc_xsurf.c,v 1.3 2017/09/04 14:39:00 phx Exp $ */
 
 /*-
  * Copyright (c) 2012 The NetBSD Foundation, Inc.
@@ -92,7 +92,7 @@
 void           wdc_xsurf_map_channel(struct wdc_xsurf_softc *, int);
 int            wdc_xsurf_intr(void *arg);
 
-CFATTACH_DECL_NEW(wdc_xsurf, sizeof(struct wdc_softc),
+CFATTACH_DECL_NEW(wdc_xsurf, sizeof(struct wdc_xsurf_softc),
     wdc_xsurf_match, wdc_xsurf_attach, NULL, NULL);
 
 static const unsigned int wdc_xsurf_wdr_offsets[] = {



Home | Main Index | Thread Index | Old Index