Source-Changes-HG archive

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

[src/netbsd-2-0]: src/sys/dev/pci Pull up revision 1.56 (requested by thorpej...



details:   https://anonhg.NetBSD.org/src/rev/70dc2293120d
branches:  netbsd-2-0
changeset: 561187:70dc2293120d
user:      tron <tron%NetBSD.org@localhost>
date:      Sun May 30 07:10:42 2004 +0000

description:
Pull up revision 1.56 (requested by thorpej in ticket #410):
Rename twe_tweio_command_handler() to twe_ccb_wait_handler() and
expose it.

diffstat:

 sys/dev/pci/twe.c |  10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)

diffs (38 lines):

diff -r 8da797484ca1 -r 70dc2293120d sys/dev/pci/twe.c
--- a/sys/dev/pci/twe.c Sun May 30 07:07:10 2004 +0000
+++ b/sys/dev/pci/twe.c Sun May 30 07:10:42 2004 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: twe.c,v 1.54 2003/12/04 05:46:47 thorpej Exp $ */
+/*     $NetBSD: twe.c,v 1.54.2.1 2004/05/30 07:10:42 tron Exp $        */
 
 /*-
  * Copyright (c) 2000, 2001, 2002, 2003 The NetBSD Foundation, Inc.
@@ -70,7 +70,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: twe.c,v 1.54 2003/12/04 05:46:47 thorpej Exp $");
+__KERNEL_RCSID(0, "$NetBSD: twe.c,v 1.54.2.1 2004/05/30 07:10:42 tron Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -1635,8 +1635,8 @@
        return (0);
 }
 
-static void
-twe_tweio_command_handler(struct twe_ccb *ccb, int error)
+void
+twe_ccb_wait_handler(struct twe_ccb *ccb, int error)
 {
 
        /* Just wake up the sleeper. */
@@ -1697,7 +1697,7 @@
                        KASSERT(ccb != NULL);
                }
 
-               ccb->ccb_tx.tx_handler = twe_tweio_command_handler;
+               ccb->ccb_tx.tx_handler = twe_ccb_wait_handler;
                ccb->ccb_tx.tx_context = NULL;
                ccb->ccb_tx.tx_dv = &twe->sc_dv;
 



Home | Main Index | Thread Index | Old Index