Home | History | Annotate | Download | only in dev
History log of /src/sys/arch/mips/atheros/dev/if_ath_arbus.c
RevisionDateAuthorComments
 1.23  29-Sep-2022  skrll Remove unnecessary include of <sys/malloc.h>.
 1.22  12-Feb-2012  matt Change old-style function defintions to C89 prototypes.

Approved by releng.
 1.21  10-Jul-2011  matt branches: 1.21.2; 1.21.6;
Cleanup machine includes
 1.20  07-Jul-2011  matt 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.19  01-Jul-2011  dyoung #include <sys/bus.h> instead of <machine/bus.h>.
 1.18  24-Feb-2010  dyoung A pointer typedef entails trading too much flexibility to declare const
and non-const types, and the kernel uses both const and non-const
PMF qualifiers and device suspensors, so change the pmf_qual_t and
device_suspensor_t typedefs from "pointers to const" to non-pointer,
non-const types.
 1.17  08-Jan-2010  dyoung branches: 1.17.2;
Expand PMF_FN_* macros.
 1.16  06-Jul-2009  alc Update reference to the Atheros HAL exported headers.

`external/isc/atheros_hal/dist', former `contrib/dev/ath/' is now in cpp(1)'s
include path.

Fix build of MERAKI kernel.
 1.15  09-Jul-2008  joerg branches: 1.15.4; 1.15.12;
- device/softc split for ath(4)
 1.14  10-May-2008  martin branches: 1.14.2; 1.14.4;
Backout previous: the license sweep touched these files in error, so
restore the old license.
 1.13  28-Apr-2008  martin branches: 1.13.2;
Remove clause 3 and 4 from TNF licenses
 1.12  12-Mar-2008  dyoung branches: 1.12.4;
Do not use sc_invalid, it is no more.
 1.11  29-Feb-2008  dyoung Use PMF_FN_ARGS, PMF_FN_PROTO.
 1.10  07-Jan-2008  dyoung branches: 1.10.2; 1.10.6;
Use pmf(9). Use device_t and device_private().
 1.9  24-Jan-2007  hubertf branches: 1.9.24; 1.9.30; 1.9.36;
Remove duplicate #includes, patch contributed in private mail
by Slava Semushin <slava.semushin@gmail.com>.

To verify that no nasty side effects of duplicate includes (or their
removal) have an effect here, I've compiled an i386/ALL kernel with
and without the patch, and the only difference in the resulting .o
files was in shifted line numbers in some assert() calls.
The comparison of the .o files was based on the output of "objdump -D".

Thanks to martin@ for the input on testing.
 1.8  26-Sep-2006  gdamore Initial import of AR2315 support, specifically the Meraki Mini (see
the Meraki web site at http://www.meraki.net/ ) This includes changes
to the AR5312 to make it more conducive to sharing code with the AR5315,
and also includes improved early console support.

All devices including ethernet and wlan interfaces on the Meraki Mini are
functional with this port, _except_ SPI flash, which will be introduced
later.

This port was funded by the Champaign-Urbana Communit Wireless Network
Project (CUWiN).
 1.7  04-Sep-2006  gdamore branches: 1.7.2; 1.7.4; 1.7.6;
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.6  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.5  14-Jul-2006  seanb Consistently establish / disestablish shutdown hook
in the bus layer and remove from common ath_attach().
Having it in both layers (on some bus architectures)
was causing a double call to ath_stop() on shutdown
which in turn was tickling the bus lockup described
therin on slower machines.
 1.4  05-Jun-2006  gdamore branches: 1.4.4;
Import new HAL 0.9.17.2. Approved by sam@

New HAL includes some driver changes to register accesses.
Adds support for WLAN devices on AR5312 family devices.
Adds support 32-bit SPARC ath devices (untested).
ath enabled in SPARC64 GENERIC builds.
This HAL is tested and known to work for i386 PCI devices, SPARC64 PCI devices,
and AR5312 WiSoC devices. MIPS PCI devices appear to be busted (possibly only
on Alchemy hardware, unconfirmed), and cardbus support is untested due to
lack of test hardware.

Please report any new problems with this import to garrett@.
 1.3  07-Apr-2006  gdamore branches: 1.3.2; 1.3.4; 1.3.6; 1.3.8;
Use PCI vendor ID for Atheros.
 1.2  02-Apr-2006  gdamore Change to use new HAL layout. (Not in HEAD yet, but since this device
isn't built by default yet, it is harmless to change now.)

Pass DMA tag. Do not register shutdown hooks if attach fails.
Use SYSREG_REVISION for ath device ids.

if_ath_arbus isn't operational yet, but it is much closer now.
 1.1  21-Mar-2006  gdamore branches: 1.1.2;
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.2.3  24-May-2006  tron Merge 2006-05-24 NetBSD-current into the "peter-altq" branch.
 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 if_ath_arbus.c was added on branch peter-altq on 2006-03-28 09:47:17 +0000
 1.3.8.1  19-Jun-2006  chap Sync with head.
 1.3.6.3  07-Jun-2006  kardel Sync with head.
 1.3.6.2  22-Apr-2006  simonb Sync with head.
 1.3.6.1  07-Apr-2006  simonb file if_ath_arbus.c was added on branch simonb-timecounters on 2006-04-22 11:37:42 +0000
 1.3.4.2  19-Apr-2006  elad sync with head - hopefully this will work
 1.3.4.1  07-Apr-2006  elad file if_ath_arbus.c was added on branch elad-kernelauth on 2006-04-19 02:33:12 +0000
 1.3.2.7  15-Sep-2006  yamt fix a merge botch.
 1.3.2.6  14-Sep-2006  yamt sync with head.
 1.3.2.5  03-Sep-2006  yamt sync with head.
 1.3.2.4  11-Aug-2006  yamt sync with head
 1.3.2.3  26-Jun-2006  yamt sync with head.
 1.3.2.2  11-Apr-2006  yamt sync files somehow mis-tagged by yamt-pdpolicy-base2.
 1.3.2.1  07-Apr-2006  yamt file if_ath_arbus.c was added on branch yamt-pdpolicy on 2006-04-11 12:20:51 +0000
 1.4.4.6  17-Mar-2008  yamt sync with head.
 1.4.4.5  21-Jan-2008  yamt sync with head
 1.4.4.4  26-Feb-2007  yamt sync with head.
 1.4.4.3  30-Dec-2006  yamt sync with head.
 1.4.4.2  21-Jun-2006  yamt sync with head.
 1.4.4.1  05-Jun-2006  yamt file if_ath_arbus.c was added on branch yamt-lazymbuf on 2006-06-21 14:53:38 +0000
 1.7.6.1  22-Oct-2006  yamt sync with head
 1.7.4.2  09-Sep-2006  rpaulo sync with head
 1.7.4.1  04-Sep-2006  rpaulo file if_ath_arbus.c was added on branch rpaulo-netinet-merge-pcb on 2006-09-09 02:41:25 +0000
 1.7.2.2  01-Feb-2007  ad Sync with head.
 1.7.2.1  18-Nov-2006  ad Sync with head.
 1.9.36.1  08-Jan-2008  bouyer Sync with HEAD
 1.9.30.1  18-Feb-2008  mjf Sync with HEAD.
 1.9.24.2  23-Mar-2008  matt sync with HEAD
 1.9.24.1  09-Jan-2008  matt sync with HEAD
 1.10.6.2  28-Sep-2008  mjf Sync with HEAD.
 1.10.6.1  03-Apr-2008  mjf Sync with HEAD.
 1.10.2.1  24-Mar-2008  keiichi sync with head.
 1.12.4.3  11-Mar-2010  yamt sync with head
 1.12.4.2  18-Jul-2009  yamt sync with head.
 1.12.4.1  04-May-2009  yamt sync with head.
 1.13.2.2  18-Sep-2008  wrstuden Sync with wrstuden-revivesa-base-2.
 1.13.2.1  23-Jun-2008  wrstuden Sync w/ -current. 34 merge conflicts to follow.
 1.14.4.1  19-Oct-2008  haad Sync with HEAD.
 1.14.2.1  18-Jul-2008  simonb Sync with head.
 1.15.12.1  21-Apr-2010  matt sync with netbsd-5
 1.15.4.1  07-Aug-2009  snj Pull up following revision(s) (requested by jmcneill in ticket #775):
sys/arch/mips/atheros/ar5312_board.c: revision 1.2
sys/arch/mips/atheros/ar5315.c: revision 1.6
sys/arch/mips/atheros/ar5315_board.c: revision 1.2
sys/arch/mips/atheros/dev/if_ath_arbus.c: revision 1.16
sys/arch/mips/atheros/include/ar5312reg.h: revision 1.3
Update reference to the Atheros HAL exported headers.
`external/isc/atheros_hal/dist', former `contrib/dev/ath/' is now in cpp(1)'s
include path.
Fix build of MERAKI kernel.
 1.17.2.1  30-Apr-2010  uebayasi Sync with HEAD.
 1.21.6.1  18-Feb-2012  mrg merge to -current.
 1.21.2.1  17-Apr-2012  yamt sync with head

RSS XML Feed