diff options
author | imp <imp@FreeBSD.org> | 2005-01-19 07:37:32 +0000 |
---|---|---|
committer | imp <imp@FreeBSD.org> | 2005-01-19 07:37:32 +0000 |
commit | db9d7feaad792794620217c9137990dc69b94076 (patch) | |
tree | 19bc48db9d256257f18cf5d50f83d415ab544361 /sys/dev/ed/if_edvar.h | |
parent | 387b96fb2c80766278f4bc7046cd1be28d7db180 (diff) | |
download | FreeBSD-src-db9d7feaad792794620217c9137990dc69b94076.zip FreeBSD-src-db9d7feaad792794620217c9137990dc69b94076.tar.gz |
MFp4: u_intXX_t to uintXX_t.
Diffstat (limited to 'sys/dev/ed/if_edvar.h')
-rw-r--r-- | sys/dev/ed/if_edvar.h | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/sys/dev/ed/if_edvar.h b/sys/dev/ed/if_edvar.h index d8da2fc..459907b 100644 --- a/sys/dev/ed/if_edvar.h +++ b/sys/dev/ed/if_edvar.h @@ -76,7 +76,7 @@ struct ed_softc { caddr_t mem_start; /* NIC memory start address */ caddr_t mem_end; /* NIC memory end address */ - u_int32_t mem_size; /* total NIC memory size */ + uint32_t mem_size; /* total NIC memory size */ caddr_t mem_ring; /* start of RX ring-buffer (in NIC mem) */ u_char mem_shared; /* NIC memory is shared with host */ @@ -125,22 +125,22 @@ struct ed_softc { #define ed_nic_insw(sc, port, addr, count) \ bus_space_read_multi_2(rman_get_bustag((sc)->port_res), \ rman_get_bushandle((sc)->port_res), \ - (sc)->nic_offset + (port), (u_int16_t *)(addr), (count)) + (sc)->nic_offset + (port), (uint16_t *)(addr), (count)) #define ed_nic_outsw(sc, port, addr, count) \ bus_space_write_multi_2(rman_get_bustag((sc)->port_res), \ rman_get_bushandle((sc)->port_res), \ - (sc)->nic_offset + (port), (u_int16_t *)(addr), (count)) + (sc)->nic_offset + (port), (uint16_t *)(addr), (count)) #define ed_nic_insl(sc, port, addr, count) \ bus_space_read_multi_4(rman_get_bustag((sc)->port_res), \ rman_get_bushandle((sc)->port_res), \ - (sc)->nic_offset + (port), (u_int32_t *)(addr), (count)) + (sc)->nic_offset + (port), (uint32_t *)(addr), (count)) #define ed_nic_outsl(sc, port, addr, count) \ bus_space_write_multi_4(rman_get_bustag((sc)->port_res), \ rman_get_bushandle((sc)->port_res), \ - (sc)->nic_offset + (port), (u_int32_t *)(addr), (count)) + (sc)->nic_offset + (port), (uint32_t *)(addr), (count)) #define ed_asic_inb(sc, port) \ bus_space_read_1(rman_get_bustag((sc)->port_res), \ @@ -173,22 +173,22 @@ struct ed_softc { #define ed_asic_insw(sc, port, addr, count) \ bus_space_read_multi_2(rman_get_bustag((sc)->port_res), \ rman_get_bushandle((sc)->port_res), \ - (sc)->asic_offset + (port), (u_int16_t *)(addr), (count)) + (sc)->asic_offset + (port), (uint16_t *)(addr), (count)) #define ed_asic_outsw(sc, port, addr, count) \ bus_space_write_multi_2(rman_get_bustag((sc)->port_res), \ rman_get_bushandle((sc)->port_res), \ - (sc)->asic_offset + (port), (u_int16_t *)(addr), (count)) + (sc)->asic_offset + (port), (uint16_t *)(addr), (count)) #define ed_asic_insl(sc, port, addr, count) \ bus_space_read_multi_4(rman_get_bustag((sc)->port_res), \ rman_get_bushandle((sc)->port_res), \ - (sc)->asic_offset + (port), (u_int32_t *)(addr), (count)) + (sc)->asic_offset + (port), (uint32_t *)(addr), (count)) #define ed_asic_outsl(sc, port, addr, count) \ bus_space_write_multi_4(rman_get_bustag((sc)->port_res), \ rman_get_bushandle((sc)->port_res), \ - (sc)->asic_offset + (port), (u_int32_t *)(addr), (count)) + (sc)->asic_offset + (port), (uint32_t *)(addr), (count)) void ed_release_resources (device_t); int ed_alloc_port (device_t, int, int); |