bouyer
fc92601259
Fixes related to QUEUE FULL status:
...
- move status handling in siop_scsicmd_end(), it's better than in siop_intr()
- define 2 internal SIOP status, for "no status reported by device" and
reset condition
- add a list of "urgent" command, to be executed before the list of command
queued the normal way; this is used for command which got aborted
by a QUEUE FULL and have to be requeued in order.
- Don't accept to send a Q_TAG message not immediatly folowing a IDENTIFY
2000-10-23 23:18:10 +00:00
bouyer
cce4838c1f
Add ram size to struct properties, and pass it to the bus independant part.
2000-10-23 14:57:23 +00:00
bouyer
7777f61cbe
Rearrange for script changes (scheduler core in main script, command part
...
of the scheduler in command table).
Add tagged command queuing support.
2000-10-23 14:56:16 +00:00
bouyer
5113af09e3
Regen
2000-10-23 14:54:50 +00:00
bouyer
7ae5c097e5
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.
2000-10-23 14:53:53 +00:00
bouyer
3b7321e1c0
Allow conditionnal branch like "JUMP foo, IF FALSE"
...
The branch will never be taken as is, but the driver can patch the script.
2000-10-23 14:51:51 +00:00
ad
96562d2d4f
Add missing splx() call.
2000-10-23 11:27:52 +00:00
onoe
644aa13a51
Fixed the value of TULIPF_DBO; which was accidentaly shared with the same
...
value of TULIPF_BLE. Pointed out by Enami-san.
2000-10-23 04:05:21 +00:00
explorer
365f7337ea
make ucom into a random source, type TTY
2000-10-22 19:01:44 +00:00
explorer
eb27dda01d
Add a new quirk: ASSUME_CM_OVER_DATA.
...
Set this on the Metricom Ricochet GS USB modem.
This particular modem breaks if the USB command to enable the feature
CM_OVER_DATA. Since it appears to wake up in that mode already,
just pretend it is already on, and don't try to set it.
Since this commit is happening over my Ricochet modem, I assume it works
now.
2000-10-22 08:20:09 +00:00
mjacob
0a481d850d
fix SBus bursting *correctly* this time
2000-10-22 03:04:50 +00:00
bouyer
2ebf1a0cd0
Ops, sync the script DMA map when the script RAM *don't* exists.
2000-10-21 13:56:17 +00:00
ad
833dea96d1
- tsleep()/wakeup_one() will hurt when under load, so use a queue instead.
...
- Don't copy to or from the aligned buffer unless there's a need to.
2000-10-20 15:14:25 +00:00
ad
5e0c8a6d51
- ca -> lsu
...
- Note twe.
2000-10-20 11:47:43 +00:00
bouyer
e999ecae48
Support ETHERCAP_VLAN_MTU. Tested on a sparc 2 with:
...
le0 at sbus0 slot 0 offset 0xc00000 level 5: address 00:00:3b:86:19:92
le0: 8 receive buffers, 2 transmit buffers
2000-10-20 09:40:26 +00:00
mrg
0c6aa8d3ed
ensure DMA mappings are not mapped streamable. fixes ethernet problems on
...
ultrasparc sbus class machines. from eeh.
2000-10-20 06:08:02 +00:00
mrg
3af567c485
rework to use bus_dmamem_map() then bus_dmamem_load(), rather than
...
bus_dmamem_load_raw() then bus_dmamem_map().
tested on SS2 and SS5 and sbus cards.
2000-10-20 05:57:50 +00:00
simonb
25f61791dd
Only install wsconsio.h, wsdisplay_usl_io.h, wsksymdef.h and wsksymvar.h
...
into /usr/include/dev/wscons.
2000-10-20 05:32:47 +00:00
oster
d349cdf1ef
Move disk_busy() and disk_unbusy() to more sane locations. Values
...
reported by 'systat iostat' and friends are now much more correct for
RAIDframe devices. Thanks to Andrew Doran for poking me about this,
and for suggestions on and review of the changes.
2000-10-20 02:24:45 +00:00
ad
16a062538b
Nuke unused includes, sort decls.
2000-10-19 15:31:20 +00:00
ad
e05c79ba66
Regen.
2000-10-19 15:29:14 +00:00
ad
5110b7e58d
Add Compaq IEAS.
2000-10-19 15:28:50 +00:00
ad
67fe5fbbb4
Update for lsu; untested.
2000-10-19 14:28:46 +00:00
ad
e9b69699e0
Hook in twe.
2000-10-19 14:24:44 +00:00
ad
9813a10184
Driver for the 3ware Escalade family of RAID controllers.
2000-10-19 14:11:30 +00:00
ad
b3434771a3
El-cheapo disk driver for RAID controllers. If this bugs you, let me know.
2000-10-19 14:06:02 +00:00
nisimura
ad74c7dbd6
- Put comment about wsevent structure counts 0 for the left most mouse
...
button with a bit coding improvement.
- signed char -> int to hold integer values. Contributed 16 insn savings.
2000-10-19 10:27:04 +00:00
bouyer
d239df5374
Adapt for script change: don't assume Ent_lun_switch_entry == 0
2000-10-19 07:22:06 +00:00
bouyer
8561c00a0a
Regen
2000-10-19 07:20:33 +00:00
bouyer
67618a69ae
Move restore_scntl3 before the lun switch, to ease freeing of unused lun
...
slots.
2000-10-19 07:20:16 +00:00
thorpej
5247e9db0b
Regen.
2000-10-19 05:52:15 +00:00
thorpej
24477b4281
Add the ICS Advent PCI-WDT500/501 watchdog timer boards.
2000-10-19 05:51:34 +00:00
bouyer
f629a0ae67
Ops, add proper bus_dmamap_sync() calls for reselect switch operations.
2000-10-18 20:06:54 +00:00
bouyer
9d3f5d7fbd
Adapt for new lun switch script.
...
Implement SCBUSACCEL ioctl.
Snapshot of work in progress on tagged queuing: we can send/receive
queue tag messages. Infrastructure to manage multiple commands per
devices not here yet.
2000-10-18 17:06:52 +00:00
bouyer
b66120e445
Regen
2000-10-18 17:01:46 +00:00
bouyer
75246b83c0
Redo the target/lun sw in a better way, and handle queue tag messages.
2000-10-18 17:01:13 +00:00
bouyer
9836ff3913
Looks like frame size isn't checked; just say we can do VLAN MTU.
...
Tested with a SMC9432TX.
2000-10-18 16:49:13 +00:00
bouyer
8ec46d1679
Fix off by one error when using RETURN, WHEN/IF ...
2000-10-18 16:05:23 +00:00
mjacob
cecccb23b2
quiet chatty boot messages
2000-10-17 17:39:10 +00:00
bouyer
f87b1573c3
Support ETHERCAP_VLAN_MTU by ignoring the EX_UPD_ERROR and EX_UPD_OVERSIZED
...
status bits. Tested with a 3c905-TX.
2000-10-17 16:16:52 +00:00
bouyer
5cc13a273b
Support ETHERCAP_VLAN_MTU. It seems the chip doesn't check the frame size.
...
Tested with a NetVin 5000 and a WD8013EBT.
2000-10-17 16:14:42 +00:00
haya
8130f0ec5d
Add a cis decoding function which decodes some CISTPL_FUNCE tuples for
...
disk and network functions.
2000-10-17 10:13:46 +00:00
nisimura
8a526d9513
Remove sc_lance_dmam field from ioasic_softc structure. It was obsoluted
...
by the removal of ioasic_lance_dma_setup() made in if_le_ioasic.c 1.15.
2000-10-17 09:45:49 +00:00
nisimura
f3d4ccd750
Have consistent #if's for machine dependent clauses.
2000-10-17 09:27:22 +00:00
nisimura
1fd2521475
- efforts to merge TC Alpha and IOASIC DECstation, derived from Mattias
...
Drochner's work made in nisimura-pmax-wscons branch. Still a little
to do before useful for DECstation. MI softintr required.
- allow wildcard matchs to have zstty/zskbd/zsms in default hardware
configuration.
- abandon to check zs_ioasic_cnattach() return value; it doesn't fail.
- have zs_ioasic_cnattach() serial line parameters hardcoded inside, in
symmetry with zs_ioasic_lk201_cnattach().
2000-10-17 08:55:43 +00:00
oster
f9a49b32bf
Don't touch a failed component at all. Thanks to Robert Elz (kre) for
...
noting the problem and providing additional comments.
2000-10-17 03:39:41 +00:00
shin
6444136d42
cosmetic change.
2000-10-17 01:50:40 +00:00
thorpej
1da5a95dc5
Oops, wdt_msec is a short, not a char.
2000-10-17 00:34:41 +00:00
thorpej
4b0c3e182c
Fix a typo in an constant name that is currently unused.
2000-10-16 23:03:45 +00:00
thorpej
a5e3251d5f
Register definitions for the Middle Digital, Inc. PC-Weasel
...
serial console board.
2000-10-16 22:59:24 +00:00