[OpenBIOS] Solaris anyone?

Mark Cave-Ayland mark.cave-ayland at siriusit.co.uk
Wed Apr 27 21:29:57 CEST 2011


On 27/04/11 17:31, Artyom Tarasenko wrote:

> After a bit experimenting it turend out that I was wrong about
> synchronous. This seems to be the problem.
> The comment in the OpenSolaris esp driver
> http://src.opensolaris.org/source/xref/xen-gate/onnv-3.4/usr/src/uts/sun/io/scsi/adapters/esp.c#3463
> also explains one reason why:
>
> /*
> * Set up to send synch. negotiating message.  This is getting
> * a bit tricky as we dma out the identify message and
>   * send the other messages via the fifo buffer.
> */
>
> Looks like the qemu esp doesn't support mixing dma/fifo messages.

(cut)

> This seems to be necessary too because the OpenSolaris driver seems to
> use at least two tags:
>
> esp->e_cur_msgout[i++] = sp->cmd_tag[0];
> esp->e_cur_msgout[i++] = sp->cmd_tag[1];

Nice detective work! Is a fix for this particularly easy to create, or 
would my patch be the best short term fix?


ATB,

Mark.

-- 
Mark Cave-Ayland - Senior Technical Architect
PostgreSQL - PostGIS
Sirius Corporation plc - control through freedom
http://www.siriusit.co.uk
t: +44 870 608 0063

Sirius Labs: http://www.siriusit.co.uk/labs



More information about the OpenBIOS mailing list