Integrate code from John P. Wittkoski <jpw@netwizards.net> and
authorbriggs <briggs@openbsd.org>
Sun, 23 Feb 1997 06:04:50 +0000 (06:04 +0000)
committerbriggs <briggs@openbsd.org>
Sun, 23 Feb 1997 06:04:50 +0000 (06:04 +0000)
commit76fb5db2243b129c6b8e48adccfecb7944a16405
tree01fe0aa0cf6425750d1aa10558a68d88a376776b
parent2ecca03b222f49da0b5f22267fb430ec8c13733a
Integrate code from John P. Wittkoski <jpw@netwizards.net> and
Takashi Hamada <hamada@next.etron.kanazawa-it.ac.jp>.  This code
interfaces directly to the hardware to support the ADB on many
macs.  It is enabled by "options HWDIRECT" in the configuration
file.  At some point, this should probably become the default method
as interfacing to the ADB through the ROMs has been painful and sometimes
problematic.

This code should have functioning ADB support for:
II series (II, SE/30, IIx, IIcx)
IIsi series (IIsi, IIci, IIvx, IIvi)
LC II, LC III
Performa 400, 405, 430, 460, 465, 467, 600
Classic II, Color Classic, Color Classic II
PB 5XX series
Duo series
PB 140,145,145b,160,(160c?),165,165c,170,180,180c
Quadra 700,900,950
There is an off-chance that it will work on:
PB 150, PB 190
Quadra/Centris 605,610,630,650,660AV,800,840AV
LC 475,550,575,630
Performa 475,476,575,577,578,630
Note that functioning ADB support does not mean that everything else
will work.  I obviously do not own all of the above machines (does
anyone?  ;-)...  Any reports are welcome.

Many thanks to John Wittkoski and Takashi Hamada!
15 files changed:
sys/arch/mac68k/conf/TIGER
sys/arch/mac68k/conf/files.mac68k
sys/arch/mac68k/dev/adb.c
sys/arch/mac68k/dev/adb_direct.c [new file with mode: 0644]
sys/arch/mac68k/dev/adbsys.c
sys/arch/mac68k/dev/adbvar.h
sys/arch/mac68k/dev/pm_direct.c [new file with mode: 0644]
sys/arch/mac68k/dev/pm_direct.h [new file with mode: 0644]
sys/arch/mac68k/mac68k/machdep.c
sys/arch/mac68k/mac68k/macrom.c
sys/arch/mac68k/mac68k/macrom.h
sys/arch/mac68k/mac68k/macromasm.s
sys/arch/mac68k/mac68k/pram.c
sys/arch/mac68k/mac68k/pram.h
sys/arch/mac68k/mac68k/pramasm.s