Home | History | Annotate | Download | only in tc
History log of /src/sys/arch/pmax/tc/ioasic.c
RevisionDateAuthorComments
 1.23  03-Sep-2020  simonb The TC device addresses are defined in KSEG1, but this confuses
bus_space(9) which expects bus addresses and not kernel virtual
addresses. Pull the addresses back to bus addresses with
MIPS_KSEG1_TO_PHYS().

XXX: Fix this properly one day (without storing KSEG1 addrs in
the TC device configuration).

Fixes problem with TURBOchannel pmaxes panicing during
autoconfiguartion.
 1.22  10-Nov-2013  christos fix unused variable warnings
 1.21  09-Jul-2011  matt branches: 1.21.2; 1.21.12; 1.21.16;
Cleanu <machine/*> includes
 1.20  04-Jun-2011  tsutsui Split device_t/softc. pmax is tested on GXemul, compile test only for alpha.
 1.19  16-Mar-2009  dsl branches: 1.19.4; 1.19.6; 1.19.10;
ANSIfy functions with function-pointer arguments
 1.18  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.17  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.16  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.15  02-Oct-2002  thorpej branches: 1.15.112; 1.15.120; 1.15.126;
Use CFATTACH_DECL().
 1.14  11-Jul-2000  nisimura branches: 1.14.4; 1.14.8;
- Use PMAD-BA name for device match logic. It's not a real TURBOchannel
device and the id string is not found in option ROM string, but
ULTRIX/OSF1 call it so anyway.
- Squash IOASIC DMA buffer allocation into device attach() sequence.
 1.13  04-Jun-2000  cgd Implement the more flexiable `evcnt' interface as discussed (briefly) on
tech-kern and now documented in evcnt(9).
 1.12  15-Mar-2000  nisimura branches: 1.12.2;
Eliminate unused sc_cookie field of struct ioasic_softc.
 1.11  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.10  03-Feb-2000  nisimura Merge IOASIC register definitions.
 1.9  03-Feb-2000  nisimura Not to use (cfdata->cf_unit > 0) conditional in device match() routine.
 1.8  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.7  10-Jan-2000  simonb Remove unneeded include files (up to 16 in two files!).
 1.6  10-Jan-2000  simonb Add trailing quote to RCS ID.
 1.5  09-Jan-2000  ad RCS ID police.
 1.4  08-Jan-2000  simonb Function prototype cleanup.
 1.3  06-Dec-1999  simonb branches: 1.3.2;
Fix typo in 3max+ scc1 device declaration - console output on a serial
console 3max+ works again.
 1.2  01-Dec-1999  nisimura Replace old asic.c with one imported from a development branch.
 1.1  15-Oct-1998  nisimura branches: 1.1.2; 1.1.4;
file ioasic.c was initially added on branch nisimura-pmax-wscons.
 1.1.4.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.1.2.17  03-Feb-2000  nisimura Catch up to recent changes in main trunk.
 1.1.2.16  06-Dec-1999  nisimura Sync w/ recent changes in main trunk.
 1.1.2.15  30-Nov-1999  nisimura Synchronize them w/ recent changes in main trunk and sweep bozos I made.
 1.1.2.14  19-Nov-1999  nisimura Merge w/ recent changes in main trunk.
 1.1.2.13  26-Oct-1999  drochner remove ioasic_lance_ether_address(), it's in mi code now
 1.1.2.12  09-Sep-1999  nisimura Follow changes made in main trunk.
 1.1.2.11  13-Aug-1999  nisimura - Resolve code inconsistency.
 1.1.2.10  11-May-1999  nisimura - Catch up to recent main trunk changes.
- Make target platform files to have TURBOchannel slot definitions and
nuke tc_machdep.c.
- MIPS processor needs not to have tc_mb() before ZS register read ops.
 1.1.2.9  06-Apr-1999  nisimura - And more bus_space(9).
 1.1.2.8  05-Apr-1999  nisimura - Correct defined(DS_3MAXPLUS) -> defined(DEC_3MAXPLUS).
 1.1.2.7  31-Mar-1999  nisimura - Fix an error in ioasic_attach_devs() pointed by Matthias Drochner.
 1.1.2.6  30-Mar-1999  nisimura - Restore a local variable mistakenly omitted.
- sc_iswrite -> sc_ispullup (pull up from SCSI device).
 1.1.2.5  30-Mar-1999  nisimura - Track changes in main trunk and sweap codes.
- Make codes a bit descriptive that registers are aligned in 32bit boundary.
 1.1.2.4  29-Mar-1999  drochner use common dev/tc/ioasic code
 1.1.2.3  18-Mar-1999  nisimura - Arrange how IOASIC device interrupts are served.
- Fix a bozo I made in 3MIN TC processing.
- Change 3MAX interrupt processing like as ULTRIX does.
- Clean up IOASIC a bit.
 1.1.2.2  05-Mar-1999  nisimura - A bit improve make these bus_dma(9) friendy.
 1.1.2.1  15-Oct-1998  nisimura - new asc driver combined with MI NCR53C9x and MI SCSI.
- import zs_ioasic.? from NetBSD/alpha.
- NWSCONS drivers for various DECstations.
- squash tc_xxx.c into single tc_machdep.c
 1.3.2.1  27-Dec-1999  wrstuden Pull up to last week's -current.
 1.12.2.1  22-Jun-2000  minoura Sync w/ netbsd-1-5-base.
 1.14.8.1  18-Oct-2002  nathanw Catch up to -current.
 1.14.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.15.126.1  13-May-2009  jym Sync with HEAD.

Commit is split, to avoid a "too many arguments" protocol error.
 1.15.120.1  28-Apr-2009  skrll Sync with HEAD.
 1.15.112.1  04-May-2009  yamt sync with head.
 1.19.10.1  23-Jun-2011  cherry Catchup with rmind-uvmplock merge.
 1.19.6.1  06-Jun-2011  jruoho Sync with HEAD.
 1.19.4.1  12-Jun-2011  rmind sync with head
 1.21.16.1  18-May-2014  rmind sync with head
 1.21.12.1  20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.21.2.1  22-May-2014  yamt sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs. ("Protocol error: too many arguments")

RSS XML Feed