#
cf4de340 |
| 24-Aug-2012 |
msaitoh <msaitoh@NetBSD.org> |
Fix typos
|
#
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 !
|
#
f95171bf |
| 04-Sep-2009 |
tsutsui <tsutsui@NetBSD.org> |
u_intNN_t -> uintNN_t
|
#
44660146 |
| 04-Sep-2009 |
tsutsui <tsutsui@NetBSD.org> |
Remove unnecessary whitespace.
|
#
4b83748c |
| 15-Mar-2009 |
cegger <cegger@NetBSD.org> |
ansify function definitions
|
#
b6a2ef75 |
| 25-Dec-2007 |
perry <perry@NetBSD.org> |
Convert many of the uses of __attribute__ to equivalent __packed, __unused and __dead macros from cdefs.h
|
#
fbae48b9 |
| 16-Feb-2006 |
perry <perry@NetBSD.org> |
Change "inline" back to "__inline" in .h files -- C99 is still too new, and some apps compile things in C89 mode. C89 keywords stay.
As per core@.
|
#
3d4ed1fb |
| 24-Dec-2005 |
perry <perry@NetBSD.org> |
__inline__ -> inline
|
#
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
|
#
18db93c7 |
| 04-Feb-2005 |
perry <perry@NetBSD.org> |
de-__P
|
#
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 ...
|
#
76fa396c |
| 17-May-2004 |
bouyer <bouyer@NetBSD.org> |
Properly compute xs->resid, instead of assuming it'll always be 0 when a command is done.
|
#
c5670263 |
| 02-Nov-2003 |
wiz <wiz@NetBSD.org> |
Fix some typos. From Tom Cosgrove via jmc@openbsd.
|
#
eea7ef4c |
| 27-Apr-2002 |
bouyer <bouyer@NetBSD.org> |
Use a u_int32_t in script RAM instead of the SEM bit in ISTAT to pass flags between script and driver. This allows more than one flag, and is easier to manage (we almost can't read/write istat outsid
Use a u_int32_t in script RAM instead of the SEM bit in ISTAT to pass flags between script and driver. This allows more than one flag, and is easier to manage (we almost can't read/write istat outside of the irq handler).
show more ...
|
#
5387f035 |
| 27-Apr-2002 |
bouyer <bouyer@NetBSD.org> |
Implement a ring for the completed commands. This avoid a (problematic only if error occurs after status is collected) race condition when using the status byte to detect completed commands (a comman
Implement a ring for the completed commands. This avoid a (problematic only if error occurs after status is collected) race condition when using the status byte to detect completed commands (a command descriptor could be recycled before the device disconnected), and make the interrupt routine handling completed commands more efficient (no need to scan target * lun * tag array any more).
show more ...
|
#
f66f6c27 |
| 25-Apr-2002 |
bouyer <bouyer@NetBSD.org> |
- We can't share the per-lun DSA entry for untagged and tag table DSA; there may be tagged commands still running when we queue a request sense command. Solve this by using 2 DSA entry per LUN
- We can't share the per-lun DSA entry for untagged and tag table DSA; there may be tagged commands still running when we queue a request sense command. Solve this by using 2 DSA entry per LUN - Now that we have the command DSA before select, we can load T/L/Q in SCRATCHC. This makes the selection timeout handler simpler. - Avoid a race condition when setting the free flag in the cmd ring (see comment in the script) - don't forget to update the ID in the head of LUN table after a sync/wide negotiation. This fixes the command timeout at the first data command after negotiation (the bus reset handler did update the ID properly, so subsequent commands were OK). - for DMA interrupts, clear fifo if it's not empty. Leaving the fifo dirty would prevent subsequent interrupts from coming in. - Various improvements in debug messages - misc cleanups.
show more ...
|
#
b46922a0 |
| 24-Apr-2002 |
bouyer <bouyer@NetBSD.org> |
For a new command, use the id in the command table and get rid of the ID in the scheduler slot. This costs a few more instructions but divide the size of the scheduler ring by 2, saving 1k of onboard
For a new command, use the id in the command table and get rid of the ID in the scheduler slot. This costs a few more instructions but divide the size of the scheduler ring by 2, saving 1k of onboard RAM (a bus with 15 devices would overflow the on-board RAM by 128 bytes).
show more ...
|
#
cd3578d7 |
| 23-Apr-2002 |
bouyer <bouyer@NetBSD.org> |
More copyright fixes, pointed out by Thomas. Thanks !
|
#
4cda08fb |
| 22-Apr-2002 |
bouyer <bouyer@NetBSD.org> |
Add support for tagged queuing to esiop (256 tags per device). For this add another indirecton: the DSA in the LUN table points to a table of DSA indexed by the tag number when tagged command is in u
Add support for tagged queuing to esiop (256 tags per device). For this add another indirecton: the DSA in the LUN table points to a table of DSA indexed by the tag number when tagged command is in use. For non tagged command, the LUN DSA still points to the tables describing the xfer directly.
show more ...
|
#
8cfc41f9 |
| 21-Apr-2002 |
bouyer <bouyer@NetBSD.org> |
First cut at a esiop driver (enhanced siop). Doesn't implement tagged queuing yet. If is restricted to SIOP which implement the load/store instruction, and has 10 scratch registers (basically, 825 an
First cut at a esiop driver (enhanced siop). Doesn't implement tagged queuing yet. If is restricted to SIOP which implement the load/store instruction, and has 10 scratch registers (basically, 825 and newer, possibly 770). It implements a different interface between host and script, using a real ring for command starts, and improved support for reconnect which will allow 256 tag per device. It uses interrupt on the fly to signal complete command, which allows several commands to be serviced per interrupt and doesn't require the script to stop to signal command completion.
show more ...
|