augustss
43c3030bd5
Print plain text error codes.
1998-12-08 14:34:08 +00:00
augustss
0280322dcb
Change debug level of a printf.
1998-12-08 14:31:58 +00:00
augustss
1b499d8ce6
Make the OPL information string more informative.
1998-12-08 14:26:56 +00:00
bouyer
997074f17c
Add a missing 'return' in an error path; noticed by Matthias Drochner.
1998-12-08 13:29:31 +00:00
dbj
54a0e65b02
initialized unused dma registers to 0xdeadbeef instead of 0 to aid debugging.
1998-12-08 09:35:07 +00:00
thorpej
10d50739c7
Actually, restructure scsipi_wait_drain() slightly.
1998-12-08 00:26:22 +00:00
thorpej
8ebf1e8824
Remove xs_free_list; it no longer exists.
1998-12-08 00:20:16 +00:00
thorpej
624619a881
When closing, wait for pending xfers to drain before deleting the reference
...
to the adapter.
1998-12-08 00:19:27 +00:00
thorpej
dcc5f32c2b
When closing, wait for pending xfers to drain before unlocking the door,
...
and wait again before deleting the reference to the adapter.
1998-12-08 00:18:46 +00:00
thorpej
1ddd2ffec0
- When allocating a scsipi_xfer, add it to the specified device's
...
pending_xfers queue.
- When freeing a scsipi_xfer, remove it from the device's pending_xfers
queue. If the queue is empty, and SDEV_WAITDRAIN is set, wakeup
those waiting for the queue to drain.
- Implement scsipi_wait_drain(), which waits for a device's pending_xfers
queue to drain.
1998-12-08 00:17:21 +00:00
thorpej
98194169ea
When allocating a device's scsipi_link, initialize the pending_xfers
...
queue.
1998-12-08 00:14:41 +00:00
thorpej
126dc6bfcc
- Remove the "free_list" member from scsipi_xfer. Add "adapter_q" and
...
"device_q" TAILQ entries. The former is for use by the adapter driver,
as it sees fit. The latter is for the scsipi middle layer to track
pending xfers per device.
- Add a pending_xfers queue to scsipi_link, to track pending xfers per
device.
- Grow scsipi_link's flags to int, and add SDEV_WAITDRAIN, to indicate that
we're waiting for the pending_xfers queue to empty.
1998-12-08 00:13:58 +00:00
tsubai
ea6bba6b90
Fix a typo.
1998-12-07 17:17:14 +00:00
nisimura
14b18ffcb5
- Remove improper casts mistakenly creeped in the last commit.
1998-12-07 04:21:57 +00:00
tsubai
fbeabd992c
Implement sparse bus space support.
1998-12-06 15:39:12 +00:00
ragge
5ff97947fe
Search for NCR controllers, but not on VS4000/60.
1998-12-06 14:33:54 +00:00
ragge
fec054bd9a
Simple hack to get at least PIO functionality out of the VS2000/3100 ncr5380.
...
Fixed by Jens Arvid Nilsson.
1998-12-06 13:55:09 +00:00
mjacob
c2e84d0cde
What was missing here is the mapping between our booting SCSI bus number
...
and the parent (hba) path from which we booted from. As a temp fix,
we'll only go with the first match to set altbootdev- not additional matches.
The problem was further exacerbated by the fact that cnpoll doesn't seem
to work on serial consoles.
1998-12-05 21:05:44 +00:00
mjacob
337eb43541
NOMODESENSE for all Seagate ST19171- not just FC
1998-12-05 20:52:47 +00:00
mjacob
d610e1ad3f
Update BA for new max_lun parameter for SCSIbusses. Clearify maximum luns
...
for FC HB based upon a SCCLUN define (15 for normal- 255 out of a possible
65535 for SCCLUN). Propagate loopid as adapter_target.
Roll minor platform version. Roll core version number.
Update mailbox definitions with cleaner target mode structure definitions.
Clean up some ENDIAN stuff. Correct botched ISP2100_NVRAM_HARDLOOPID offset.
1998-12-05 19:48:23 +00:00
mjacob
74bc9f26d5
Update HBAs to incorporate the new max_lun property.
1998-12-05 19:43:33 +00:00
mjacob
4b8245a959
Add a max_lun property to match with the max_target property. Shorten
...
max_target to int16.
1998-12-05 19:41:31 +00:00
mjacob
33fde1ad76
Eliminate the moreluns entry as it makes no sense for fat SCSI busses (e.g,
...
FC loops). Change the semantics of scsi_probedev so that it returns 1 if
you should continue probing at this target, else 0 for not.
Replace the blanket use of '7' with the use of the new sc_maxlun property
that is now gathered from HBAs. Allocate scsipi_link arrays based upon this.
Fix a really nasty and silly bug that has been there for a while where the
number of first level scsipi_link structures was one less than it needed
to be.
1998-12-05 19:39:23 +00:00
matt
3f225e009d
Add Sigma Designs REALmagic Hollywood Plus MPEG-2 decoder
1998-12-05 19:02:14 +00:00
dbj
8f7f8d557d
made prototype for debug function wss_dump_regs match its definition.
1998-12-05 10:49:24 +00:00
jonathan
340efce0ea
Track PV_REFERENCED bit as for PV_MODIFIED, to make mdsetimage work correctly.
...
Compatiblity with Mach VM: clear pmap-private bits in pmap_remove() if !UVM.
1998-12-05 09:13:09 +00:00
jonathan
aecf708ee3
Clean up kernel PTE allocation. Allocate space for maxproc kernel stacks.
...
Bump UVM swap-map to avoid panics on large swap machines.
1998-12-05 07:50:12 +00:00
jonathan
ea1aa3511c
#ifdef _KERNEL around cpu_exec_ecoff_setregs() prototype.
1998-12-05 07:26:11 +00:00
mjacob
9d51ff8e34
Roll to 1.15 f/w level for Qlogic 2100. Leave all flavors in, but control which
...
one gets compiled in by default. The default is private loop, non-expanded lun.
1998-12-05 00:28:05 +00:00
mjacob
45fb6a3e74
Add in and enable latest SBus ISP Firmware (1.31)
1998-12-05 00:25:26 +00:00
drochner
3a08ae9402
always use unsigned numbers for screen positions (for sanity - the libkern
...
min() et al. did unsigned comparisions before)
make ROWS_ABOVE / ROWS_BELOW return signed values, the negative results
occur if the cursor is outside the scrolling region
1998-12-04 20:48:04 +00:00
thorpej
7fa243e59e
Pass the symbol table size, like a.out.
1998-12-04 20:22:36 +00:00
thorpej
2d7f8f3343
Support both a.out and Elf32 symbols in DDB.
1998-12-04 20:19:22 +00:00
thorpej
c89493522f
- Make the ddb_init() interface consistent for a.out and ELF.
...
- Allow DDB to run-time switch for a.out or ELF symbol table support.
1998-12-04 20:18:05 +00:00
drochner
9175cc0ddf
The chipset manual doesn't tell the truth about the channel enable
...
register bits. Replace by experimental result.
1998-12-04 17:30:55 +00:00
bouyer
c10f6edafc
AT_ERROR should be different from AT_TIMEOUT. pointed out by Matthias Drochner.
1998-12-04 11:17:54 +00:00
bouyer
433c02431e
Init the decriptors at boot time rather than at interface attach time.
...
Now that we have pcmcia hot-plug, it's not the same. Fixes kern/3189.
1998-12-04 11:04:37 +00:00
bouyer
cdbe530495
No need to #include malloc.h here.
1998-12-04 11:02:30 +00:00
bouyer
3efc699962
Sanity check a few values in the superblock, to avoid mallocing huge
...
memory area if we try to mount a corrupted filesystem. Fixes kern/3933.
1998-12-04 11:00:40 +00:00
nisimura
75ff38a27d
- Fix an error in primary cache line size detection logic; when IC and/or DC
...
bit is 1, then line size is 32. Otherwise, 16.
1998-12-04 10:32:08 +00:00
nisimura
9f33638436
- Fix and improve confusing indentations inside trap().
...
- Don't make a reference of curproc when it has NULL value. It causes
double fault upon a fatal panic ocation.
- Macro FETCH_INSTRUCTION() took a value of address 0.
-
1998-12-04 04:35:44 +00:00
sakamoto
0bba7a7eca
Not used.
1998-12-04 00:17:49 +00:00
pk
1673c21984
Enable `device_register()' for the sparc.
1998-12-03 23:50:11 +00:00
pk
5d9f86821c
Add a device_register() function to determine the boot device.
...
Use it in addition to the old method for a while, so we can take note
of any glitches easilier.
1998-12-03 23:49:58 +00:00
pk
19f705b094
Cast bus_space_{read,write}_multi arguments.
1998-12-03 23:33:45 +00:00
augustss
a68f1ef94c
Handle the case where the device does not support GET_PEPORT better.
1998-12-03 20:43:19 +00:00
augustss
bedb40a78c
Use umodem as the modem driver stub.
1998-12-03 19:58:09 +00:00
bouyer
47ab212504
Rename pio_mode, etc ... to PIO_cap, etc ... for consistency with the
...
ata_drive_datas struct. Suggested by Soren S. Jorvan.
1998-12-03 18:24:30 +00:00
bouyer
71f33dbfa5
UDMA->Ultra-DMA in a printf
1998-12-03 17:30:32 +00:00
bouyer
334abc06cf
Correct definition for SIS_TIM_UDMA_EN macro. Ultra-DMA should now work ...
1998-12-03 17:29:01 +00:00