Home | History | Annotate | Download | only in tc
History log of /src/sys/arch/pmax/tc/tcbus.c
RevisionDateAuthorComments
 1.33  09-Jun-2017  flxd Make VAXstation 4000 TURBOchannel adaptor work.
PIO and IRQ tested on VS4000/60 and /96 with TC-USB (slhci) and PMAD-AA (le).
DMA is untested.
vax needs space to be mapped out, so memory space is pre-mapped for TC option
drivers not bus_space'ified yet, also providing custom bus_space methods for
this kludge.
 1.32  12-Dec-2016  flxd branches: 1.32.8;
Clean-up (remove redundant declarations, concentrate checks).
 1.31  16-Nov-2016  macallan switch to common MIPS bus_space and bus_dma
tested by flxd@
 1.30  09-Jun-2015  matt branches: 1.30.2;
#include either <sys/cpu.h> or <mips/cpuregs.h> as needed
 1.29  13-Oct-2012  tsutsui branches: 1.29.14;
struct device * -> device_t, use device_xname() (from chs@)
 1.28  09-Jul-2011  matt branches: 1.28.2; 1.28.12;
Cleanu <machine/*> includes
 1.27  04-Jun-2011  tsutsui Split device_t/softc. pmax is tested on GXemul.
Compile test only for alpha and vax.

XXX: alpha/tc/tcasic.c calls tcattach() via config_found(9), but
XXX: pmax/tc/tcbus.c and vax/vsa/tc_vsbus.c calls tcattach() directly.
XXX: It looks horrible...
 1.26  20-Feb-2011  matt branches: 1.26.2;
Merge forward from matt-nb5-mips64.
New interrupt code.
mips64 support for DS5000/260.
 1.25  16-Mar-2009  dsl branches: 1.25.4; 1.25.6; 1.25.8;
ANSIfy functions with function-pointer arguments
 1.24  14-Mar-2009  dsl ANSIfy another 1261 function definitions.
The only ones left in sys are beyond by sed script!
(or in sys/dist or sys/external)
Mostly they have function pointer parameters.
 1.23  14-Mar-2009  dsl Change about 4500 of the K&R function definitions to ANSI ones.
There are still about 1600 left, but they have ',' or /* ... */
in the actual variable definitions - which my awk script doesn't handle.
There are also many that need () -> (void).
(The script does handle misordered arguments.)
 1.22  14-Mar-2009  dsl Remove all the __P() from sys (excluding sys/dist)
Diff checked with grep and MK1 eyeball.
i386 and amd64 GENERIC and sys still build.
 1.21  26-May-2008  nisimura branches: 1.21.6; 1.21.12; 1.21.16;
- assign 2 clause TNF license to the files cited as my ownership.
- abandon and remove my copyright notice from the three files were
copied in order to adapt HW I don't have; pvr.c, pm.c and stic.c
 1.20  31-Jul-2006  ad branches: 1.20.58; 1.20.60; 1.20.62; 1.20.64;
tcfb_cnattach(): pass the slot address through TC_PHYS_TO_UNCACHED() in
case the PROM hands us a physical or KSEG0 address.
 1.19  29-Jul-2006  ad Remove RASTERCONSOLE support from the pmax port.
 1.18  11-Dec-2005  christos branches: 1.18.4; 1.18.8;
merge ktrace-lwp.
 1.17  13-Dec-2003  ad branches: 1.17.16;
Add drivers for the desktop bus, DC-7085 and pm display. Make it possible to
select between rcons or wscons at compile time. Ok'ed by simonb.
 1.16  02-Oct-2002  thorpej branches: 1.16.6;
Use CFATTACH_DECL().
 1.15  27-Sep-2002  thorpej Declare all cfattach structures const.
 1.14  19-Sep-2001  thorpej branches: 1.14.4; 1.14.10;
Adjust to use <dev/sun/fbio.h>
 1.13  17-Feb-2001  tsutsui branches: 1.13.2; 1.13.4;
white space nits.
 1.12  06-Jun-2000  nisimura branches: 1.12.4;
Add a missing parenthesis and correct the function return value declaration.
 1.11  04-Jun-2000  cgd Implement the more flexiable `evcnt' interface as discussed (briefly) on
tech-kern and now documented in evcnt(9).
 1.10  29-Feb-2000  nisimura branches: 1.10.2;
Cleanup warning comment which is now irrelevant. Reorder codes.
 1.9  29-Feb-2000  nisimura - Have SYS_DEV_xxx device cookie symbols to select and install proper
interrupt handlers into intrtab[] array, rather than the idea of devices
in 'psuedo' TURBOchannel slots.
- Nuke symbols for psuedo TC slots.
- Abandon never/unlikely used intr_disestablish()s.
 1.8  03-Feb-2000  nisimura - Massive change of console initialization. Have each model its own
consinit().
- Fix fbconnect() and relatives; 'struct fbinfo' is initialized only once,
making sure no extraneous console resolution message is emitted.
 1.7  14-Jan-2000  simonb Redo interrupt establishment, based in part on work on the
[nisimura-pmax-wscons] branch and suggestions from Toru Nisimura:
- Remove bogus tc_slot_info[] name for interrupt handling array
and replace with simplified struct intrhand intrtab[] array.
- Add intr_establish() and intr_disestablish() function pointers
to struct platform and initialise this in each model-specific
initialisation, and remove global tc_enable_interrupt function
pointer.
- Remove model-specific function declarations from ibus/ibusvar.h.
This is functionally identical to the current scheme, and doesn't
yet try to commonise interrupt establishment by bus type as the
[nisimura-pmax-wscons] branch does.

Also, move cpuspeed variable from autoconf.c to machdep.c
 1.6  09-Jan-2000  ad RCS ID police.
 1.5  09-Jan-2000  simonb The clean-up continues:
- Make local-only function and variables static.
- Move function prototypes and extern variable declarations to
header files.
- Delete unused variables.
There's still a handful of extern declaraions that should be fixed up.
 1.4  08-Jan-2000  simonb Function prototype cleanup.
 1.3  17-Nov-1999  nisimura branches: 1.3.2; 1.3.4;
Consistent panic messages when erroneous kernel configurations are found.
 1.2  16-Nov-1999  nisimura Fix a typo in PX TC device identification case analysis.
 1.1  15-Nov-1999  nisimura Very large scale change to sweep obstracles to remove 3MAX IOASIC disguise.
- Rework ibus device configuration and interrupt handler assignment.
- Remove TC device exposure in 'mainbus.c'
- Squash 'ibus_{3100,5100}.c' into a file; it can not cope with 3max.
- 'struct confargs' -> 'struct mainbus_attach_args'
Now about to remove tc_slot_info[] and tc_enable_interrupt inherited from
4.4BSD.
 1.3.4.1  27-Dec-1999  wrstuden Pull up to last week's -current.
 1.3.2.2  19-Nov-1999  nisimura Merge w/ recent changes in main trunk.
 1.3.2.1  17-Nov-1999  nisimura file tcbus.c was added on branch nisimura-pmax-wscons on 1999-11-19 11:06:31 +0000
 1.10.2.1  22-Jun-2000  minoura Sync w/ netbsd-1-5-base.
 1.12.4.3  12-Mar-2001  bouyer Sync with HEAD.
 1.12.4.2  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.12.4.1  06-Jun-2000  bouyer file tcbus.c was added on branch thorpej_scsipi on 2000-11-20 20:20:52 +0000
 1.13.4.2  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.13.4.1  10-Jan-2002  thorpej Sync kqueue branch with -current.
 1.13.2.1  01-Oct-2001  fvdl Catch up with -current.
 1.14.10.1  15-Mar-2002  ad Changes necessary for wscons on NetBSD/pmax. All device support is here,
just needs further testing.
 1.14.4.2  18-Oct-2002  nathanw Catch up to -current.
 1.14.4.1  19-Sep-2001  nathanw file tcbus.c was added on branch nathanw_sa on 2002-10-18 02:39:28 +0000
 1.16.6.3  21-Sep-2004  skrll Fix the sync with head I botched.
 1.16.6.2  18-Sep-2004  skrll Sync with HEAD.
 1.16.6.1  03-Aug-2004  skrll Sync with HEAD
 1.17.16.1  30-Dec-2006  yamt sync with head.
 1.18.8.1  11-Aug-2006  yamt sync with head
 1.18.4.1  09-Sep-2006  rpaulo sync with head
 1.20.64.2  24-Jun-2008  wrstuden Hand-merge files that didn't merge right in recent sync w/ current.
 1.20.64.1  23-Jun-2008  wrstuden Sync w/ -current. 34 merge conflicts to follow.
 1.20.62.1  04-May-2009  yamt sync with head.
 1.20.60.1  04-Jun-2008  yamt sync with head
 1.20.58.1  02-Jun-2008  mjf Sync with HEAD.
 1.21.16.1  29-Dec-2010  matt Use a promcall wrapper function to call the prom. For non O32 systems
this will save and restore the callee saved registers since the 32-bit
prom probably won't be saving all 64bits.
 1.21.12.1  13-May-2009  jym Sync with HEAD.

Commit is split, to avoid a "too many arguments" protocol error.
 1.21.6.1  28-Apr-2009  skrll Sync with HEAD.
 1.25.8.1  05-Mar-2011  bouyer Sync with HEAD
 1.25.6.1  06-Jun-2011  jruoho Sync with HEAD.
 1.25.4.2  12-Jun-2011  rmind sync with head
 1.25.4.1  05-Mar-2011  rmind sync with head
 1.26.2.1  23-Jun-2011  cherry Catchup with rmind-uvmplock merge.
 1.28.12.2  03-Dec-2017  jdolecek update from HEAD
 1.28.12.1  20-Nov-2012  tls Resync to 2012-11-19 00:00:00 UTC
 1.28.2.1  30-Oct-2012  yamt sync with head
 1.29.14.4  28-Aug-2017  skrll Sync with HEAD
 1.29.14.3  05-Feb-2017  skrll Sync with HEAD
 1.29.14.2  05-Dec-2016  skrll Sync with HEAD
 1.29.14.1  22-Sep-2015  skrll Sync with HEAD
 1.30.2.1  07-Jan-2017  pgoyette Sync with HEAD. (Note that most of these changes are simply $NetBSD$
tag issues.)
 1.32.8.1  01-Jul-2017  snj Pull up following revision(s) (requested by flxd in ticket #65):
share/man/man4/tc.4: revision 1.7
sys/arch/alpha/tc/tcasic.c: revision 1.46
sys/arch/pmax/tc/tcbus.c: revision 1.33
sys/arch/vax/conf/files.vax: revision 1.121
sys/arch/vax/vsa/tc_vsbus.c: revision 1.8, 1.9
sys/dev/tc/tc.c: revision 1.55
sys/dev/tc/tcvar.h: revision 1.27
Make VAXstation 4000 TURBOchannel adaptor work.
PIO and IRQ tested on VS4000/60 and /96 with TC-USB (slhci) and PMAD-AA (le).
DMA is untested.
vax needs space to be mapped out, so memory space is pre-mapped for TC option
drivers not bus_space'ified yet, also providing custom bus_space methods for
this kludge.
--
whitespace
--
Add vax.

RSS XML Feed