Home | History | Annotate | Download | only in dev
History log of /src/sys/arch/mac68k/dev/adbvar.h
RevisionDateAuthorComments
 1.26  01-Nov-2009  snj Drop 3rd and 4th clauses. Approved by Brad Grantham (copyright holder).
 1.25  03-Apr-2008  scottr branches: 1.25.4;
Factor out ADB spin-wait timeout loop, and use it for synchronous
operations to access the PRAM RTC, etc. in the IIsi and Cuda cases.
Thanks to Martin Husemann for pointing out the flaw.

This is a slightly more thorough workaround for the issue Martin found
in PR 37611, as it affected more than just adb_read_date_time().
 1.24  08-Mar-2007  tsutsui branches: 1.24.40;
MI softintr(9)'fy.
Probably problematic, but LC630 is running at single user.
 1.23  11-Dec-2005  christos branches: 1.23.26;
merge ktrace-lwp.
 1.22  15-Jan-2005  chs branches: 1.22.10;
de-__P, remove register, ansify, b* -> mem*.
 1.21  09-Apr-2003  thorpej branches: 1.21.2;
G/c the traceq; nothing uses it.
 1.20  06-Sep-2002  gehenna Merge the gehenna-devsw branch into the trunk.

This merge changes the device switch tables from static array to
dynamically generated by config(8).

- All device switches is defined as a constant structure in device drivers.

- The new grammer ``device-major'' is introduced to ``files''.

device-major <prefix> char <num> [block <num>] [<rules>]

- All device major numbers must be listed up in port dependent majors.<arch>
by using this grammer.

- Added the new naming convention.
The name of the device switch must be <prefix>_[bc]devsw for auto-generation
of device switch tables.

- The backward compatibility of loading block/character device
switch by LKM framework is broken. This is necessary to convert
from block/character device major to device name in runtime and vice versa.

- The restriction to assign device major by LKM is completely removed.
We don't need to reserve LKM entries for dynamic loading of device switch.

- In compile time, device major numbers list is packed into the kernel and
the LKM framework will refer it to assign device major number dynamically.
 1.19  03-Jul-2000  scottr branches: 1.19.4; 1.19.8; 1.19.16;
Stabilize ADB support for some non-Apple ADB peripherals. This is the
second (and final) part of the fix for PR 10086. (There are no longer
any infinite-wait busy loops in the ADB driver!)
 1.18  19-Mar-2000  scottr branches: 1.18.4;
Add and use macros to build ADB FLUSH, LISTEN, and TALK commands.
 1.17  07-Nov-1999  scottr Garbage collect adb_initted.
 1.16  07-Nov-1999  scottr We need adb_initted in a couple of places; declare it here.
 1.15  28-Jun-1999  briggs branches: 1.15.2; 1.15.4; 1.15.8;
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.
 1.14  11-Feb-1999  ender branches: 1.14.2; 1.14.6;
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>
 1.13  14-Nov-1998  briggs Make this compile _and_ link with DEBUG / ADB_DEBUG defined.
 1.12  26-Oct-1998  scottr Don't hide the ADB hardware types when we're building an MRG_ADB kernel;
we really do need them around, anyway.
 1.11  23-Oct-1998  ender New ADB "bus" interface:
o Separate ms and kbd drivers
o aed device for compatibility
o debug message cleanup in hardware direct support (from scottr)
 1.10  23-Feb-1998  scottr Mostly KNF. There's still a bunch of ugly comments and some problems
with long lines, but this is at least a big step in the right direction.
 1.9  21-Feb-1998  scottr Unify ADB options and place them all into opt_adb.h. Provide a knob to
enable ADB debugging messages if ADB_DEBUG is configured.
 1.8  07-Nov-1997  scottr Update from John Wittkoski: work around problem with mice that claim to
support Extended Mouse Protocol, but really don't; the Logitech Mouseman
is one such mouse (model M-AC13-4MD).
 1.7  16-Jun-1997  scottr branches: 1.7.8;
Add support for Mouse Systems A3 mouse. From Colin Wood.
 1.6  08-Apr-1997  scottr Updates from John Wittkoski for new ADB driver.
 1.5  13-Jan-1997  scottr Some changes to make ADB work when compiled with -O2:

- extdms_done is modified by things outside of our direct control;
it needs to be declared `volatile'
- CountADBs() fails when we call it the second time. We can work
around this by telling extdms_init() how many ADB devices we have,
only calling CountADBs() once.
 1.4  14-Sep-1996  scottr Implement poll(2).
 1.3  05-May-1996  briggs Prototype for -Wall -Wstrict-prototypes -Wmissing-prototypes -Wno-uninitialized
Also change the device probing scheme to use something a bit more rational.
A current side-effect is that nubus cards are double-mapped. I expect
to fix that shortly.
Also change splclock() to block everything but serial hardware interrupts.
 1.2  21-Apr-1995  briggs First pass of KNFication. Needs more.
 1.1  03-Dec-1994  briggs Mac ROM Glue changes from grantham@tenon.com.
 1.7.8.1  11-Nov-1997  mellon Pull rev 1.8 up from trunk (scottr)
 1.14.6.1  01-Jul-1999  thorpej Sync w/ -current.
 1.14.2.1  02-Nov-1999  scottr [Redo] Sync with main branch.
 1.15.8.1  27-Dec-1999  wrstuden Pull up to last week's -current.
 1.15.4.1  15-Nov-1999  fvdl Sync with -current
 1.15.2.1  20-Nov-2000  bouyer Update thorpej_scsipi to -current as of a month ago
A i386 GENERIC kernel compiles without the siop, ahc and bha drivers
(will be updated later). i386 IDE/ATAPI and ncr work, as well as
sparc/esp_sbus. alpha should work as well (untested yet).
siop, ahc and bha will be updated once I've updated the branch to current
-current, as well as machine-dependant code.
 1.18.4.1  21-Sep-2000  scottr Pull up rev 1.19 from scottr:
Stabilize ADB support for some non-Apple ADB peripherals.
 1.19.16.1  19-May-2002  gehenna Remove unnecessary prototype.
 1.19.8.1  17-Sep-2002  nathanw Catch up to -current.
 1.19.4.1  10-Oct-2002  jdolecek sync kqueue with -current; this includes merge of gehenna-devsw branch,
merge of i386 MP branch, and part of autoconf rototil work
 1.21.2.1  17-Jan-2005  skrll Sync with HEAD.
 1.22.10.1  03-Sep-2007  yamt sync with head.
 1.23.26.1  12-Mar-2007  rmind Sync with HEAD.
 1.24.40.1  03-Apr-2008  mjf Sync with HEAD.
 1.25.4.1  11-Mar-2010  yamt sync with head

RSS XML Feed