Source-Changes-HG archive

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

[src/netbsd-1-6]: src/sys/arch/macppc/dev Apply patch (requested by hamajima ...



details:   https://anonhg.NetBSD.org/src/rev/e2a0d09b3702
branches:  netbsd-1-6
changeset: 530381:e2a0d09b3702
user:      grant <grant%NetBSD.org@localhost>
date:      Thu Jun 19 11:24:01 2003 +0000

description:
Apply patch (requested by hamajima in ticket #1323):

patch for before devsw.

diffstat:

 sys/arch/macppc/dev/kauai.c |  8 +++++---
 1 files changed, 5 insertions(+), 3 deletions(-)

diffs (22 lines):

diff -r 0eca83e90ae4 -r e2a0d09b3702 sys/arch/macppc/dev/kauai.c
--- a/sys/arch/macppc/dev/kauai.c       Thu Jun 19 11:22:00 2003 +0000
+++ b/sys/arch/macppc/dev/kauai.c       Thu Jun 19 11:24:01 2003 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: kauai.c,v 1.1.2.2 2003/06/19 11:18:28 grant Exp $      */
+/*     $NetBSD: kauai.c,v 1.1.2.3 2003/06/19 11:24:01 grant Exp $      */
 
 /*-
  * Copyright (c) 2003 Tsubai Masanari.  All rights reserved.
@@ -76,8 +76,10 @@
 static void calc_timing_kauai __P((struct kauai_softc *, int));
 static int getnodebypci(pci_chipset_tag_t, pcitag_t);
 
-CFATTACH_DECL(kauai, sizeof(struct kauai_softc),
-    kauai_match, kauai_attach, NULL, wdcactivate);
+struct cfattach kauai_ca = {
+       sizeof(struct kauai_softc), kauai_match, kauai_attach,
+       NULL, wdcactivate
+};
 
 int
 kauai_match(parent, match, aux)



Home | Main Index | Thread Index | Old Index