diff options
author | darrenr <darrenr@FreeBSD.org> | 2000-10-29 10:07:43 +0000 |
---|---|---|
committer | darrenr <darrenr@FreeBSD.org> | 2000-10-29 10:07:43 +0000 |
commit | 1c98ed58fc4fce714bfb56f633c1a6266aeb2225 (patch) | |
tree | 8f4d94fd89401b7d68524a39aaf6850cd3db049a /sys/dev | |
parent | 353f00f96c41b00ddf8e80544c5c75af0926e88b (diff) | |
download | FreeBSD-src-1c98ed58fc4fce714bfb56f633c1a6266aeb2225.zip FreeBSD-src-1c98ed58fc4fce714bfb56f633c1a6266aeb2225.tar.gz |
fix warning compile error about unused variable
Diffstat (limited to 'sys/dev')
-rw-r--r-- | sys/dev/pci/pci.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/dev/pci/pci.c b/sys/dev/pci/pci.c index 8860582..d35bc86 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); |