Home | History | Annotate | Download | only in dev
History log of /src/sys/arch/mips/atheros/dev/com_arbus.c
RevisionDateAuthorComments
 1.13  08-Dec-2018  thorpej Clean up initialization of com_regs structure, in preparation for
some additional changers.
 1.12  23-Feb-2014  martin branches: 1.12.28; 1.12.30;
fix typo
 1.11  07-Feb-2014  msaitoh Check _BYTE_ORDER.
 1.10  07-Jul-2011  matt branches: 1.10.2; 1.10.12; 1.10.16;
Revamp / rework the Atheros MIPS SoC support. Add initial support for the
AR71xx (MIPS 24K core) SoC and the AR9344 (MIPS 74K core) SoC. Force use
of -mips32 for all Atheros kernels. Make code much more common.
 1.9  01-Jul-2011  dyoung #include <sys/bus.h> instead of <machine/bus.h>.
 1.8  09-Feb-2011  matt Use $NetBSD$ instead of $Id$
 1.7  28-Apr-2008  martin branches: 1.7.22; 1.7.28; 1.7.30;
Remove clause 3 and 4 from TNF licenses
 1.6  14-Mar-2008  cube branches: 1.6.2; 1.6.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.5  17-Feb-2007  jmcneill branches: 1.5.22; 1.5.38; 1.5.42;
Only define COM_ARBUS_BAUD if not already defined elsewhere.
 1.4  04-Sep-2006  gdamore branches: 1.4.4; 1.4.10;
This is a boat-load of changes designed to finish parameterizing the
stuff necessary to separate out AR5312 from AR5315. This includes:

1) rework of arbus IRQs, so that IRQs are now seperately specified
as either MISC or CPU irqs
2) move board/chip-specific addresses into chip-dependent file
3) unencumber argpio from ar5312 specifics, using properties to pass
details such as reset-pin and sysled-pin.
4) an option to select which WiSoC is to be configured is provided.

AR5315 support should be forthcoming shortly now.
 1.3  28-Aug-2006  gdamore First pass at cleanup AR5312 WiSoC support to enable better & cleaner
sharing of code with the AR5315, which has many similarities, but many
differences from the AR5312.

No functional change at this time, other than the cpu_model string
(and also sysctl.hw.model node) is changed to reflect the WiSoC cpu
name rather than the identification string in ROM (which tends to not
be very informative.)
 1.2  13-Jul-2006  gdamore 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.1  21-Mar-2006  gdamore branches: 1.1.2; 1.1.4; 1.1.6; 1.1.8; 1.1.12; 1.1.14;
Initial import of Atheros AR531X SoC support. Currently the onboard ethernet
and serial ports are supported, and the system appears stable with an NFS
mounted root. An earlier version of the code was reviewed by simon@, but it
has since had numerous improvements and cleanups.


At the moment, only AR5312 is known to work, but I suspect AR2313 will work
as well. Later 2315/2316 parts are substantially different, and are not yet
supported. Wifi and Marvell switch support found on some designs are not yet
supported.

Platforms known to include AR5312 include Senao Aries 2 (AP5054) and Netgear
WGU624.
 1.1.14.5  17-Mar-2008  yamt sync with head.
 1.1.14.4  26-Feb-2007  yamt sync with head.
 1.1.14.3  30-Dec-2006  yamt sync with head.
 1.1.14.2  21-Jun-2006  yamt sync with head.
 1.1.14.1  21-Mar-2006  yamt file com_arbus.c was added on branch yamt-lazymbuf on 2006-06-21 14:53:38 +0000
 1.1.12.4  17-Jun-2006  gdamore Undo the undo. Restore COM_INIT_REGS handling.
 1.1.12.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.1.12.2  16-Jun-2006  gdamore KNF per simonb@ consisting of:
regs.xx -> regs.cr_xxx
wrap COM_INIT_REGS body with do { } while (0);)
Convert INB/OUTB macros to CSR_READ/CSR_WRITE macros per tsutsui@.
 1.1.12.1  15-Jun-2006  gdamore Adapt to new com framework. While here, make sure com only matches real com
devices.
 1.1.8.2  22-Apr-2006  simonb Sync with head.
 1.1.8.1  21-Mar-2006  simonb file com_arbus.c was added on branch simonb-timecounters on 2006-04-22 11:37:42 +0000
 1.1.6.2  19-Apr-2006  elad sync with head - hopefully this will work
 1.1.6.1  21-Mar-2006  elad file com_arbus.c was added on branch elad-kernelauth on 2006-04-19 02:33:12 +0000
 1.1.4.5  14-Sep-2006  yamt sync with head.
 1.1.4.4  03-Sep-2006  yamt sync with head.
 1.1.4.3  11-Aug-2006  yamt sync with head
 1.1.4.2  11-Apr-2006  yamt sync files somehow mis-tagged by yamt-pdpolicy-base2.
 1.1.4.1  21-Mar-2006  yamt file com_arbus.c was added on branch yamt-pdpolicy on 2006-04-11 12:20:51 +0000
 1.1.2.2  28-Mar-2006  tron Merge 2006-03-28 NetBSD-current into the "peter-altq" branch.
 1.1.2.1  21-Mar-2006  tron file com_arbus.c was added on branch peter-altq on 2006-03-28 09:47:17 +0000
 1.4.10.1  27-Feb-2007  yamt - sync with head.
- move sched_changepri back to kern_synch.c as it doesn't know PPQ anymore.
 1.4.4.2  09-Sep-2006  rpaulo sync with head
 1.4.4.1  04-Sep-2006  rpaulo file com_arbus.c was added on branch rpaulo-netinet-merge-pcb on 2006-09-09 02:41:25 +0000
 1.5.42.2  02-Jun-2008  mjf Sync with HEAD.
 1.5.42.1  03-Apr-2008  mjf Sync with HEAD.
 1.5.38.1  24-Mar-2008  keiichi sync with head.
 1.5.22.1  23-Mar-2008  matt sync with HEAD
 1.6.4.1  16-May-2008  yamt sync with head.
 1.6.2.1  18-May-2008  yamt sync with head.
 1.7.30.1  17-Feb-2011  bouyer Sync with HEAD
 1.7.28.1  06-Jun-2011  jruoho Sync with HEAD.
 1.7.22.1  05-Mar-2011  rmind sync with head
 1.10.16.1  18-May-2014  rmind sync with head
 1.10.12.1  20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.10.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")
 1.12.30.1  10-Jun-2019  christos Sync with HEAD
 1.12.28.1  26-Dec-2018  pgoyette Sync with HEAD, resolve a few conflicts

RSS XML Feed