summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sys/arch/i386/pci/pcibios.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/arch/i386/pci/pcibios.c b/sys/arch/i386/pci/pcibios.c
index 62c010c548f..a579aaf86d4 100644
--- a/sys/arch/i386/pci/pcibios.c
+++ b/sys/arch/i386/pci/pcibios.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: pcibios.c,v 1.30 2004/08/09 19:52:06 deraadt Exp $ */
+/* $OpenBSD: pcibios.c,v 1.31 2005/01/04 21:19:15 espie Exp $ */
/* $NetBSD: pcibios.c,v 1.5 2000/08/01 05:23:59 uch Exp $ */
/*
@@ -252,7 +252,8 @@ pcibios_pir_init(sc)
struct pcibios_pir_header *pirh;
int i;
- pirh = (struct pcibios_pir_header *)p = ISA_HOLE_VADDR(pa);
+ p = ISA_HOLE_VADDR(pa);
+ pirh = (struct pcibios_pir_header *)p;
/*
* Some laptops (such as the Toshiba Libretto L series)
* use _PIR instead of the standard $PIR for the signature