diff options
author | Ralf Corsepius <ralf.corsepius@rtems.org> | 2008-09-07 03:44:14 +0000 |
---|---|---|
committer | Ralf Corsepius <ralf.corsepius@rtems.org> | 2008-09-07 03:44:14 +0000 |
commit | 6640459d06cac35d25f1e5fc2015a1afde164cc3 (patch) | |
tree | aae01ae13778b779af998b8536fa9cdf5bcaa6c3 /c/src/libchip/network/if_fxp.c | |
parent | 2008-09-07 Ralf Corsépius <ralf.corsepius@rtems.org> (diff) | |
download | rtems-6640459d06cac35d25f1e5fc2015a1afde164cc3.tar.bz2 |
Convert to "bool".
Diffstat (limited to '')
-rw-r--r-- | c/src/libchip/network/if_fxp.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/c/src/libchip/network/if_fxp.c b/c/src/libchip/network/if_fxp.c index 3a2188843d..61dc691fdc 100644 --- a/c/src/libchip/network/if_fxp.c +++ b/c/src/libchip/network/if_fxp.c @@ -125,7 +125,7 @@ if (DEBUG_OUT >= (LVL)) { \ #define NFXPDRIVER 1 static struct fxp_softc fxp_softc[NFXPDRIVER]; -static int fxp_is_verbose = TRUE; +static bool fxp_is_verbose = true; /* * NOTE! On the Alpha, we have an alignment constraint. The * card DMAs the packet immediately following the RFA. However, @@ -561,14 +561,14 @@ rtems_fxp_attach(struct rtems_bsdnet_ifconfig *config, int attaching) pcib_conf_read16(sc->pci_signature, PCI_COMMAND,&val16); DBGLVL_PRINTK(4,"fxp_attach: PCI_COMMAND_read = 0x%x\n",val16); if((val16 & PCI_COMMAND_IO) != 0) { - sc->pci_regs_are_io = TRUE; + sc->pci_regs_are_io = true; pcib_conf_read32(sc->pci_signature, PCI_BASE_ADDRESS_1, &val32); sc->pci_regs_base = val32 & PCI_BASE_ADDRESS_IO_MASK; } else { - sc->pci_regs_are_io = FALSE; + sc->pci_regs_are_io = false; pcib_conf_read32(sc->pci_signature, PCI_BASE_ADDRESS_0, &val32); |