tsutsui
58714261cc
Remove register declarations.
2000-03-30 11:37:21 +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
is
91d927ae42
synchronize to GENERIC
2000-03-28 20:17:14 +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
frueauf
440814a0b5
Add "struct device sc_dev;" to struct par_softc.
...
Reviewed by Ignatios Souvatzis.
2000-03-26 10:15:32 +00:00
is
40b550935e
provide CCITT includes, and work around namespace collision
2000-03-26 07:52:58 +00:00
is
128258c1a2
Initial IOBlix support. Only lpt and com; lpt untested; com assumes 24 MHz
...
clock (needs autoprobe of clock speed).
2000-03-23 22:44:42 +00:00
thorpej
b667a5a357
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:30:07 +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
kleink
8bc084e1de
Kill more broken cf_unit bogons.
2000-03-16 16:37:20 +00:00
kleink
1634305526
Kill a couple of unnecessary cf_unit (ab)uses.
2000-03-15 20:40:00 +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
aymeric
7cd55062c0
do as if bus_space_read_4() returned an int, although it just calls panic.
2000-03-04 11:49:18 +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
aymeric
77292e79c6
fix a couple of things to handle interrupts more cleanly on the A1200
2000-02-21 18:27:49 +00:00
aymeric
728c720d75
acknowledge the interrupt to gayle before entering wdc_intr.
...
This fixes the lost interrupts problem.
fix some glitches on the A1200 too.
2000-02-19 17:16:20 +00:00
is
a90153e264
enlarge the initial kernel page table - needed for some 128 MB machine
2000-02-14 20:23:20 +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
is
9bf09631c6
Only output message on really special DEBUG kernels.
2000-02-11 19:09:56 +00:00
aymeric
dc0ce1249b
fix interrupt handling
...
I still get lost interrupts on the A1200, but the problem is certainly
elsewhere (not in wdc_amiga).
2000-02-10 15:51:59 +00:00
aymeric
a10113c83a
fix a couple of things to (hopefully) make this work on the A1200
2000-02-09 22:27:20 +00:00
shin
7f5a7c00ac
fix include file.
...
<netinet6/ip6.h> -> <netinet/ip6.h>
2000-02-09 05:48:26 +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
mhitch
93be165768
Remove an "#if 0" I seemed to have missed, to include wd* devices in the
...
search for root filesystems.
2000-02-06 21:45:03 +00:00
mhitch
d9b42dd1fc
At long last, the MI wdc glue for the Amiga. Tested on my A4000, but not
...
on an A1200 yet. Configuration of wdc/atapi in GENERIC is currently
commented out to prevent the suprise of an IDE drive changing from sd0
to wd0 (and the first real SCSI drive changing from sd1/sd1 to sd0).
2000-02-05 18:46:28 +00:00
mhitch
db4859bcd8
Regen (with commented MI wdc stuff)
2000-02-05 18:42:49 +00:00
mhitch
915731c9ea
Add commented out configuration for MI wdc.
...
Note: enabling these will cause disk device renumbering if any IDE were
present (i.e. if sd0 was IDE drive 0, that drive will become wd0 and sd0
will be the first real SCSI drive.
2000-02-05 18:41:58 +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
mhitch
a50bf9a39a
Include word access methods with stride 4.
...
Add a byte-swapping access_method array for use with MI wdc driver.
XXX Currently only read_multi_2 and write_multi_2 are used by MI wdc code;
XXX The other byte-swapping routines still need to be added.
2000-02-01 05:21:24 +00:00
mhitch
1d24598795
Add check for wdc [MI wdc support].
...
Move 'cd' device back to end of the genericconf table - we want to check
the 'wd' device before the 'cd' device.
2000-01-31 22:51:53 +00:00
mhitch
f12b50fc81
Add the wd devices for MI wdc IDE drive support.
2000-01-31 22:49:12 +00:00
mhitch
97107f760d
Add the config information for the MI wdc support.
2000-01-31 22:47:07 +00:00
mhitch
554647f636
Semicolons in the 32-bit macros aren't nice.
...
Add a stride-4 with swapping bus_space_method for use by MI wdc.
2000-01-31 22:43:36 +00:00
tsutsui
b0fbaa33fb
Remove obsoleted macros.
2000-01-26 09:44:10 +00:00
aymeric
3d9809edd8
oops. Comment out #include "wd.h" as I didn't commit generic wdc code yet.
2000-01-25 17:02:43 +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
aymeric
9fe838f17f
regen.
2000-01-23 21:31:30 +00:00
aymeric
a7a7a71ee4
add (commented out) PCMCIA devices entries
2000-01-23 21:29:55 +00:00
aymeric
4288d7a5cf
add stride 1 functions support and PCMCIA support
2000-01-23 21:10:26 +00:00
aymeric
c37bcf990c
add PCMCIA initialization
2000-01-23 21:08:16 +00:00
aymeric
d7e70f7068
sync with new bus.h
2000-01-23 21:06:12 +00:00
aymeric
9e5a868b12
add IPL_SERIAL to enable PCMCIA com* compilation
2000-01-23 21:04:22 +00:00
aymeric
3a54b5a896
code factorisation and added stride 1 functions
2000-01-23 21:02:17 +00:00
aymeric
9b5252590b
add PCMCIA generic support
2000-01-23 20:57:27 +00:00
aymeric
2c44cb587d
add files which deal with the gayle chip
2000-01-23 20:53:18 +00:00
is
e084c6cfec
Tell changers to commit AMIGA and DRACO, too.
2000-01-22 21:16:56 +00:00
is
236fe18599
synchronize this with GENERIC.
2000-01-22 21:09:38 +00:00
thorpej
52242fdf9f
Update for sys/buf.h/disksort_*() changes.
2000-01-21 23:28:59 +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
ed244ca8e4
Use b_cylinder as defined in sys/buf.h
2000-01-18 19:34:24 +00:00
thorpej
71b89434fa
Remove one line of junk.
2000-01-18 19:33:31 +00:00
is
e80be24250
Yet another cpu.h.
2000-01-16 21:19:44 +00:00
aymeric
626fbe9b6d
make this work again (include machine/cpu.h)
2000-01-15 17:09:47 +00:00
aymeric
921c6acc0e
defined IPL_BIO, IPL_NET and IPL_TTY for soon to be integrated PCMCIA code
2000-01-15 15:04:21 +00:00
aymeric
b4406c3d63
make this compile again
2000-01-15 13:50:13 +00:00
is
fc0b743e44
Fix comment. No code change.
2000-01-06 10:53:34 +00:00
is
2e3d1cc048
The Ricoh chip has a seperate leapyear counter.
...
We must write this when we write the year register, keeping them in sync.
XXX the chosen algorithm only works for 1901 <= year <= 2099.
2000-01-03 21:52:14 +00:00
is
d14968078a
Write part of the y2k fix.
...
This is not strictly necessary, as
- at least for the Ricoh chip in the A3000 and A4000, as those chips' Y10
registers happily continue to count up from 0xA if manually incremented
past 0x9.
- the Amiga ROMs and "setclock" commands seem to interpret 0xA 0x? like
200?, etc.
However,
- the Amiga setclock writes the modulo 10 value into the chips
- the chip docs of both chips, including the Y2K information of their
manufacturers, only refer to the range 0-9
- the chips increment from 9 to 0
So we better conform to this, to avoid unpleasant surprises.
2000-01-03 20:30:51 +00:00
is
5614cd4fce
*sigh*
...
Y2000-patch for A2000, A3000 and A4000 battery backed clock modules,
mostly by Adam Ciarcinski.
2000-01-02 18:29:22 +00:00
is
715da299de
assign the pointer
1999-12-31 08:38:13 +00:00
is
b41bac45fe
Assign copyright to TNF and add license.
1999-12-30 21:09:56 +00:00
is
99943b2c6b
Rewrite of the Amiga bus_space machinery to prepare for the support of
...
the generic IDE driver and the PCMCIA slots.
1999-12-30 20:56:44 +00:00
kleink
11e6c54cfc
C99: Define a NAN macro in <math.h> which evaulates to a constant expression of
...
a single-precision quiet NaN; only to be defined on platforms that do support
this value.
1999-12-23 10:15:05 +00:00
mhitch
2553fa2352
Add multicast capability to the A4066 (es) driver; now it will do IPv6.
1999-12-10 05:44:58 +00:00
mhitch
0e63301bc7
Check for valid device when starting a request with interrupts; device
...
probes are now done with interrupts, and would hang when probing for
non-existent device.
1999-12-10 05:39:20 +00:00
ragge
26e1b45757
clrnd()/clbase() discarding.
1999-12-05 11:56:30 +00:00
ragge
0513268399
CL* discarding.
1999-12-04 21:13:19 +00:00
is
4905974fd1
Very initial support for booting PPC kernels on P5 boards.
1999-11-28 22:10:47 +00:00
is
14ed33e42e
Fix typo (&& -> &).
1999-11-28 20:30:57 +00:00
is
14d940c179
Jens, not Joerg
1999-11-25 22:11:03 +00:00
is
5a05d40012
Address range scaling is hidden by the bus_space functions. Correct the
...
definitions in case we ever do bus_space accounting on Amiga.
1999-11-25 21:58:57 +00:00
is
366a09427a
Add a few boards we know about.
...
This should really be table-driven and optional.
1999-11-25 21:57:45 +00:00
is
57ac5a3ea7
Another RTL8019 board: X-serve by Individual Computers Jens Schoenfeld.
1999-11-25 21:53:01 +00:00
is
df61f0409e
From the 68040 User Manual, page 4-10:
...
"To fully support self-modifying code in any situation, it is imperative that
a CPUSHA intrcution is executed before the execution of the first self-modified
instruction. The CPUSHA instruction has the effect of ensuring that there is
no stale data iin memory, the pipeline is flushed, and instruction prefetches
are repeated and taken from external memory."
I verified that this is the only way (I can think of) to make the sigtramp
regression test work on 68040. doing cpushl dc; cinvl ic; over the affected
address range, then nop (to synchronize the pipeline) is not enough; apparently
the nop does not FLUSH the pipeline and prefetch...
Note that the 68060 UM has copied the above cited passage, but in fact this is
not true. This might be connected to the fact that the 68060 does ensure
memory access order under most conditions.
1999-11-25 20:30:38 +00:00
itojun
e9a0023b37
bring in content of GENERIC.v6 into GENERIC.
...
remove GENERIC.v6 file (as it is part of GENERIC now).
"faith" interface is commented out by default as it is not really for
general use.
IPsec items are commented out as well, though we can enable "options IPSEC"
without export-related issue ("options IPSEC" will enable authentication
portion only). We may need to think about it again.
if you have problem compiling with INET6 on archs I do not have access to,
please contact me.
XXX what to do with arch/arm32/SHARK{,.v6}?
1999-11-21 14:00:37 +00:00
fvdl
8bec119fcc
Add commented out option SOFTDEP to all GENERIC kernels.
1999-11-15 19:10:44 +00:00
fvdl
d116707af0
Add
...
prefix ../gnu/sys
cinclude "conf/files.softdep"
prefix
to all std.* files, so that soft dependencies can be activated using
"options SOFTDEP".
1999-11-15 19:00:25 +00:00
thorpej
1946167939
Update for pmap_enter() API change. No functional difference.
1999-11-13 00:30:26 +00:00
kleink
1c2019b5a8
Rip protection against multiple inclusion from wrapper headers.
1999-11-09 21:34:03 +00:00
is
13c27090e8
Don't call the sc->sbic_dmago() function if the data length is zero.
...
This avoids a zero pointer dereference, which fixes PR 8571.
Make sbic_dmago() report selection timeouts to the upper layer.
This makes sbic really work again with 1.4L.
1999-11-01 22:22:33 +00:00
is
bb5c4fff2a
Make this compile without booting support for P568k+PPC boards
1999-10-20 06:40:26 +00:00
is
26bb1d3915
regenerate
1999-10-15 21:54:43 +00:00
is
6e077cd004
Reboot support for P5PPC+68K boards, compiled in by "options P5PPC68KBOARD".
...
Without this, at least cyberppc+040 boards won't reboot, but just hang when
down.
The method is similar to what LinuxPPC/APUS does, but without EIEIO.
1999-10-15 21:50:34 +00:00
is
e4dbf8998d
Remove now superfluous prototype definitions (of the m68k cache operations).
1999-10-14 21:40:05 +00:00
is
21d10126ed
Make this compile with -DDEBUG again.
1999-10-04 20:28:01 +00:00
thorpej
e6c88a7686
Update for SCSIPI changes.
1999-09-30 22:59:52 +00:00
is
744246fa0b
vm_offset_t -> vaddr_t/paddr_t
1999-09-25 21:47:02 +00:00
is
497a2d0eaa
Make this compile without 68060 support. Apparently, nobody has tried this for
...
a long time.
1999-09-24 06:24:34 +00:00