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
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
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
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
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
3ebbe095e0
Change the pmap_extract() interface to:
...
boolean_t pmap_extract(pmap_t, vaddr_t, paddr_t *);
This makes it possible for the pmap to map physical address 0.
1999-07-08 18:05:21 +00:00
briggs
819a054df2
Poll for serial interrupts. Return to 3000us delay instead of 4000us in init.
1999-06-29 04:45:59 +00:00
briggs
598b09009b
Include resourcevar.h for p_limit/rlimit definition.
1999-06-28 04:21:15 +00:00
briggs
71a4446b04
Unfortunately, several changes that are intermingled:
...
- Add initial IOP support. ADB doesn't work yet for me, but it's here so
that others will be encouraged to work on it. ADB_HW_IOP basically
is configured as a NOP so that serial consoles will continue to work.
- Roll via1_intr and via2_intr into the intr.c scheme--this also required
changing rtclock_intr to grovel the stack differently so that hardclock
gets the right arguments and softclock() doesn't get all reentrant.
- Make via1 interrupts parallel to via2 interrupts--handlers get a pass-
through pointer and we can register handlers. Register via1 interrupt
with intr_establish()--normally level 1, level 6 for A/UX scheme.
- Use intr_establish() to set real via2 interrupt handler instead of the
hacked function pointer.
- Reorganize adb-direct interrupts so that a function call is removed.
- Implement A/UX interrupts for all Quadras right now. We may need to
special case some Quadras, but Linux folks are reporting success on
several models.
- Fix intrnames to be accurate for the normal, PSC, and A/UX interrupt
configurations.
1999-06-28 01:56:55 +00:00
thorpej
9e9f068f43
Add the guts of mlockall(MCL_FUTURE). This requires that a process's
...
"memlock" resource limit to uvm_mmap(). Update all calls accordingly.
1999-06-18 05:13:45 +00:00
thorpej
cba22525ce
Fix some broken packet length checks. Really (no, I mean really) works now
...
after the ether_input() changes -- tested on my Quadra 650.
1999-05-24 21:53:42 +00:00
thorpej
ed4224c64e
Fix a couple of problems from the ether_input() change:
...
- Make it compile again, with BPF.
- Don't subtract the Ethernet header length from the total packet length.
- Copy the alignment fix from sys/dev/ic/i82586.c (though the m68k shouldn't
really be affected).
1999-05-21 21:48:28 +00:00
thorpej
f98d358a1f
Rework layer 2 protocol input routines. Instead of calling e.g. ether_input()
...
directly, call the function pointer (*if_input)(ifp, m). The input routine
expects the packet header to be at the head of the packet, and will adjust
as necessary. Privatize the layer 2 input and output routines, allowing
*_ifattach() to set them up as appropriate.
1999-05-18 23:52:51 +00:00
scottr
2f5a40c966
From Yasuhiro Endoh: Performa 58x uses ADB soft poweroff.
1999-05-15 19:29:12 +00:00
scottr
0179750b00
Correct two more problems of the same type as in rev 1.21: use the length
...
of the buffer you're copying from as the loop interator, not the length
of the buffer you're copying to. Also, rewrite print_single() with
pointer instead of array operators. Appears to correct some ADB-related
`hangs' during autoconfig.
1999-05-06 06:01:27 +00:00
scottr
136972df3a
Actually, the last change solved a different but related problem than
...
the one mentioned in PR 7376. By clearing the display in iteon()
instead, we can kill both birds with the same stone.
1999-04-21 06:00:07 +00:00
scottr
48ff49fee0
When attaching the ite console, clear the entire display rather than assuming
...
that the emulator will do it for us. (The emulator will only clear
full character-sized rows.) Incidentally fixes PR 7376.
1999-04-21 05:18:17 +00:00
scottr
d6fd16c828
vm_size_t -> vsize_t
1999-04-07 06:45:14 +00:00
briggs
f4647f0ec7
Compile itecnputc if NZSC == 0.
1999-03-27 05:53:05 +00:00
wrstuden
8a4ca40c65
Enable pps support, only if CLOCAL set & MDMBUF clear and no clock present.
1999-03-27 01:17:03 +00:00
ender
85974131bd
Include uvm/uvm.h instead of uvm/uvm_extern.h because we need the prototype
...
for uvm_unmap() in order to compile a kernel with GRF_COMPAT defined.
Fix provided by Frederick Bruckman <fb@enteract.com> in PR #7237 .
1999-03-26 22:52:15 +00:00
mrg
d2397ac5f7
completely remove Mach VM support. all that is left is the all the
...
header files as UVM still uses (most of) these.
1999-03-24 05:50:49 +00:00
wrstuden
a7678930b4
Oops. mac68k does NOT use PCLK as a clock source, so don't enable it in
...
the default channel setup.
1999-03-23 17:55:03 +00:00
scottr
4982fb8fdb
Fix an obscure bug in send_adb_cuda() found be comparison with
...
the macppc version.
1999-03-18 09:10:19 +00:00
sommerfe
bc533621ed
defopt MINIROOTSIZE
1999-03-17 18:59:21 +00:00
perry
d446fb449c
exterminate ovbcopy. patches provided by Erik Bertelsen, pr-7145
1999-03-12 22:42:30 +00:00
scottr
2ea6ea5db5
Add the PowerBook 170 to what appears to be the correct
...
class of systems, based on the Apple dev notes for this system.
1999-03-05 06:45:41 +00:00
ender
e0a4cb2335
Add NetBSD RCS Id's
1999-02-16 01:08:16 +00:00
mycroft
2a304686e6
Minor cleanup.
...
Make the initializer for BAUDLO depend on PCLK directly; it was incorrect on
some ports where PCLK is not 4.9152MHz.
XXX Is the default value actually used?
1999-02-11 15:28:03 +00:00
ender
25e1f69c42
o Change various attach arg and softc datatypes to ints.
...
o Use explicit typecasts when interfacing with MRG data
Should fix port-mac68k/6839. Patch supplied by
Frederick Bruckman <fb@enteract.com>
1999-02-11 06:41:07 +00:00
mycroft
be1af660c0
Don't set DCD_IE in the frontends. KGDB doesn't even use DCD, and the tty
...
frontends get it from zsparam() anyway.
1999-02-03 20:25:05 +00:00
scottr
2159f8a301
Add support for the Contour 3-button mouse, inadvertantly missed
...
in the ADB split a few months back. Noticed by Takashi NAKAMURA.
1999-01-16 22:49:37 +00:00
scottr
84af636530
vm_offset_t -> {paddr_t, vaddr_t}
1998-12-22 08:47:05 +00:00