summaryrefslogtreecommitdiff
path: root/sys/arch/i386/pci/pcibios.c
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2010-11-20 20:11:20 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2010-11-20 20:11:20 +0000
commit314a490e59e1938d0e0c5a4b187f56fe0fd9a533 (patch)
tree26b68dab3e6cb690453d9ef29644bc7669c113af /sys/arch/i386/pci/pcibios.c
parent2fcce56307d1ceb3af1a9fc40c291d59d9cc098d (diff)
__attribute__((packed)) -> __packed. The ioprbs.c chunk was commented out, and
uncommenting it is intentional. ok deraadt@
Diffstat (limited to 'sys/arch/i386/pci/pcibios.c')
-rw-r--r--sys/arch/i386/pci/pcibios.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/i386/pci/pcibios.c b/sys/arch/i386/pci/pcibios.c
index 7c1995773b4..1b34391a345 100644
--- a/sys/arch/i386/pci/pcibios.c
+++ b/sys/arch/i386/pci/pcibios.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: pcibios.c,v 1.39 2008/06/26 05:42:11 ray Exp $ */
+/* $OpenBSD: pcibios.c,v 1.40 2010/11/20 20:11:19 miod Exp $ */
/* $NetBSD: pcibios.c,v 1.5 2000/08/01 05:23:59 uch Exp $ */
/*
@@ -387,7 +387,7 @@ pcibios_get_intr_routing(struct pcibios_softc *sc,
u_int16_t size;
u_int32_t offset;
u_int16_t segment;
- } __attribute__((__packed__)) args;
+ } __packed args;
args.size = *nentries * sizeof(*table);
args.offset = (u_int32_t)table;