scottr
1c5a093819
Make this compile without bpf. Problem noted by Bob Nestor, fix from
...
Frederick Bruckman.
1999-12-20 01:06:40 +00:00
scottr
3310f57beb
Replace references to PGOFSET with m68k_trunc_page() and m68k_page_offset(),
...
as appropriate.
1999-12-12 08:18:48 +00:00
scottr
a15eb6dc13
An interrupt handler may change adbInCount underneath us, so qualify the declaration
...
with volatile. The bug didn't show its face until more agressive
optimization showed up, apparently a result of the last egcs upgrade.
(The interrupt handling changes from June have certainly also played
a part.) Thanks to Ken'ichi Ishizaka for discovering the problem.
1999-12-10 00:03:47 +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
scottr
3029c58799
Use a bitwise-and to test CC_IPURGE, not a logical-and. This could have led
...
to flushing the entire cache unnecessarily.
1999-11-28 11:10:47 +00:00
scottr
86a8f1d201
Sync cachectl1() implementation with other m68k ports.
1999-11-28 10:36:56 +00:00
scottr
99d3468790
Don't use the plural form of the word "target" if there is only one!
1999-11-28 10:10:51 +00:00
scottr
dc2663bf69
If there is only one ADB device, it will do us no good to avoid it
...
when guessing which device to poll next. Resolves PR 7407, but the
bug is a lot older than that.
1999-11-28 10:07:34 +00:00
scottr
2454426afe
Take a cue from the i386 port: Enable DHCP by default, rather than
...
BOOTP.
1999-11-24 22:01:19 +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
scottr
4ecba735df
Garbage collect adb_initted.
1999-11-07 08:22:50 +00:00
scottr
0b8b3c403e
In the interrupt handlers, check adb_polling instead of
...
adb_initted to decide whether to handle 'recovered' interrupts
immediately.
1999-11-07 08:18:24 +00:00
scottr
26208b5e57
Garbage-collect adb_init(). It's been dead for a long time.
1999-11-07 08:08:10 +00:00
scottr
c11dd8b6dd
We want adb_polling set regardless of whether we're using the MRG driver.
1999-11-07 08:07:20 +00:00
scottr
8da942f249
Oops... last rev created an unused variable. While here, clean up
...
adb_reinit()'s variables a bit, too.
1999-11-07 06:15:09 +00:00
scottr
23411c4c1b
Convert one more buffer copy that I missed in rev 1.28.
1999-11-07 05:50:26 +00:00
scottr
a7628ea793
Always using polling for poweroff (from macppc).
1999-11-07 00:16:39 +00:00
scottr
27adad708f
ite_polling -> adb_polling
1999-11-07 00:12:55 +00:00
scottr
57dc0b9f46
We need adb_initted in a couple of places; declare it here.
1999-11-07 00:12:54 +00:00
scottr
ad43c94436
ite_polling -> adb_polling
1999-11-07 00:12:53 +00:00
scottr
c827b513ac
Convert buffer copies to memcpy().
1999-11-06 23:50:29 +00:00
scottr
12a535f5ef
Add more delay in adb_reinit() (from macppc).
1999-11-06 23:44:32 +00:00
scottr
560a7ef713
Change the behavior of spladb() so that it raises the IPL only
...
high enough to block ADB interrupts.
1999-11-06 23:05:40 +00:00
scottr
c738f52fb3
Update an outdated comment.
1999-11-06 22:44:52 +00:00
scottr
b46c7fc44d
Don't invoke the upper half handler unless we're still
...
initializing the ADB bus. This fixes PR 7870.
1999-11-06 22:25:20 +00:00
scottr
7aa7583c8e
Enable interrupts during delay calibration. We pretty much have
...
to allow this exception so that accurate tuning of delay() can be
done (i.e. avoiding VIA-related wait states and cache effects as
much as possible).
XXX During this narrow window, it is still conceivable that we could
get interrupts from devices other than the VIA timer. Normally this
shouldn't be a problem because interrupt handlers should generally
not be registered until we get to autoconfig. It is, however, a
potential pitfall to be aware of.
1999-11-05 19:14:56 +00:00
scottr
55c161d3da
Since nothing depends on interrupts during autoconfig proper
...
any longer, we can finally avoid enabling interrupts until the
end of cpu_configure(). This resolves a long-standing issue that
has caused us trouble several times in the past.
1999-11-05 19:06:39 +00:00
scottr
41ae6be989
Defer ADB configuration until interrupts are (normally) enabled.
1999-11-05 18:27:11 +00:00
scottr
902801374a
An aesthetic change to autoconfig output to complement Colin Wood's
...
change to macrom.c in June.
1999-11-05 18:08:02 +00:00
fredb
92d294b3dc
Add and enable Coda file system and pseudo-device vcoda. Closes PR 8625.
1999-11-05 09:59:25 +00:00
fredb
8e579b4df3
Enable mi Coda driver (PR 8625).
1999-11-05 09:54:07 +00:00
scottr
a15f217211
[Redo] Allow rates higher than 57600, per PR 8070. Change originally
...
from Bill Studenmund.
1999-11-02 06:51:45 +00:00
scottr
9894ab10b4
[Redo] Catch up with recent changes to scsipi flags. Closes PR 8675.
1999-11-02 06:42:26 +00:00
scottr
8a407bd3c3
Reserve a character device slot for wsdisplay.
1999-11-01 05:29:21 +00:00
scottr
5c0a9c0483
Sync trace trap handling with other m68k ports, originated by
...
ITOH Yasufumi. Coincidentally closes PR 7738.
1999-10-31 08:18:59 +00:00
scottr
d0583ec22c
Rearrange a little bit for consistency with spl(9); add splserial()
...
check to intr_computeipl().
1999-10-28 20:25:41 +00:00
kleink
c1e3cb4761
Wrap an otherwise unused variable inside #ifdef DIAGNOSTIC; from Ben Mesander
...
in PR port-mac68k/8513.
1999-10-25 14:31:50 +00:00
thorpej
d3c33c1744
Program the 53c96's interrupt routing info into the VIA before doing
...
anything that might cause an interrupt (e.g. the SCSI bus reset in
ncr53c9x_attach()). If we don't do this, the initial interrupt is
lost, thus causing the state machine to never enter IDLE state, thus
causing SCSI commands to never be executed.
Fixes kern/8544, reported by Erik Bertelsen <erik@mediator.uni-c.dk>.
1999-10-19 17:00:41 +00:00
scottr
e70fd63845
Be less noisy about collision errors. From Dave Huang, closes PR 8605.
1999-10-14 20:58:18 +00:00
thorpej
e6c88a7686
Update for SCSIPI changes.
1999-09-30 22:59:52 +00:00
scottr
f63afdf2ff
Normalize autoconfig output.
1999-09-29 06:14:02 +00:00
scottr
8e9fd55168
Add support for the Macintosh LC Ethernet Adapter, from Ken'ichi Ishizaka.
...
This was erroneously recognized as an 8390-based card, where in fact it is
using the 83932 (SONIC) controller.
1999-09-29 06:04:50 +00:00
thorpej
11cae42531
Centralize the declaration and clearing of `cold'.
1999-09-17 19:59:35 +00:00
thorpej
3b01d1b872
Rename the machine-dependent autoconfiguration entry point `cpu_configure()',
...
and rename config_init() to configure() and call cpu_configure() from there.
1999-09-15 18:10:33 +00:00
chs
f3a668ed84
eliminate the PMAP_NEW option by making it required for all ports.
...
ports which previously had no support for PMAP_NEW now implement
the pmap_k* interfaces as wrappers around the non-k versions.
1999-09-12 01:16:55 +00:00