Source-Changes-HG archive

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

[src/trunk]: src/sys/dev/pci Cosmetic change.



details:   https://anonhg.NetBSD.org/src/rev/0a51f64eec70
branches:  trunk
changeset: 482895:0a51f64eec70
user:      ad <ad%NetBSD.org@localhost>
date:      Fri Feb 25 00:23:57 2000 +0000

description:
Cosmetic change.

diffstat:

 sys/dev/pci/dpt_pci.c |  10 ++++++----
 1 files changed, 6 insertions(+), 4 deletions(-)

diffs (38 lines):

diff -r 07e23fc36079 -r 0a51f64eec70 sys/dev/pci/dpt_pci.c
--- a/sys/dev/pci/dpt_pci.c     Fri Feb 25 00:22:36 2000 +0000
+++ b/sys/dev/pci/dpt_pci.c     Fri Feb 25 00:23:57 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: dpt_pci.c,v 1.4 2000/01/18 16:50:39 ad Exp $   */
+/*     $NetBSD: dpt_pci.c,v 1.5 2000/02/25 00:23:57 ad Exp $   */
 
 /*
  * Copyright (c) 1999 Andy Doran <ad%NetBSD.org@localhost>
@@ -32,7 +32,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: dpt_pci.c,v 1.4 2000/01/18 16:50:39 ad Exp $");
+__KERNEL_RCSID(0, "$NetBSD: dpt_pci.c,v 1.5 2000/02/25 00:23:57 ad Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -70,7 +70,9 @@
        struct cfdata *match;
        void *aux;
 {
-       struct pci_attach_args *pa = (struct pci_attach_args *) aux;
+       struct pci_attach_args *pa;
+       
+       pa = (struct pci_attach_args *)aux;
 
        if (PCI_VENDOR(pa->pa_id) == PCI_VENDOR_DPT && 
            PCI_PRODUCT(pa->pa_id) == PCI_PRODUCT_DPT_SC_RAID)
@@ -139,7 +141,7 @@
                    sc->sc_dv.dv_xname);
                return; 
        }
-
+       
        /* Now attach to the bus-independent code */
        dpt_init(sc, intrstr);
 }



Home | Main Index | Thread Index | Old Index