What should one watch out for when porting a driver from x86 to sparc? There is a driver for the Sil3xxx [1] SATA controllers that appears to be only available for intel and not for sparc [2]. And I have both a Sil3512 and 3112 that I'd like to use in an Ultra60.
Is the PCI bus API different for these architectures? Will this be a lot of work? Any gotchas? SATA framework - does that support SPARC architecture yet? I presume there are also differences in the way I/O ports are addressed between the architectures? And finally, any relevant documentation that I can be directed to? I know about the device driver tutorial and the "Guide to Adding Support for Solaris OS on x86 Platform to Existing Applications Available on SPARC Platform, but further relevant docs, eg. the SATA framework docs may be relevant?? Many thanks, Jonathan [1] http://src.opensolaris.org/source/xref/onnv/onnv-gate/usr/src/utsonnv/onnv-gate/usr/src/uts/intel/io/dktp/controller/ata/sil3xxx.c [2] not to be found in any of the usual driver directories. The Silicon Image 3124 controller is apparently [3] supported under sparc, i.e. ../usr/src/uts/common/io/sata/adapters/si3124/si3124.c ; I'm intending to use this one as a starting guide. [3] http://groups.google.com/group/comp.unix.solaris/browse_thread/thread/233fa8857aa3e1ad/914a0f309c0305ca?lnk=raot _______________________________________________ storage-discuss mailing list storage-discuss@opensolaris.org http://mail.opensolaris.org/mailman/listinfo/storage-discuss