Port-sparc64 archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: mpt on sparc64



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hello,

On May 22, 2008, at 02:56, Cameron Berkenpas wrote:

I'm not sure if this is the correct place to address this but here it goes...

The mpt driver doesn't compile for sparc64 (and probably other architectures
as well).

The error is on line 65 of scsiconf.h: "struct device is an incomplete type" That just sounds to me like gcc is only seeing prototypes for the device
struct but no actual implementations. I found the implementation
in /usr/include/sys/device.h and included this file in scsiconf.h. The
compile completed successfully. Unfortunately I do not have a scsi
card that the mpt driver supports yet (I ordered one and it hasn't arrived
yet). I can't imagine this is the correct fix to this problem...

Well, the driver itself should #include <sys/device.h>. struct device is supposed to be replaced by device_t anyway - this certainly doesn't look like a 64bit problem at all, more like an incomplete conversion to device_t usage.

have fun
Michael

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (Darwin)

iQEVAwUBSDVtH8pnzkX8Yg2nAQJVWwf/cDKDZ/+JlQv9/l3fe2MbcbvX/KbATBLj
JShFbRYHQH/DPWQK8UM1hLW3+/rpVAI1mBFrhHdnAVN972QKdWW1gIojKs74YzQK
z37nIo+Bv/LbdiugbP2c0MgbuUkgub3R0ZAyV1o5HIelLm6i50IABXQhom8/hR4v
dvFx71AOnnxgs9+GUtSxuQN1t2sA603PutNwlOfZWnqWTosAA3/ck0EPcpV70IHs
OyGvBipMK4DCT9l6Ic/NmUaJyBFb9NhjNpswQ5E+qx9K6Ocgk4tSq7pockzs8Nhc
OYrSGMt133PN0xOyMEEXRn94mJaicN036ME34FC1kfERzXAH2yfnWg==
=VKI8
-----END PGP SIGNATURE-----


Home | Main Index | Thread Index | Old Index