diff options
author | ru <ru@FreeBSD.org> | 2005-12-04 10:06:06 +0000 |
---|---|---|
committer | ru <ru@FreeBSD.org> | 2005-12-04 10:06:06 +0000 |
commit | 798500dfd84901b8d5d22e9a99c47e96fe8b9ec5 (patch) | |
tree | acd04a6feb972f86071cbebb5420c10b69d82de9 /sys/pci | |
parent | 1c586a3c0b58f2748ced33998d3565a41faee657 (diff) | |
download | FreeBSD-src-798500dfd84901b8d5d22e9a99c47e96fe8b9ec5.zip FreeBSD-src-798500dfd84901b8d5d22e9a99c47e96fe8b9ec5.tar.gz |
Fix -Wundef from compiling the amd64 LINT.
Diffstat (limited to 'sys/pci')
-rw-r--r-- | sys/pci/viapm.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/pci/viapm.c b/sys/pci/viapm.c index e333104..c4809e8 100644 --- a/sys/pci/viapm.c +++ b/sys/pci/viapm.c @@ -340,7 +340,7 @@ viapm_pro_attach(device_t dev) viapm->st = rman_get_bustag(viapm->iores); viapm->sh = rman_get_bushandle(viapm->iores); -#if notyet +#ifdef notyet /* force irq 9 */ l = pci_read_config(dev, VIAPM_PRO_SMBCTRL, 1); pci_write_config(dev, VIAPM_PRO_SMBCTRL, l | 0x80, 1); @@ -377,7 +377,7 @@ viapm_pro_attach(device_t dev) l = pci_read_config(dev, VIAPM_PRO_SMBCTRL, 1); pci_write_config(dev, VIAPM_PRO_SMBCTRL, l | 1, 1); -#if notyet +#ifdef notyet /* enable interrupts */ VIAPM_OUTB(SMBHCTRL, VIAPM_INB(SMBHCTRL) | SMBHCTRL_ENABLE); #endif @@ -393,7 +393,7 @@ viapm_pro_attach(device_t dev) error: if (viapm->iores) bus_release_resource(dev, SYS_RES_IOPORT, viapm->iorid, viapm->iores); -#if notyet +#ifdef notyet if (viapm->irqres) bus_release_resource(dev, SYS_RES_IRQ, viapm->irqrid, viapm->irqres); #endif @@ -464,7 +464,7 @@ viapm_pro_detach(device_t dev) viapm->iorid, viapm->iores))) return (error); -#if notyet +#ifdef notyet if ((error = bus_release_resource(dev, SYS_RES_IRQ, viapm->irqrid, viapm->irqres)) return (error); |