Re: CVS commit: src/sys/dev/cardbus

2010-03-04 Thread Jason Thorpe
On Mar 4, 2010, at 10:49 AM, David Young wrote: Use %zu and %zx for printf'ing bus_size_t. These aren't quite right. We should probably define PRIxxx macros for the bus.h scalar types. -- thorpej

Re: CVS commit: src/sys/dev/cardbus

2010-03-04 Thread Matt Thomas
On Mar 4, 2010, at 11:13 AM, Jason Thorpe wrote: On Mar 4, 2010, at 10:49 AM, David Young wrote: Use %zu and %zx for printf'ing bus_size_t. These aren't quite right. We should probably define PRIxxx macros for the bus.h scalar types. For mips, I made bus_space_handle_t intptr_t and

re: CVS commit: src/sys/dev/cardbus

2010-03-04 Thread matthew green
On Mar 4, 2010, at 10:49 AM, David Young wrote: Use %zu and %zx for printf'ing bus_size_t. These aren't quite right. We should probably define PRIxxx macros for the bus.h scalar types. infact, they're quite wrong on IPL32 systems with 64 bit bus addresses. x86 PAE,