aboutsummaryrefslogtreecommitdiff
path: root/sys/dev
diff options
context:
space:
mode:
authorDarren Reed <darrenr@FreeBSD.org>2000-10-29 10:07:43 +0000
committerDarren Reed <darrenr@FreeBSD.org>2000-10-29 10:07:43 +0000
commit72371ff249f5811618e5019b47f1358d215c7eee (patch)
tree16dbe0b95aef960e6168e6032114fc9f4f4ad94b /sys/dev
parentea8f54b54344d8a238d45e4ae7471598426087a8 (diff)
Notes
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/pci/pci.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/dev/pci/pci.c b/sys/dev/pci/pci.c
index 8860582865f8..d35bc86a169e 100644
--- a/sys/dev/pci/pci.c
+++ b/sys/dev/pci/pci.c
@@ -950,7 +950,9 @@ pci_add_map(device_t pcib, int b, int s, int f, int reg,
u_int8_t ln2size;
u_int8_t ln2range;
u_int32_t testval;
+#ifdef PCI_ENABLE_IO_MODES
u_int16_t cmd;
+#endif
int type;
map = PCIB_READ_CONFIG(pcib, b, s, f, reg, 4);