diff options
author | imp <imp@FreeBSD.org> | 2003-08-22 03:11:53 +0000 |
---|---|---|
committer | imp <imp@FreeBSD.org> | 2003-08-22 03:11:53 +0000 |
commit | f37dce18695bb433e57e38b300ea82bd2a8a57ea (patch) | |
tree | 552b69fdd8f9dc9cfef423973fc37482fd7e591f /sys/dev/pci/pci_pci.c | |
parent | d6bc06101fceaa845f49f85581464c8c6fb06029 (diff) | |
download | FreeBSD-src-f37dce18695bb433e57e38b300ea82bd2a8a57ea.zip FreeBSD-src-f37dce18695bb433e57e38b300ea82bd2a8a57ea.tar.gz |
Prefer the uintXX_t to the u_intXX_t names.
Diffstat (limited to 'sys/dev/pci/pci_pci.c')
-rw-r--r-- | sys/dev/pci/pci_pci.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/sys/dev/pci/pci_pci.c b/sys/dev/pci/pci_pci.c index cc113ab..29dd952 100644 --- a/sys/dev/pci/pci_pci.c +++ b/sys/dev/pci/pci_pci.c @@ -120,7 +120,7 @@ void pcib_attach_common(device_t dev) { struct pcib_softc *sc; - u_int8_t iolow; + uint8_t iolow; sc = device_get_softc(dev); sc->dev = dev; @@ -174,7 +174,7 @@ pcib_attach_common(device_t dev) switch (pci_get_devid(dev)) { case 0x12258086: /* Intel 82454KX/GX (Orion) */ { - u_int8_t supbus; + uint8_t supbus; supbus = pci_read_config(dev, 0x41, 1); if (supbus != 0xff) { @@ -462,14 +462,14 @@ pcib_maxslots(device_t dev) /* * Since we are a child of a PCI bus, its parent must support the pcib interface. */ -u_int32_t +uint32_t pcib_read_config(device_t dev, int b, int s, int f, int reg, int width) { return(PCIB_READ_CONFIG(device_get_parent(device_get_parent(dev)), b, s, f, reg, width)); } void -pcib_write_config(device_t dev, int b, int s, int f, int reg, u_int32_t val, int width) +pcib_write_config(device_t dev, int b, int s, int f, int reg, uint32_t val, int width) { PCIB_WRITE_CONFIG(device_get_parent(device_get_parent(dev)), b, s, f, reg, val, width); } @@ -516,9 +516,9 @@ pcib_route_interrupt(device_t pcib, device_t dev, int pin) */ int host_pcib_get_busno(pci_read_config_fn read_config, int bus, int slot, int func, - u_int8_t *busnum) + uint8_t *busnum) { - u_int32_t id; + uint32_t id; id = read_config(bus, slot, func, PCIR_DEVVENDOR, 4); if (id == 0xffffffff) |