On Thu, Nov 03, 2005 at 08:52:52AM -0800, Grant Grundler wrote: > > I'm not sure if __u64 driver_data[0]; forces alignment to an 8-byte > > boundary on i386... does it? > > I'm now convinced it doesn't on x86. > See output below.
Yes, alignment rules for x86 are different for every other architecture in that respect. It causes a lot of problems with ioctl translations for x86 binaries on ia64/x86_64. For the private data I'd suggest you copy the network driver layer approach, see alloc_netdev and netdev_priv for details. _______________________________________________ openib-general mailing list [email protected] http://openib.org/mailman/listinfo/openib-general To unsubscribe, please visit http://openib.org/mailman/listinfo/openib-general
