Source-Changes-HG archive

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

[src/trunk]: src/sys/dev/pci make it compile (ex_disable).



details:   https://anonhg.NetBSD.org/src/rev/6a9faf7b7b0d
branches:  trunk
changeset: 533089:6a9faf7b7b0d
user:      itojun <itojun%NetBSD.org@localhost>
date:      Thu Jun 20 23:38:47 2002 +0000

description:
make it compile (ex_disable).
not sure if it is 100% right.

diffstat:

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

diffs (27 lines):

diff -r 40f20bd7f603 -r 6a9faf7b7b0d sys/dev/pci/if_ex_pci.c
--- a/sys/dev/pci/if_ex_pci.c   Thu Jun 20 23:02:06 2002 +0000
+++ b/sys/dev/pci/if_ex_pci.c   Thu Jun 20 23:38:47 2002 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: if_ex_pci.c,v 1.21 2002/06/20 20:17:04 thorpej Exp $   */
+/*     $NetBSD: if_ex_pci.c,v 1.22 2002/06/20 23:38:47 itojun Exp $    */
 
 /*-
  * Copyright (c) 1998 The NetBSD Foundation, Inc.
@@ -38,7 +38,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: if_ex_pci.c,v 1.21 2002/06/20 20:17:04 thorpej Exp $");
+__KERNEL_RCSID(0, "$NetBSD: if_ex_pci.c,v 1.22 2002/06/20 23:38:47 itojun Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -328,7 +328,7 @@
                    PCI_INTRACK);
 
        if (sc->disable != NULL)
-               ex_disable(sc);
+               (*sc->disable)(sc);
 }
 
 void            



Home | Main Index | Thread Index | Old Index