minoura
a8580db029
Revert 1.18 change.
...
Hopefully this is a temporary fix; something might be missing in
the SCSI negotiation.
2000-04-30 16:06:20 +00:00
thorpej
f51470a514
Require that each each MACHINE/MACHINE_ARCH supply a lock.h. This file
...
contains the values __SIMPLELOCK_LOCKED and __SIMPLELOCK_UNLOCKED, which
replace the old SIMPLELOCK_LOCKED and SIMPLELOCK_UNLOCKED. These files
are also required to supply inline functions __cpu_simple_lock(),
__cpu_simple_lock_try(), and __cpu_simple_unlock() if locking is to be
supported on that platform (i.e. if MULTIPROCESSOR is defined in the
_KERNEL case). Change these functions to take an int * (&alp->lock_data)
rather than the struct simplelock * itself.
These changes make it possible for userland to use the locking primitives
by including <machine/lock.h>.
2000-04-29 03:31:45 +00:00
minoura
dfb848e298
M680x0 are now defopt'ed.
2000-04-23 05:49:14 +00:00
minoura
13fc4ebbe1
Do not include opt_m680x0 in LKM.
2000-04-23 05:38:31 +00:00
itojun
3be41bae18
add stf pseudo interface (commented out due to possible security risks)
2000-04-19 06:50:27 +00:00
minoura
dd8c46b8be
Explicitly include opt_m680x0.h.
2000-04-18 21:06:06 +00:00
minoura
64a8c7e0c8
defopt M680[2346]0.
2000-04-18 21:04:51 +00:00
minoura
4d4c982aa3
all -> realall.
2000-04-16 14:19:53 +00:00
minoura
311c19c0d5
Sync w/ GENERIC.
2000-04-16 14:17:59 +00:00
thorpej
4044b5a41c
Use separate callouts for motor-on and motor-off. Fixes a condition
...
where the floppy driver would wedge because a motor-on timeout would
be cancelled by another I/O operation cancelling a motor-off timeout.
From enami tsugutomo <enami@sm.sony.co.jp>.
2000-04-07 16:58:53 +00:00
simonb
2f1fef39b3
Centralise the declarations of cpu_model, machine, machine_arch,
...
osrelease, and ostype and remove "extern char foo[];" (for hostname
and domainname too).
Also delete redunctant decl of boottime in kern_info_43.c.
2000-03-28 23:57:24 +00:00
minoura
87bc025f49
Move par under intio.
2000-03-27 15:53:04 +00:00
minoura
f23d278c1d
Make this compile (typo in callout change).
2000-03-27 15:49:34 +00:00
kleink
230876cf26
Merge parts of chs-ubc2 into the trunk:
...
* Remove the casts to vaddr_t from the round_page() and trunc_page() macros to
make them type-generic, which is necessary i.e. to operate on file offsets
without truncating them.
* In due course, cast pointer arguments to these macros to an appropriate
integral type (paddr_t, vaddr_t).
Originally done by Chuck Silvers, updated by myself.
2000-03-26 20:42:21 +00:00
thorpej
7b918b4088
New callout mechanism with two major improvements over the old
...
timeout()/untimeout() API:
- Clients supply callout handle storage, thus eliminating problems of
resource allocation.
- Insertion and removal of callouts is constant time, important as
this facility is used quite a lot in the kernel.
The old timeout()/untimeout() API has been removed from the kernel.
2000-03-23 06:40:33 +00:00
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
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
minoura
37132adf3f
Sync. with news68k/news68k/mem.c:1.2.
2000-03-10 16:28:56 +00:00
simonb
4eb55e447c
Do the "<space><tab>" thing with the RAID_AUTOCONFIG option.
2000-02-29 06:32:20 +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
erh
8f03b9a04a
Define the DONETISR macro and use netisr_dispatch.h. This is to cut down on code duplication and to standardize the available NETISRs across all ports.
2000-02-21 20:38:46 +00:00
minoura
077b93be1a
According to Takeshi Nakayama <tn@catvmics.ne.jp>,
...
POW_ALARMSW seems always 1 on some models (at least XVI).
2000-02-20 16:18:51 +00:00
thorpej
5903e181fa
Nuke NKMEMCLUSTERS.
2000-02-12 03:29:18 +00:00
thorpej
dded044fc2
Update for the NKMEMPAGES changes.
2000-02-11 19:25:12 +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
minoura
8759daabe7
Sync.
2000-02-05 14:35:41 +00:00
itohy
b4f060a0bc
Mark LFS partitions as "BSD lfs ".
...
Now, swap partition should be "BSD swap" unless COMPAT_14.
2000-02-05 07:38:10 +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
tsutsui
11c8f56d48
Revert STRIPPROG -> STRIP
2000-02-01 05:25:24 +00:00
danw
f77befbc84
#define __HAVE_DEVICE_REGISTER on ports that have it, and check for
...
that, rather than a list of architecture defines, in config_attach
2000-02-01 04:01:19 +00:00
tsutsui
b0fbaa33fb
Remove obsoleted macros.
2000-01-26 09:44:10 +00:00
drochner
8eb798e603
define a "BUS_SPACE_MAP_PREFETCHABLE" flag which basically means that
...
device accesses are idempotent (but should not be cached by the CPU)
2000-01-25 22:13:17 +00:00
tron
04eb110431
Add "dependall" target for comfort.
2000-01-24 20:36:06 +00:00
hubertf
7e5ff67457
Add commented out "ident"-command
2000-01-23 23:46:04 +00:00
mycroft
7b49d242ce
Clean up the machine symlink stuff ever so slightly. Needs to be
...
standardized between files.
2000-01-23 17:04:03 +00:00
thorpej
dc59bc1db3
Update for sys/buf.h/disksort_*() changes.
2000-01-21 23:39:55 +00:00
sommerfeld
aa195e816f
Fix PR9240: comment above cpu_fork() out of synch with reality on most ports.
...
(comment change only, but was wrong for more than just i386).
2000-01-20 22:18:54 +00:00
wrstuden
87e1b0f9b7
Add overlay to kernel configs.
2000-01-20 19:12:28 +00:00
thorpej
a0397a2573
Move callout initialization to a single location; no need to duplicate
...
that code all over the place.
2000-01-19 20:05:30 +00:00
tsutsui
e61f177ab1
STRIP -> STRIPPROG
2000-01-19 16:29:54 +00:00
tsutsui
644b514c39
Change STRIPFLAGS=-g for cross-toolchains.
2000-01-19 14:44:58 +00:00
msaitoh
0b9af6bdce
check whether tv_usec >= 1000000
2000-01-19 02:52:16 +00:00
thorpej
c4e802b942
Use b_cylinder as defined in sys/buf.h
2000-01-18 19:52:21 +00:00
minoura
9a0577db94
Wrong () balance in dumpsize calculation.
2000-01-17 16:17:32 +00:00
minoura
2a71e2c15e
Minor cleanups & corrections.
2000-01-16 14:20:54 +00:00
minoura
49f79ab628
Change physseg allocation strategy to VM_PSTRAT_BIGFIRST.
...
Required when big (>64MB) high memory is installed.
2000-01-15 14:47:25 +00:00
itohy
cf055ef630
Change the implementation of ms(4) polling to use timeout(9) software
...
interrupt in order to eliminate glitches on MPU interrupt levels.
I don't know whether this is a good solution, but it does work.
2000-01-14 08:22:42 +00:00
itohy
dbb0c078a5
- Do not lower interrupt level at clock interrupt.
...
The original code lowers level 6 to 4, and if a
clock interrupt occurs in splzs (or similar) the
system may be in unpredictable state.
To do such a hack correctly, checking the original priority
and duplicated clock interrupts would be required.
For now, just disable the hack.
- Do not use clock interrupt for ms polling.
2000-01-14 08:21:22 +00:00
minoura
58b3ac77bd
Give up support of 4MB RAM machines for standard sysinst-based installer.
...
Restricted small installer must be used on those machines.
1999-12-24 17:02:13 +00:00