History log of /netbsd/sys/dev/microcode/siop/siop.ss (Results 1 – 21 of 21)
Revision Date Author Comments
# 6d07b400 19-Oct-2009 bouyer <bouyer@NetBSD.org>

Remove closes 3 & 4 from my licence. Lots of thanks to Soren Jacobsen
for the booring work !


# 98fae666 18-Nov-2005 bouyer <bouyer@NetBSD.org>

Some drives disconnect after the last data phase without a save data pointer
message. In such case we would not update resid with the proper value
(eventually resid would not be updated at all if the

Some drives disconnect after the last data phase without a save data pointer
message. In such case we would not update resid with the proper value
(eventually resid would not be updated at all if there was only one data
phase). To fix this, have the script save the offset in the data tables at
disconnect time if there was a transfer, and use this to compute the resid
if the current offset is 0.
Problem reported and patch tested by edwin, Roy Bixler and YAMAMOTO Takashi.
Fix kern/31990 by YAMAMOTO Takashi.

show more ...


# f31bd063 27-Feb-2005 perry <perry@NetBSD.org>

nuke trailing whitespace


# 83478e12 17-May-2004 bouyer <bouyer@NetBSD.org>

when an unexpected disconnect occurs only compute the resid; do the
real save data pointers when we get the message (or rather, at disconnect
time following the message).
Factor out code to do this,

when an unexpected disconnect occurs only compute the resid; do the
real save data pointers when we get the message (or rather, at disconnect
time following the message).
Factor out code to do this, and to deal with xs->resid, in siop_common.c.

show more ...


# 645df36e 26-Jul-2002 wiz <wiz@NetBSD.org>

Spell '[Rr]ight' correctly. From Jim Bernard.


# 5db23d2c 26-Jul-2002 wiz <wiz@NetBSD.org>

enouth -> enough.


# cd3578d7 23-Apr-2002 bouyer <bouyer@NetBSD.org>

More copyright fixes, pointed out by Thomas. Thanks !


# 6d37782a 23-Apr-2002 bouyer <bouyer@NetBSD.org>

Bump the space for SCSI messages from 8 to 16 octets, as 8 may not be
enouth for IDENTIFY + TAG + PPR.
Get rid of constants in C code by use of a offsetof macro.


# 172d73c2 18-Apr-2002 bouyer <bouyer@NetBSD.org>

Add hooks to drive the activity led via the GPIO pin 1, as required by some
tekram and symbios adapters.


# 7ae5c097 23-Oct-2000 bouyer <bouyer@NetBSD.org>

Rearrange things a bit to have less jumps
Install the core of the scheduler in main script (so it's in RAM when there is
one), and avoid jump in the common case. The command part of the scheduler now

Rearrange things a bit to have less jumps
Install the core of the scheduler in main script (so it's in RAM when there is
one), and avoid jump in the common case. The command part of the scheduler now
lives in host memory, with tables.
Add template for a tag switch.

show more ...


# 67618a69 19-Oct-2000 bouyer <bouyer@NetBSD.org>

Move restore_scntl3 before the lun switch, to ease freeing of unused lun
slots.


# 75246b83 18-Oct-2000 bouyer <bouyer@NetBSD.org>

Redo the target/lun sw in a better way, and handle queue tag messages.


# 171adcf6 06-Oct-2000 bouyer <bouyer@NetBSD.org>

Fix recurent typo: shed->sched


# c67eef4e 06-Oct-2000 bouyer <bouyer@NetBSD.org>

Handle reselect entirely in script; for this provide a script area,
modified by the driver, which will load the appropriate DSA for a given
target/lun.


# 22a10be4 13-Jun-2000 bouyer <bouyer@NetBSD.org>

sheduler->scheduler, as pointed out by Klaus Klein


# b063b2ec 25-May-2000 bouyer <bouyer@NetBSD.org>

Separate the sheduler from the main script, allocate another DMA-safe
memory page for the sheduler. Put the main script in the on-chip RAM when
available.
Avoid a null-pointer dereference when DSA is

Separate the sheduler from the main script, allocate another DMA-safe
memory page for the sheduler. Put the main script in the on-chip RAM when
available.
Avoid a null-pointer dereference when DSA is invalid.

show more ...


# 06d4aa45 15-May-2000 bouyer <bouyer@NetBSD.org>

- use my standart copyrigth notice
- After reselect, don't clear ack after the IDENTIFY message, this breaks
when the reselecting target has different sync parameters than the previous
one.


# c8ff442f 04-May-2000 bouyer <bouyer@NetBSD.org>

Add a flag hold in scratcha0, set when we're doing a data transfer. Used
for save data pointers.


# fe54b787 27-Apr-2000 bouyer <bouyer@NetBSD.org>

Add NetBSD RCS Id and copyrigth notice.


# 88be4752 25-Apr-2000 bouyer <bouyer@NetBSD.org>

- Change the script to start new commands in an asyncronous way, using
'command slots' in which the host can put command and wait for the script
to start them
- Change siop.c to do full disconnect/

- Change the script to start new commands in an asyncronous way, using
'command slots' in which the host can put command and wait for the script
to start them
- Change siop.c to do full disconnect/reslelect, allowing as much as one
command per target/lun to run in parallel.
- Fix bug in registers init where a board without BIOS would end at
ID 0 (now the driver works on alpha too).
- better handling of messages, sending back a MSG_EXT_SDTR in response to an
incoming MSG_EXT_SDTR, and MSG_MESSAGE_REJECT for unhandled messages.
- fix use of bus_dmamap_sync() and htole32().
- supports shared interrups
- change some int8 and int16 to int, for alpha and mips benefits ( suggested by
Toru Nishimura)

show more ...


# 19ada4a8 21-Apr-2000 bouyer <bouyer@NetBSD.org>

Snapshot of work in progress: new driver for the NCR 53c8xx SCSI controller
(the name 'siop' is still being discussed, may change).
Only basic disconnect/reselect for now, no sync/wide negotiation.
T

Snapshot of work in progress: new driver for the NCR 53c8xx SCSI controller
(the name 'siop' is still being discussed, may change).
Only basic disconnect/reselect for now, no sync/wide negotiation.
Tested with 810A, 875 and 895 on i386 only.
The bus-independant part should also be able to handle the 53c720 and 53c770.
A new driver with enhanced script should appear for the 825/875/895 'soon'.

show more ...