Home | History | Annotate | Download | only in dev
History log of /src/sys/arch/algor/dev/com_mainbus.c
RevisionDateAuthorComments
 1.15  08-Dec-2018  thorpej Clean up initialization of com_regs structure, in preparation for
some additional changers.
 1.14  09-Jul-2011  matt branches: 1.14.52; 1.14.54;
Allow algor kernels to be built under either algor/algor64 or
evbmips-el/evbmips64-el. Note that MAXMAPARITITONS and majors numbers
differ between the two ports which is why two kernels are still needed.
 1.13  01-Jul-2011  dyoung #include <sys/bus.h> instead of <machine/bus.h>.
 1.12  27-Nov-2009  rmind - Use uvm_lwp_setuarea() instead of directly setting address to lwp_t::l_addr.
- Replace most remaining uses of l_addr with uvm_lwp_getuarea() or lwp_getpcb().
- Amend assembly in ports where it accesses PCB via struct user.
- Rename L_ADDR to L_PCB in few places. Reduce sys/user.h inclusions.
 1.11  28-Apr-2008  martin Remove clause 3 and 4 from TNF licenses
 1.10  14-Mar-2008  cube branches: 1.10.2; 1.10.4;
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.9  29-Feb-2008  dyoung Use pmf_device_register1() instead of shutdownhook_establish() to
register com_cleanup() as the shutdown hook.

Add a generic suspend routine. Suspend and resume com@isa.

Protect against dereferencing a NULL softc in comioctl().

Destroy both a mutex and a callout in com_detach().

Cosmetic: use aprint_*_dev(). Use PMF_FN_ARGS, PMF_FN_PROTO.
 1.8  13-Jul-2006  gdamore branches: 1.8.34; 1.8.54; 1.8.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.7  02-Oct-2002  thorpej branches: 1.7.22; 1.7.36; 1.7.40; 1.7.48;
Fix script-o's in last.
 1.6  02-Oct-2002  thorpej Use CFATTACH_DECL().
 1.5  27-Sep-2002  thorpej Declare all cfattach structures const.
 1.4  27-Sep-2002  thorpej Rather than referencing the cfdriver directly in the cfdata entries,
instead use a string naming the driver. The cfdriver is then looked
up in a list which is built at run-time.
 1.3  15-Jun-2001  thorpej branches: 1.3.2; 1.3.8;
Yet more interrupt cleanup -- the platform mater interrupt establish
function now just takes an "irq", which is an index into the irqmap
table for that platform.
 1.2  10-Jun-2001  thorpej Rewrite the interrupt handling code:
- Compute the number of CPU pipeline cycles per second using the
mc146818.
- Use the COMPARE interrupt for the hardclock interrupt.
- Collapse all interrupt priorities into a single priority, and use
the CPU interrupt inputs to determine the interrupt source (local
device, PCI device, ISA device, etc.)

This allows us to have interrupt sharing.
 1.1  01-Jun-2001  thorpej Add support for the Algorithmics P-4032 board. This is totally
untested, since I have no P-4032 board, but it's no worse than
the current situation, which is "totally non-working P-4032
support in the ARC port, of all places".
 1.3.8.2  18-Oct-2002  nathanw Catch up to -current.
 1.3.8.1  15-Jun-2001  nathanw file com_mainbus.c was added on branch nathanw_sa on 2002-10-18 02:33:50 +0000
 1.3.2.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.7.48.4  17-Jun-2006  gdamore Undo the undo. Restore COM_INIT_REGS handling.
 1.7.48.3  17-Jun-2006  gdamore Undo the change to use COM_INIT_REGS, and instead use backwards compat
support. For com_arbus and com_aubus, we have to set a new flag, COM_HW_REGMAP
to indicate that we have special mapping considerations so that com_attach_subr
doesn't clobber our register map.
 1.7.48.2  16-Jun-2006  gdamore Use common com_cleanup.
 1.7.48.1  15-Jun-2006  gdamore Another com_mainbus. Again, only compile tested.
 1.7.40.1  11-Aug-2006  yamt sync with head
 1.7.36.1  09-Sep-2006  rpaulo sync with head
 1.7.22.2  17-Mar-2008  yamt sync with head.
 1.7.22.1  30-Dec-2006  yamt sync with head.
 1.8.58.2  02-Jun-2008  mjf Sync with HEAD.
 1.8.58.1  03-Apr-2008  mjf Sync with HEAD.
 1.8.54.1  24-Mar-2008  keiichi sync with head.
 1.8.34.1  23-Mar-2008  matt sync with HEAD
 1.10.4.2  11-Mar-2010  yamt sync with head
 1.10.4.1  16-May-2008  yamt sync with head.
 1.10.2.1  18-May-2008  yamt sync with head.
 1.14.54.1  10-Jun-2019  christos Sync with HEAD
 1.14.52.1  26-Dec-2018  pgoyette Sync with HEAD, resolve a few conflicts

RSS XML Feed