diff options
author | marius <marius@FreeBSD.org> | 2005-12-03 18:11:26 +0000 |
---|---|---|
committer | marius <marius@FreeBSD.org> | 2005-12-03 18:11:26 +0000 |
commit | 1ae8104ca4cc5d5cf71ea4c34ee21fa30a7e1932 (patch) | |
tree | 40e0c87be96fddaf2b7db76031fd15927225832e /sys/sparc64/pci/apb.c | |
parent | 865e779b5d6ed4275a000576a9d4af4bf4b52706 (diff) | |
download | FreeBSD-src-1ae8104ca4cc5d5cf71ea4c34ee21fa30a7e1932.zip FreeBSD-src-1ae8104ca4cc5d5cf71ea4c34ee21fa30a7e1932.tar.gz |
- Adhere style(9) (don't use function calls in initializers, use uintXX_t
instead of u_intXX_t).
- Use FBSDID.
Diffstat (limited to 'sys/sparc64/pci/apb.c')
-rw-r--r-- | sys/sparc64/pci/apb.c | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/sys/sparc64/pci/apb.c b/sys/sparc64/pci/apb.c index 2dbe7d0..0e743b4 100644 --- a/sys/sparc64/pci/apb.c +++ b/sys/sparc64/pci/apb.c @@ -29,10 +29,11 @@ * SUCH DAMAGE. * * from: FreeBSD: src/sys/dev/pci/pci_pci.c,v 1.3 2000/12/13 - * - * $FreeBSD$ */ +#include <sys/cdefs.h> +__FBSDID("$FreeBSD$"); + /* * Support for the Sun APB (Advanced PCI Bridge) PCI-PCI bridge. * This bridge does not fully comply to the PCI bridge specification, and is @@ -69,8 +70,8 @@ */ struct apb_softc { struct ofw_pcib_gen_softc sc_bsc; - u_int8_t sc_iomap; - u_int8_t sc_memmap; + uint8_t sc_iomap; + uint8_t sc_memmap; }; static device_probe_t apb_probe; @@ -143,7 +144,7 @@ apb_probe(device_t dev) } static void -apb_map_print(u_int8_t map, u_long scale) +apb_map_print(uint8_t map, u_long scale) { int i, first; @@ -157,7 +158,7 @@ apb_map_print(u_int8_t map, u_long scale) } static int -apb_checkrange(u_int8_t map, u_long scale, u_long start, u_long end) +apb_checkrange(uint8_t map, u_long scale, u_long start, u_long end) { int i, ei; |