[openib-general] Re: [PATCH 01/13] [RFC] ipath basic headers
Robert Walsh
rjwalsh at pathscale.com
Mon Dec 19 17:43:17 PST 2005
> > +#ifdef IPATH_COSIM
> > +extern __u32 sim_readl(const volatile void __iomem * addr);
> > +extern __u64 sim_readq(const volatile void __iomem * addr);
>
> The driver has a strange mixture of int32_t, s32 and __s32. s32 is
> preferred.
The cosim stuff has been nuked, as it was old code anyway. With those
functions gone, we now use int32_t (and related 8-, 16-, 32- and 64-bit
signed and unsigned versions) consistently throughout the code. We'd
prefer to keep it that way, instead of changing over to s32 and friends,
as some of our header files are used by userland programs. Unless we
put in magic typedef for s32 and friends in userland, that won't work,
hence we use the C standard typedefs.
Is this a problem?
Regards,
Robert.
--
Robert Walsh Email: rjwalsh at pathscale.com
PathScale, Inc. Phone: +1 650 934 8117
2071 Stierlin Court, Suite 200 Fax: +1 650 428 1969
Mountain View, CA 94043
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 481 bytes
Desc: This is a digitally signed message part
URL: <http://lists.openfabrics.org/pipermail/general/attachments/20051219/f355d8e0/attachment.sig>
More information about the general
mailing list