Home | History | Annotate | Download | only in dev
History log of /src/sys/arch/cobalt/dev/com_mainbus.c
RevisionDateAuthorComments
 1.22  08-Dec-2018  thorpej Clean up initialization of com_regs structure, in preparation for
some additional changers.
 1.21  20-Jan-2018  skrll branches: 1.21.2; 1.21.4;
Switch cobalt to common bus_space.

Tested on raq 2
 1.20  09-Jun-2015  matt #include <sys/cpu.h> or <mips/cpuregs.h> as needed
 1.19  09-Jul-2011  matt branches: 1.19.12; 1.19.30;
Cleanup kernel files to use sys variants for bus.h, cpu.h, and intr.h
Use <mips/..> for db_machdep.h and psl.h
 1.18  01-Jul-2011  dyoung #include <sys/bus.h> instead of <machine/bus.h>.
 1.17  27-Mar-2008  tsutsui Add kernel support for optional Z85C30 serial console on Cobalt Qube 2700.
There is some interrupt related issue (in MI z8530tty driver?) on heavy load,
but useful enough for debugging.
 1.16  22-Mar-2008  tsutsui Reorganize interrupt handling on cobalt and allow multiple interrupts on
each icu irq to support multi function PCI devices in the Qube's PCI slot:

- split out interrupt stuff from machdep.c into new interrupt.c
- prepare struct *_intrhead to handle cpu and icu interrupts
- use LIST and malloc(9) to handle multiple interrupts per icu irq
(mostly taken from algor/pci/pcib.c and evbmips/malta/pci/pcib.c)
- move evcnt(9) stuff into *_intrhead from cobalt_intrhand
(i.e. make it per interrupt rather than per handler)
- in pci_intr_map(9) handle CPU interrupt separately and add a sanity check
- fixup interrupt lines for devices on the PCI slot in pci_conf_interrupt(9)
- move some device address definitions into <machine/cpu.h> and
remove <machine/leds.h>
- misc cosmetics

No objection on port-cobalt for three weeks.
 1.15  14-Mar-2008  cube Split device_t and softc for all com(4) devices (well, everything that
uses a com_softc backend). Use proper types and ansify where appropriate.
 1.14  13-Jul-2006  gdamore branches: 1.14.34; 1.14.54; 1.14.58;
Add an option COM_REGMAP to allow com(4) to use an array of register indices.
This allows us to convert aucom to just another com attachment, and cleanup
some code in the com_arbus.c.

Additionally, we use a common com_cleanup routine rather than having a
zillion copies of it in the attachment points.

This has been tested on a number architectures, and it has been shown to get
close to comparable performance when COM_REGMAP is defined, and comparable
when it is not defined.

Approved by core@. Fixes PR port-evbmips/32362.
 1.13  19-May-2006  tsutsui branches: 1.13.2;
Use cobalt_id to probe com at mainbus.
 1.12  15-Apr-2006  tsutsui branches: 1.12.2;
u_int32_t -> uint32_t
 1.11  06-Apr-2006  tsutsui Use bus_space_map(9) to get bus_space_handle_t on each driver
and remove bogus bus_space_handle_t member from mainbus_attach_args.
 1.10  11-Dec-2005  christos branches: 1.10.4; 1.10.6; 1.10.8; 1.10.10; 1.10.12;
merge ktrace-lwp.
 1.9  29-Aug-2004  tsutsui branches: 1.9.12;
- rename comcnprobe() and comcninit() to com_mainbus_cnprobe() and
com_mainbus_cninit() and move these cn functions from cobalt/console.c
to dev/com_mainbus.c
- call cninit() only once
- remove unneeded includes
- use ANSI function decls
 1.8  17-Oct-2003  cdi branches: 1.8.4;
Change console code to use cninit() and null console. Add serial console
check.
 1.7  12-Sep-2003  tsutsui Use common mips generic software interrupt routines.
 1.6  15-Jul-2003  lukem __KERNEL_RCSID()
 1.5  02-Oct-2002  thorpej branches: 1.5.6;
Use CFATTACH_DECL().
 1.4  27-Sep-2002  thorpej Declare all cfattach structures const.
 1.3  13-Jan-2002  augustss Implement pci_intr_disestablish().
 1.2  31-Mar-2000  soren branches: 1.2.6; 1.2.10; 1.2.14;
Some cleanups.
 1.1  19-Mar-2000  soren NetBSD/cobalt. Work-in-progress.
 1.2.14.2  18-Oct-2002  nathanw Catch up to -current.
 1.2.14.1  28-Feb-2002  nathanw Catch up to -current.
 1.2.10.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.2.10.1  11-Feb-2002  jdolecek Sync w/ -current.
 1.2.6.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.2.6.1  31-Mar-2000  bouyer file com_mainbus.c was added on branch thorpej_scsipi on 2000-11-20 20:07:02 +0000
 1.5.6.4  21-Sep-2004  skrll Fix the sync with head I botched.
 1.5.6.3  18-Sep-2004  skrll Sync with HEAD.
 1.5.6.2  03-Sep-2004  skrll Sync with HEAD
 1.5.6.1  03-Aug-2004  skrll Sync with HEAD
 1.8.4.1  16-Dec-2005  jmc Pullup rev 1.9 (requested by tsutsui in ticket #10175)

Cobalt kernel hangs in the second
consinit() call if it is loaded by the native bootloader,
so there is no bootstrap way to install other than to use
an older kernel.
 1.9.12.4  24-Mar-2008  yamt sync with head.
 1.9.12.3  17-Mar-2008  yamt sync with head.
 1.9.12.2  30-Dec-2006  yamt sync with head.
 1.9.12.1  21-Jun-2006  yamt sync with head.
 1.10.12.1  24-May-2006  tron Merge 2006-05-24 NetBSD-current into the "peter-altq" branch.
 1.10.10.1  19-Apr-2006  elad sync with head - hopefully this will work
 1.10.8.3  11-Aug-2006  yamt sync with head
 1.10.8.2  24-May-2006  yamt sync with head.
 1.10.8.1  11-Apr-2006  yamt sync with head
 1.10.6.2  01-Jun-2006  kardel Sync with head.
 1.10.6.1  22-Apr-2006  simonb Sync with head.
 1.10.4.1  09-Sep-2006  rpaulo sync with head
 1.12.2.1  19-Jun-2006  chap Sync with head.
 1.13.2.1  15-Jun-2006  gdamore Another com_mainbus.c. There are a few more of them left... Again, only
compile tested at this point.
 1.14.58.1  03-Apr-2008  mjf Sync with HEAD.
 1.14.54.1  24-Mar-2008  keiichi sync with head.
 1.14.34.1  23-Mar-2008  matt sync with HEAD
 1.19.30.1  22-Sep-2015  skrll Sync with HEAD
 1.19.12.1  03-Dec-2017  jdolecek update from HEAD
 1.21.4.1  10-Jun-2019  christos Sync with HEAD
 1.21.2.1  26-Dec-2018  pgoyette Sync with HEAD, resolve a few conflicts

RSS XML Feed