Source-Changes-HG archive

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

[src/trunk]: src/sys/dev/pci Ifdef some routines only needed for ELSA Quickst...



details:   https://anonhg.NetBSD.org/src/rev/87f3b8311edb
branches:  trunk
changeset: 501961:87f3b8311edb
user:      martin <martin%NetBSD.org@localhost>
date:      Tue Jan 09 21:26:30 2001 +0000

description:
Ifdef some routines only needed for ELSA Quickstep cards when compiling
without support for those.

diffstat:

 sys/dev/pci/pci_isic.c |  7 +++++--
 1 files changed, 5 insertions(+), 2 deletions(-)

diffs (36 lines):

diff -r d064353e5c0d -r 87f3b8311edb sys/dev/pci/pci_isic.c
--- a/sys/dev/pci/pci_isic.c    Tue Jan 09 21:19:33 2001 +0000
+++ b/sys/dev/pci/pci_isic.c    Tue Jan 09 21:26:30 2001 +0000
@@ -33,7 +33,7 @@
  *     pci_isic.c - pcmcia bus frontend for i4b_isic driver
  *     -------------------------------------------------------
  *
- *     $Id: pci_isic.c,v 1.1.1.1 2001/01/05 12:50:20 martin Exp $ 
+ *     $Id: pci_isic.c,v 1.2 2001/01/09 21:26:30 martin Exp $ 
  *
  *      last edit-date: [Fri Jan  5 11:38:58 2001]
  *
@@ -88,7 +88,9 @@
 static void pci_isic_attach __P((struct device *, struct device *, void *));
 static const struct isic_pci_product * find_matching_card __P((struct pci_attach_args *pa));
 
+#ifdef ISICPCI_ELSA_QS1PCI
 static void isic_pciattach __P((struct pci_l1_softc *psc, struct pci_attach_args *pa));
+#endif
 
 struct cfattach pci_isic_ca = {
        sizeof(struct pci_l1_softc), pci_isic_match, pci_isic_attach
@@ -197,6 +199,7 @@
 /*---------------------------------------------------------------------------*
  *     isic - pci device driver attach routine
  *---------------------------------------------------------------------------*/
+#ifdef ISICPCI_ELSA_QS1PCI
 static void
 isic_pciattach(psc, pa)
        struct pci_l1_softc *psc;
@@ -351,4 +354,4 @@
        }
        printf("%s: interrupting at %s\n", sc->sc_dev.dv_xname, intrstr);
 }
-
+#endif



Home | Main Index | Thread Index | Old Index