lkml.org 
[lkml]   [1999]   [Sep]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: scsi, round robin && mailbox ?
[Mathieu Arnold <arn_mat@club-internet.fr>]
>
> and i do not see what round robin means in this context.
> and the same for multiple mailboxes, i edited drivers/scsi/BusLogic.c but it's
> not explained there, i also looked into Documentation/IO-mapping.txt but i
> still do not understand what a mailbox really is.

The Buslogic SCSI controllers use a shared memory area for incoming and
outgoing mailboxes. To enqueue a request you fill out a data structure
describing the request, write its physical address into the next available
outgoing mailbox, and write a "you have mail" byte to the command register.
When you receive an interrupt from a Buslogic card, you scan forward in
the inbound mailboxes for pointers to completed requests. Round Robin
is probably in reference to one of the card's modes for scanning for new
"mail". It makes things simpler in that the card just scans forward from
the next available mailbox instead of checking all of them.

Brian


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:53    [W:2.123 / U:0.504 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site