tron
e86957458a
Install "machineendian_machdep.h".
2000-03-17 22:36:31 +00:00
mycroft
9e21b6555a
In the `MY THAT'S GROSS' department...
...
Eliminate the recursive include of machine/endian.h from sys/endian.h.
2000-03-17 00:09:18 +00:00
mycroft
02905321b2
Foolish consistency. Mainly, always use underscores and sys/endian.h.
2000-03-16 15:09:34 +00:00
nisimura
220005d941
Eliminate unused sc_cookie field of struct ioasic_softc.
2000-03-15 03:07:44 +00:00
oster
1bad2e1909
Add the RAIDframe device major to the machine-dependent config files
...
so that the right entries get added to dev_name2blk[]. Needed for / on RAID.
(Whoops! I missed checking these in when adding the RAID_AUTOCONFIG stuff.)
2000-03-14 15:56:51 +00:00
soren
95054da1a1
Fix doubled 'the's in comments.
2000-03-13 23:52:25 +00:00
nisimura
4c043eb094
Arrange 'vmstat -i' to show 'optslotN'; for interrupt counts of TC slot N
...
as well as DECsystem 5100 optional serial card slot N.
2000-03-10 01:31:22 +00:00
mhitch
5a9b9df419
Do the interrupt dispatch somewhat differently than the previous fix.
...
This one is more in the spirit of incorrect version which was trying
to shorten the interrupt path. This probably isn't quite as fast as
using a switch() statement to dispatch the interrupts, but should be
a little faster than testing for each of the possible 6 interrupt
conditions.
2000-03-08 18:09:27 +00:00
mhitch
0641e677c4
Using interrupt bits in a switch statement doesn't work very well if more
...
than one interrupt bit is set (unless you do some fancy case values).
Check each interrupt bit individually and process the interrupt if set.
5000/200 doesn't hang shortly after booting now.
2000-03-07 23:41:35 +00:00
tsutsui
d16c6f3272
Use DISKPART/DISKMINOR/DISKUNIT instead of dkpart/dkminor/dkunit.
2000-03-07 15:55:14 +00:00
thorpej
a183d34f04
- Implement cnbell() -- ring the console bell. The cn_bell entrypoint
...
is optional.
- Add cn_bell to statically allocated consdevs as appropriate.
2000-03-06 21:36:05 +00:00
mhitch
e87b3c7fb3
Use device_register() instead of dk_establish() to determine the boot
...
device. Works on a 3100 with both old and MI SCSI, on a 5000/25 built-in
IOASIC with both old and MI SCSI, on the 5000/25 PMAZ TC option card
with both old and MI SCSI, and with tftp boot on the 5000/25.
2000-03-06 03:15:28 +00:00
mhitch
9ace38f7dc
Move the now emptry dk_establish() back to disksubr.c where it originally was.
2000-03-06 03:14:28 +00:00
mhitch
7f9b4522d1
A common device_register() is used instead of a separate version for each
...
of the different DECstation models.
2000-03-06 03:11:43 +00:00
mhitch
0993165c93
Define __HAVE_DEVICE_REGISTER, since pmax now has device_register().
2000-03-06 03:11:05 +00:00
mhitch
e65044e30d
Get rid of hook for dk_establish() - pmax will now use device_register().
2000-03-06 03:08:32 +00:00
nisimura
1036d33c39
Fix mipsmate SCSI lossage made by my previous change.
2000-03-04 10:14:39 +00:00
nisimura
f58f6334cb
Cosmetic cleanups to hide local objects.
2000-03-04 08:25:24 +00:00
nisimura
13441f2429
It's not necessary to have #if NSII > 0.
2000-03-04 06:05:36 +00:00
mhitch
8bf4d36694
Fix boot device detection. Device probes are not done when adapters are
...
configured, but after all adapters have been configured. When multiple
adapters are present, only the last configured adapter could be matched
to the boot device slot. The adapter attach routines now check if that
adapter slot matches the boot device slot and saves the softc pointer
for that controller. Then when the disks are configured, dk_establish()
matches the appropriate controller. Also change the rz boot device test
to include a check for the adapter so that it works when booting from a
disk on adapters other than the first one.
2000-03-04 05:42:55 +00:00
mhitch
40b13c16c0
Do the Ultrix label check in readdisklabel() instead of in rz.c. Ultrix
...
disks are now usable with the MI SCSI sd devices.
The install mini-root adjustment and the default partitioning still needs
to be moved into readdisklabel().
2000-03-03 17:51:26 +00:00
mhitch
9eaf0ad1d4
Allow a kernel (i.e. GENERIC) to be configured with rz disks with the SII
...
driver and sd disks with MI ASC driver.
2000-03-03 17:46:49 +00:00
nisimura
3c5d39d73b
Make clearer a bit how proc0's USPACE is intialized.
2000-03-03 08:36:20 +00:00
ad
14050f197e
Make this compile in DEBUG/DIAGNOSTIC case.
2000-03-01 00:44:53 +00:00
nisimura
6f5dadba1c
Cleanup warning comment which is now irrelevant. Reorder codes.
2000-02-29 09:03:30 +00:00
nisimura
d93aaefb84
- Have SYS_DEV_xxx device cookie symbols to select and install proper
...
interrupt handlers into intrtab[] array, rather than the idea of devices
in 'psuedo' TURBOchannel slots.
- Nuke symbols for psuedo TC slots.
- Abandon never/unlikely used intr_disestablish()s.
2000-02-29 07:20:21 +00:00
simonb
4eb55e447c
Do the "<space><tab>" thing with the RAID_AUTOCONFIG option.
2000-02-29 06:32:20 +00:00
nisimura
a6e403e50b
Remove unnecessary cast for kernend variable when grabbing proc0 USPACE.
2000-02-29 04:55:54 +00:00
nisimura
7eeaa2a1fa
NLE_PMAX symbol in le_pmax.h has gone.
2000-02-29 04:44:29 +00:00
nisimura
582e9de235
- Have SYS_DEV_xxx device cookie symbols to select and install proper
...
interrupt handlers into intrtab[] array, rather than the idea of devices
in 'psuedo' TURBOchannel slots.
- Nuke symbols for psuedo TC slots.
- Abandon never/unlikely used intr_disestablish()s.
2000-02-29 04:41:47 +00:00
mhitch
19c22771f3
Check and clear the appropriate IOASIC SCSI interrupt bits when in polled
...
I/O mode. Kernel dumps will now work with the IOASIC SCSI devices.
2000-02-28 18:51:25 +00:00
oster
d9c47013b2
Defopt 'RAID_AUTOCONFIG'. Adding 'options RAID_AUTOCONFIG' turns on
...
the component auto-detection and auto-configuration of RAID sets.
Also, add "#options RAID_AUTOCONFIG" to the GENERIC config files.
2000-02-26 17:35:33 +00:00
mhitch
98fa781c83
The check for 'rz(?,?,?)' was incorrect and would not find the boot device
...
on the 3100.
2000-02-23 18:50:51 +00:00
soda
9051f8102e
clean up vm_{offset,size}_t, use {v,p}{addr,size}_t instead
2000-02-22 12:22:19 +00:00
nisimura
3c0d53280b
Fix scsi.pmax inclusion mistakenly commented out.
2000-02-21 06:44:24 +00:00
nisimura
e6635ea8bd
Introduce MI SCSI codes; for DECstation 5000s only this moment.
2000-02-19 09:48:46 +00:00
nisimura
051314999f
Introduce MI SCSI codes; for DECstation 5000s only this moment.
...
Disabled by default and needs arrangements in conf file to use it.
See DS5000 as a sample.
2000-02-19 09:46:48 +00:00
nisimura
58d5093220
Introduce MI SCSI codes; for DECstation 5000s only this moment and
...
disabled by default.
2000-02-19 09:43:40 +00:00
nisimura
da782dba95
The way to determine booted root device was simplified largely.
2000-02-19 04:16:18 +00:00
mycroft
14ef93565d
Use the prefix printed before cpuattach() is called.
2000-02-19 03:59:04 +00:00
nisimura
02d328f925
List all 6 different types of MI SCSI device.
2000-02-19 03:58:23 +00:00
nisimura
7481db1957
Revert the removal 'include "dev/scsipi/files.scsipi"' directive; it's
...
neccessary to make pmax/conf.c compiled correctly.
2000-02-18 10:18:12 +00:00
nisimura
eb30f016ae
Group and reorder old SCSI driver descriptions into a single
...
location. Nuke files.scsipi inclusion which has never been useful.
2000-02-18 08:41:21 +00:00
thorpej
5903e181fa
Nuke NKMEMCLUSTERS.
2000-02-12 03:29:18 +00:00
nisimura
9fb475bc29
Missing commit to reflect ioasicreg.h merge.
2000-02-09 08:37:43 +00:00
nisimura
43917001c7
- Add missing "opt_ddb.h" to dc.c and dtop.c (oh, boy)
...
- Nuke irrelevant "dcvar.h" and "tc.h" inclusion from dc.c
- Put '#if NRASTERCONSOLE > 0' around scc_lk201_cnattach().
2000-02-09 08:29:40 +00:00
thorpej
fe551f0e64
Fix a bug in disksort_*() which caused non-optimal ordering when multiple
...
active partitions were on a single spindle. Add a b_rawblkno member to
struct buf which contains the non-partition-relative block number to sort
by.
2000-02-07 20:16:47 +00:00
cgd
7d16ac338c
add __BROKEN_CONFIG_UNIT_USAGE #define, becuase these ports do very
...
wrong things with device configuration data "cf_unit" information.
2000-02-05 00:13:22 +00:00
nisimura
c6641d91a8
Merge IOASIC register definitions.
2000-02-03 08:13:44 +00:00
nisimura
f3837e8a9d
Not to use (cfdata->cf_unit > 0) conditional in device match() routine.
2000-02-03 05:22:47 +00:00