Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/isa Fix wrong softc size in CFATTACH_DECL(). (not c...
details: https://anonhg.NetBSD.org/src/rev/a393bd6b3cf0
branches: trunk
changeset: 747591:a393bd6b3cf0
user: tsutsui <tsutsui%NetBSD.org@localhost>
date: Tue Sep 22 14:04:56 2009 +0000
description:
Fix wrong softc size in CFATTACH_DECL(). (not cs_softc but cs_softc_isa)
diffstat:
sys/dev/isa/if_cs_isa.c | 6 +++---
sys/dev/isa/if_tscs_isa.c | 6 +++---
2 files changed, 6 insertions(+), 6 deletions(-)
diffs (54 lines):
diff -r d88dab33dba5 -r a393bd6b3cf0 sys/dev/isa/if_cs_isa.c
--- a/sys/dev/isa/if_cs_isa.c Tue Sep 22 13:59:42 2009 +0000
+++ b/sys/dev/isa/if_cs_isa.c Tue Sep 22 14:04:56 2009 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: if_cs_isa.c,v 1.22 2009/05/12 09:10:15 cegger Exp $ */
+/* $NetBSD: if_cs_isa.c,v 1.23 2009/09/22 14:04:56 tsutsui Exp $ */
/*
* Copyright 1997
@@ -34,7 +34,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: if_cs_isa.c,v 1.22 2009/05/12 09:10:15 cegger Exp $");
+__KERNEL_RCSID(0, "$NetBSD: if_cs_isa.c,v 1.23 2009/09/22 14:04:56 tsutsui Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -64,7 +64,7 @@
int cs_isa_probe(device_t, cfdata_t, void *);
void cs_isa_attach(device_t, device_t, void *);
-CFATTACH_DECL(cs_isa, sizeof(struct cs_softc),
+CFATTACH_DECL(cs_isa, sizeof(struct cs_softc_isa),
cs_isa_probe, cs_isa_attach, NULL, NULL);
int
diff -r d88dab33dba5 -r a393bd6b3cf0 sys/dev/isa/if_tscs_isa.c
--- a/sys/dev/isa/if_tscs_isa.c Tue Sep 22 13:59:42 2009 +0000
+++ b/sys/dev/isa/if_tscs_isa.c Tue Sep 22 14:04:56 2009 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: if_tscs_isa.c,v 1.11 2009/05/12 09:10:15 cegger Exp $ */
+/* $NetBSD: if_tscs_isa.c,v 1.12 2009/09/22 14:04:56 tsutsui Exp $ */
/*-
* Copyright (c) 2005 The NetBSD Foundation, Inc.
@@ -30,7 +30,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: if_tscs_isa.c,v 1.11 2009/05/12 09:10:15 cegger Exp $");
+__KERNEL_RCSID(0, "$NetBSD: if_tscs_isa.c,v 1.12 2009/09/22 14:04:56 tsutsui Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -60,7 +60,7 @@
int tscs_isa_probe(device_t, cfdata_t, void *);
void tscs_isa_attach(device_t, device_t, void *);
-CFATTACH_DECL(tscs_isa, sizeof(struct cs_softc),
+CFATTACH_DECL(tscs_isa, sizeof(struct cs_softc_isa),
tscs_isa_probe, tscs_isa_attach, NULL, NULL);
int
Home |
Main Index |
Thread Index |
Old Index