OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
CVS: cvs.openbsd.org: src

From: David Gwynne (dlgcvs.openbsd.org)
Date: Thu Apr 05 2007 - 09:09:36 CDT


CVSROOT: /cvs
Module name: src
Changes by: dlgcvs.openbsd.org 2007/04/05 08:09:36

Modified files:
        sys/dev/ic : sili.c

Log message:
this is a relatively big commit that implements a basic io path.

it does this:
- limits the ncmds advertised to atascsi to 1 (cos that lets us write dumb
but working code)
- the port probe translates device signatures to device types now
- defines a basic ccb structure
- the port probe allocates a ccb if it decides that the port is going to
be used
- takes an io from atascsi, fills in the prb, does a direct command
submission and then polls for completion (all without generating
interrupts, its kinda cool)
- limits the sgl to only two elements, which sucks, but it lets us get the
inquiry and disk attach done. note, the sgl structures are like a smaller
version of mpis sgl chains, but with a better layout. sgl chains suck
btw.
- frees the ccb when the port is freed.