summaryrefslogtreecommitdiff
path: root/sys/dev
diff options
context:
space:
mode:
authorMarcus Glocker <mglocker@cvs.openbsd.org>2006-11-22 15:20:08 +0000
committerMarcus Glocker <mglocker@cvs.openbsd.org>2006-11-22 15:20:08 +0000
commit267161d907d03f48d0a753eaa0b43e263c474122 (patch)
treec14870326316693cff7133fe6fa6eeca819d0f77 /sys/dev
parent32bcbb897f9dd603b0ba069a1f7b3ee1c0c5bf65 (diff)
Some more minor cleanup in the PCI hookup.
From Jon Simola <jon@mecha.ca>.
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/pci/if_bcw_pci.c12
1 files changed, 1 insertions, 11 deletions
diff --git a/sys/dev/pci/if_bcw_pci.c b/sys/dev/pci/if_bcw_pci.c
index 7028d6b8d19..b916d9b17ac 100644
--- a/sys/dev/pci/if_bcw_pci.c
+++ b/sys/dev/pci/if_bcw_pci.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_bcw_pci.c,v 1.2 2006/11/21 11:41:14 mglocker Exp $ */
+/* $OpenBSD: if_bcw_pci.c,v 1.3 2006/11/22 15:20:07 mglocker Exp $ */
/*
* Copyright (c) 2006 Jon Simola <jsimola@gmail.com>
@@ -155,21 +155,11 @@ bcw_pci_attach(parent, self, aux)
struct bcw_softc *sc = &psc->psc_bcw;
struct pci_attach_args *pa = (struct pci_attach_args *)aux;
pci_chipset_tag_t pc = pa->pa_pc;
-// const char *intrstr = NULL;
-// caddr_t kva;
-// bus_dma_segment_t seg;
-// int rseg;
pcireg_t memtype;
bus_addr_t memaddr;
bus_size_t memsize;
-// bus_space_tag_t memt;
-// bus_space_handle_t memh;
-// int ioh_valid, memh_valid;
int pmreg;
pcireg_t pmode;
-
-// int error;
-// int i,j;
u_int32_t sbval;
psc->psc_pc = pa->pa_pc;