Home | History | Annotate | only in /src/sys/external/isc/atheros_hal/dist
History log of /src/sys/external/isc/atheros_hal/dist
RevisionDateAuthorComments
 1.3 07-Mar-2011  cegger Get improvements from FreeBSD-current (January 2011).
Successfully tested with WEP, WPA and WPA2 on AR9285.
Reviewed by jmcneill@
 1.2 11-Dec-2008  alc branches: 1.2.2; 1.2.4; 1.2.8; 1.2.10; 1.2.14; 1.2.16; 1.2.18;
Fix the build of the new HAL:

- constify link-set iterator
- do RF lookup only if any RF has been built
- fix global symbols shadowing
- const static -> static const
- don't redefine `uintptr_t'
- use `unsigned long' in __DECONST()
- fix AH_RF() macros
- __va_list -> va_list
- add missing struct trailing element
- add a few #ifdef AH_DEBUG block to avoid empty if() statement
- some other nits...
 1.1 11-Dec-2008  alc branches: 1.1.1;
Initial revision
 1.1.1.1 11-Dec-2008  alc Import Atheros HAL, from FreeBSD (revision 185521)
 1.2.18.1 06-Jun-2011  jruoho Sync with HEAD.
 1.2.16.2 21-Apr-2010  matt sync to netbsd-5
 1.2.16.1 11-Dec-2008  matt file ah.c was added on branch matt-nb5-mips64 on 2010-04-21 00:28:04 +0000
 1.2.14.1 21-Apr-2011  rmind sync with head
 1.2.10.2 07-Aug-2009  snj Apply patch (requested by jmcneill in ticket 775):
Update to the open source atheros HAL.
 1.2.10.1 11-Dec-2008  snj file ah.c was added on branch netbsd-5 on 2009-08-07 06:43:28 +0000
 1.2.8.2 04-May-2009  yamt sync with head.
 1.2.8.1 11-Dec-2008  yamt file ah.c was added on branch yamt-nfs-mp on 2009-05-04 08:13:37 +0000
 1.2.4.2 19-Jan-2009  skrll Sync with HEAD.
 1.2.4.1 11-Dec-2008  skrll file ah.c was added on branch nick-hppapmap on 2009-01-19 13:19:19 +0000
 1.2.2.2 17-Jan-2009  mjf Sync with HEAD.
 1.2.2.1 11-Dec-2008  mjf file ah.c was added on branch mjf-devfs2 on 2009-01-17 13:29:11 +0000
 1.5 16-Dec-2020  christos interupt -> interrupt
 1.4 07-Mar-2011  cegger branches: 1.4.68;
Get improvements from FreeBSD-current (January 2011).
Successfully tested with WEP, WPA and WPA2 on AR9285.
Reviewed by jmcneill@
 1.3 21-Feb-2011  cegger add AR9285 support
 1.2 20-Feb-2011  jmcneill add AR9280 support
 1.1 11-Dec-2008  alc branches: 1.1.1;
Initial revision
 1.1.1.1 11-Dec-2008  alc branches: 1.1.1.1.2; 1.1.1.1.4; 1.1.1.1.8; 1.1.1.1.10; 1.1.1.1.14; 1.1.1.1.16; 1.1.1.1.18; 1.1.1.1.20;
Import Atheros HAL, from FreeBSD (revision 185521)
 1.1.1.1.20.1 05-Mar-2011  bouyer Sync with HEAD
 1.1.1.1.18.1 06-Jun-2011  jruoho Sync with HEAD.
 1.1.1.1.16.2 21-Apr-2010  matt sync to netbsd-5
 1.1.1.1.16.1 11-Dec-2008  matt file ah.h was added on branch matt-nb5-mips64 on 2010-04-21 00:28:04 +0000
 1.1.1.1.14.2 21-Apr-2011  rmind sync with head
 1.1.1.1.14.1 05-Mar-2011  rmind sync with head
 1.1.1.1.10.2 07-Aug-2009  snj Apply patch (requested by jmcneill in ticket 775):
Update to the open source atheros HAL.
 1.1.1.1.10.1 11-Dec-2008  snj file ah.h was added on branch netbsd-5 on 2009-08-07 06:43:29 +0000
 1.1.1.1.8.2 04-May-2009  yamt sync with head.
 1.1.1.1.8.1 11-Dec-2008  yamt file ah.h was added on branch yamt-nfs-mp on 2009-05-04 08:13:37 +0000
 1.1.1.1.4.2 19-Jan-2009  skrll Sync with HEAD.
 1.1.1.1.4.1 11-Dec-2008  skrll file ah.h was added on branch nick-hppapmap on 2009-01-19 13:19:19 +0000
 1.1.1.1.2.2 17-Jan-2009  mjf Sync with HEAD.
 1.1.1.1.2.1 11-Dec-2008  mjf file ah.h was added on branch mjf-devfs2 on 2009-01-17 13:29:11 +0000
 1.4.68.1 03-Jan-2021  thorpej Sync w/ HEAD.
 1.1 11-Dec-2008  alc branches: 1.1.1;
Initial revision
 1.1.1.1 11-Dec-2008  alc branches: 1.1.1.1.2; 1.1.1.1.4; 1.1.1.1.8; 1.1.1.1.10; 1.1.1.1.16;
Import Atheros HAL, from FreeBSD (revision 185521)
 1.1.1.1.16.2 21-Apr-2010  matt sync to netbsd-5
 1.1.1.1.16.1 11-Dec-2008  matt file ah_debug.h was added on branch matt-nb5-mips64 on 2010-04-21 00:28:05 +0000
 1.1.1.1.10.2 07-Aug-2009  snj Apply patch (requested by jmcneill in ticket 775):
Update to the open source atheros HAL.
 1.1.1.1.10.1 11-Dec-2008  snj file ah_debug.h was added on branch netbsd-5 on 2009-08-07 06:43:29 +0000
 1.1.1.1.8.2 04-May-2009  yamt sync with head.
 1.1.1.1.8.1 11-Dec-2008  yamt file ah_debug.h was added on branch yamt-nfs-mp on 2009-05-04 08:13:37 +0000
 1.1.1.1.4.2 19-Jan-2009  skrll Sync with HEAD.
 1.1.1.1.4.1 11-Dec-2008  skrll file ah_debug.h was added on branch nick-hppapmap on 2009-01-19 13:19:19 +0000
 1.1.1.1.2.2 17-Jan-2009  mjf Sync with HEAD.
 1.1.1.1.2.1 11-Dec-2008  mjf file ah_debug.h was added on branch mjf-devfs2 on 2009-01-17 13:29:11 +0000
 1.1 11-Dec-2008  alc branches: 1.1.1;
Initial revision
 1.1.1.1 11-Dec-2008  alc branches: 1.1.1.1.2; 1.1.1.1.4; 1.1.1.1.8; 1.1.1.1.10; 1.1.1.1.16;
Import Atheros HAL, from FreeBSD (revision 185521)
 1.1.1.1.16.2 21-Apr-2010  matt sync to netbsd-5
 1.1.1.1.16.1 11-Dec-2008  matt file ah_decode.h was added on branch matt-nb5-mips64 on 2010-04-21 00:28:05 +0000
 1.1.1.1.10.2 07-Aug-2009  snj Apply patch (requested by jmcneill in ticket 775):
Update to the open source atheros HAL.
 1.1.1.1.10.1 11-Dec-2008  snj file ah_decode.h was added on branch netbsd-5 on 2009-08-07 06:43:29 +0000
 1.1.1.1.8.2 04-May-2009  yamt sync with head.
 1.1.1.1.8.1 11-Dec-2008  yamt file ah_decode.h was added on branch yamt-nfs-mp on 2009-05-04 08:13:37 +0000
 1.1.1.1.4.2 19-Jan-2009  skrll Sync with HEAD.
 1.1.1.1.4.1 11-Dec-2008  skrll file ah_decode.h was added on branch nick-hppapmap on 2009-01-19 13:19:19 +0000
 1.1.1.1.2.2 17-Jan-2009  mjf Sync with HEAD.
 1.1.1.1.2.1 11-Dec-2008  mjf file ah_decode.h was added on branch mjf-devfs2 on 2009-01-17 13:29:11 +0000
 1.2 11-Dec-2008  alc branches: 1.2.2; 1.2.4; 1.2.8; 1.2.10; 1.2.16;
Fix the build of the new HAL:

- constify link-set iterator
- do RF lookup only if any RF has been built
- fix global symbols shadowing
- const static -> static const
- don't redefine `uintptr_t'
- use `unsigned long' in __DECONST()
- fix AH_RF() macros
- __va_list -> va_list
- add missing struct trailing element
- add a few #ifdef AH_DEBUG block to avoid empty if() statement
- some other nits...
 1.1 11-Dec-2008  alc branches: 1.1.1;
Initial revision
 1.1.1.1 11-Dec-2008  alc Import Atheros HAL, from FreeBSD (revision 185521)
 1.2.16.2 21-Apr-2010  matt sync to netbsd-5
 1.2.16.1 11-Dec-2008  matt file ah_desc.h was added on branch matt-nb5-mips64 on 2010-04-21 00:28:05 +0000
 1.2.10.2 07-Aug-2009  snj Apply patch (requested by jmcneill in ticket 775):
Update to the open source atheros HAL.
 1.2.10.1 11-Dec-2008  snj file ah_desc.h was added on branch netbsd-5 on 2009-08-07 06:43:29 +0000
 1.2.8.2 04-May-2009  yamt sync with head.
 1.2.8.1 11-Dec-2008  yamt file ah_desc.h was added on branch yamt-nfs-mp on 2009-05-04 08:13:37 +0000
 1.2.4.2 19-Jan-2009  skrll Sync with HEAD.
 1.2.4.1 11-Dec-2008  skrll file ah_desc.h was added on branch nick-hppapmap on 2009-01-19 13:19:19 +0000
 1.2.2.2 17-Jan-2009  mjf Sync with HEAD.
 1.2.2.1 11-Dec-2008  mjf file ah_desc.h was added on branch mjf-devfs2 on 2009-01-17 13:29:11 +0000
 1.1 11-Dec-2008  alc branches: 1.1.1;
Initial revision
 1.1.1.1 11-Dec-2008  alc branches: 1.1.1.1.2; 1.1.1.1.4; 1.1.1.1.8; 1.1.1.1.10; 1.1.1.1.16;
Import Atheros HAL, from FreeBSD (revision 185521)
 1.1.1.1.16.2 21-Apr-2010  matt sync to netbsd-5
 1.1.1.1.16.1 11-Dec-2008  matt file ah_devid.h was added on branch matt-nb5-mips64 on 2010-04-21 00:28:05 +0000
 1.1.1.1.10.2 07-Aug-2009  snj Apply patch (requested by jmcneill in ticket 775):
Update to the open source atheros HAL.
 1.1.1.1.10.1 11-Dec-2008  snj file ah_devid.h was added on branch netbsd-5 on 2009-08-07 06:43:29 +0000
 1.1.1.1.8.2 04-May-2009  yamt sync with head.
 1.1.1.1.8.1 11-Dec-2008  yamt file ah_devid.h was added on branch yamt-nfs-mp on 2009-05-04 08:13:37 +0000
 1.1.1.1.4.2 19-Jan-2009  skrll Sync with HEAD.
 1.1.1.1.4.1 11-Dec-2008  skrll file ah_devid.h was added on branch nick-hppapmap on 2009-01-19 13:19:19 +0000
 1.1.1.1.2.2 17-Jan-2009  mjf Sync with HEAD.
 1.1.1.1.2.1 11-Dec-2008  mjf file ah_devid.h was added on branch mjf-devfs2 on 2009-01-17 13:29:11 +0000
 1.1 11-Dec-2008  alc branches: 1.1.1;
Initial revision
 1.1.1.1 11-Dec-2008  alc branches: 1.1.1.1.2; 1.1.1.1.4; 1.1.1.1.8; 1.1.1.1.10; 1.1.1.1.16;
Import Atheros HAL, from FreeBSD (revision 185521)
 1.1.1.1.16.2 21-Apr-2010  matt sync to netbsd-5
 1.1.1.1.16.1 11-Dec-2008  matt file ah_eeprom.h was added on branch matt-nb5-mips64 on 2010-04-21 00:28:05 +0000
 1.1.1.1.10.2 07-Aug-2009  snj Apply patch (requested by jmcneill in ticket 775):
Update to the open source atheros HAL.
 1.1.1.1.10.1 11-Dec-2008  snj file ah_eeprom.h was added on branch netbsd-5 on 2009-08-07 06:43:29 +0000
 1.1.1.1.8.2 04-May-2009  yamt sync with head.
 1.1.1.1.8.1 11-Dec-2008  yamt file ah_eeprom.h was added on branch yamt-nfs-mp on 2009-05-04 08:13:37 +0000
 1.1.1.1.4.2 19-Jan-2009  skrll Sync with HEAD.
 1.1.1.1.4.1 11-Dec-2008  skrll file ah_eeprom.h was added on branch nick-hppapmap on 2009-01-19 13:19:19 +0000
 1.1.1.1.2.2 17-Jan-2009  mjf Sync with HEAD.
 1.1.1.1.2.1 11-Dec-2008  mjf file ah_eeprom.h was added on branch mjf-devfs2 on 2009-01-17 13:29:11 +0000
 1.5 13-Apr-2021  mrg use correct enum types for various functions.
 1.4 12-Dec-2008  alc branches: 1.4.2; 1.4.4; 1.4.8; 1.4.10; 1.4.16; 1.4.90;
Don't display the global kernel symbol `version' but the *eeprom* version, as done in the original code.
 1.3 12-Dec-2008  cegger make i386 ALL kernel compile
 1.2 11-Dec-2008  alc Fix the build of the new HAL:

- constify link-set iterator
- do RF lookup only if any RF has been built
- fix global symbols shadowing
- const static -> static const
- don't redefine `uintptr_t'
- use `unsigned long' in __DECONST()
- fix AH_RF() macros
- __va_list -> va_list
- add missing struct trailing element
- add a few #ifdef AH_DEBUG block to avoid empty if() statement
- some other nits...
 1.1 11-Dec-2008  alc branches: 1.1.1;
Initial revision
 1.1.1.1 11-Dec-2008  alc Import Atheros HAL, from FreeBSD (revision 185521)
 1.4.90.1 17-Apr-2021  thorpej Sync with HEAD.
 1.4.16.2 21-Apr-2010  matt sync to netbsd-5
 1.4.16.1 12-Dec-2008  matt file ah_eeprom_v1.c was added on branch matt-nb5-mips64 on 2010-04-21 00:28:05 +0000
 1.4.10.2 07-Aug-2009  snj Apply patch (requested by jmcneill in ticket 775):
Update to the open source atheros HAL.
 1.4.10.1 12-Dec-2008  snj file ah_eeprom_v1.c was added on branch netbsd-5 on 2009-08-07 06:43:30 +0000
 1.4.8.2 04-May-2009  yamt sync with head.
 1.4.8.1 12-Dec-2008  yamt file ah_eeprom_v1.c was added on branch yamt-nfs-mp on 2009-05-04 08:13:37 +0000
 1.4.4.2 19-Jan-2009  skrll Sync with HEAD.
 1.4.4.1 12-Dec-2008  skrll file ah_eeprom_v1.c was added on branch nick-hppapmap on 2009-01-19 13:19:19 +0000
 1.4.2.2 17-Jan-2009  mjf Sync with HEAD.
 1.4.2.1 12-Dec-2008  mjf file ah_eeprom_v1.c was added on branch mjf-devfs2 on 2009-01-17 13:29:11 +0000
 1.1 11-Dec-2008  alc branches: 1.1.1;
Initial revision
 1.1.1.1 11-Dec-2008  alc branches: 1.1.1.1.2; 1.1.1.1.4; 1.1.1.1.8; 1.1.1.1.10; 1.1.1.1.16;
Import Atheros HAL, from FreeBSD (revision 185521)
 1.1.1.1.16.2 21-Apr-2010  matt sync to netbsd-5
 1.1.1.1.16.1 11-Dec-2008  matt file ah_eeprom_v1.h was added on branch matt-nb5-mips64 on 2010-04-21 00:28:05 +0000
 1.1.1.1.10.2 07-Aug-2009  snj Apply patch (requested by jmcneill in ticket 775):
Update to the open source atheros HAL.
 1.1.1.1.10.1 11-Dec-2008  snj file ah_eeprom_v1.h was added on branch netbsd-5 on 2009-08-07 06:43:30 +0000
 1.1.1.1.8.2 04-May-2009  yamt sync with head.
 1.1.1.1.8.1 11-Dec-2008  yamt file ah_eeprom_v1.h was added on branch yamt-nfs-mp on 2009-05-04 08:13:37 +0000
 1.1.1.1.4.2 19-Jan-2009  skrll Sync with HEAD.
 1.1.1.1.4.1 11-Dec-2008  skrll file ah_eeprom_v1.h was added on branch nick-hppapmap on 2009-01-19 13:19:19 +0000
 1.1.1.1.2.2 17-Jan-2009  mjf Sync with HEAD.
 1.1.1.1.2.1 11-Dec-2008  mjf file ah_eeprom_v1.h was added on branch mjf-devfs2 on 2009-01-17 13:29:11 +0000
 1.7 13-Apr-2021  mrg use correct enum types for various functions.
 1.6 11-Dec-2012  msaitoh branches: 1.6.52;
Fix off by one read error.
 1.5 07-Mar-2011  cegger branches: 1.5.4; 1.5.10; 1.5.14; 1.5.16;
Get improvements from FreeBSD-current (January 2011).
Successfully tested with WEP, WPA and WPA2 on AR9285.
Reviewed by jmcneill@
 1.4 31-Dec-2008  christos branches: 1.4.2; 1.4.4; 1.4.8; 1.4.10; 1.4.14; 1.4.16; 1.4.18;
KNF.
NB: These were not imported properly. The Id RCS keyword lines were not
cleaned up, and there were no NetBSD keywords added. Perhaps Re-import
correctly?
 1.3 31-Dec-2008  phil Add a return HAL_OK in the AR_EEP_MACADDR case. Without this
it falls through to the next case and returns a register value.
Found by Aran Clauson.
 1.2 11-Dec-2008  alc Fix the build of the new HAL:

- constify link-set iterator
- do RF lookup only if any RF has been built
- fix global symbols shadowing
- const static -> static const
- don't redefine `uintptr_t'
- use `unsigned long' in __DECONST()
- fix AH_RF() macros
- __va_list -> va_list
- add missing struct trailing element
- add a few #ifdef AH_DEBUG block to avoid empty if() statement
- some other nits...
 1.1 11-Dec-2008  alc branches: 1.1.1;
Initial revision
 1.1.1.1 11-Dec-2008  alc Import Atheros HAL, from FreeBSD (revision 185521)
 1.4.18.1 06-Jun-2011  jruoho Sync with HEAD.
 1.4.16.2 21-Apr-2010  matt sync to netbsd-5
 1.4.16.1 31-Dec-2008  matt file ah_eeprom_v14.c was added on branch matt-nb5-mips64 on 2010-04-21 00:28:05 +0000
 1.4.14.1 21-Apr-2011  rmind sync with head
 1.4.10.3 13-Jan-2013  bouyer Apply patch (requested by msaitoh in ticket #1827):
sys/external/isc/atheros_hal/dist/ah_eeprom_v14.c: patch
Fix off by one read.
 1.4.10.2 07-Aug-2009  snj branches: 1.4.10.2.2; 1.4.10.2.6;
Apply patch (requested by jmcneill in ticket 775):
Update to the open source atheros HAL.
 1.4.10.1 31-Dec-2008  snj file ah_eeprom_v14.c was added on branch netbsd-5 on 2009-08-07 06:43:30 +0000
 1.4.10.2.6.1 13-Jan-2013  bouyer Apply patch (requested by msaitoh in ticket #1827):
sys/external/isc/atheros_hal/dist/ah_eeprom_v14.c: patch
Fix off by one read.
 1.4.10.2.2.1 13-Jan-2013  bouyer Apply patch (requested by msaitoh in ticket #1827):
sys/external/isc/atheros_hal/dist/ah_eeprom_v14.c: patch
Fix off by one read.
 1.4.8.2 04-May-2009  yamt sync with head.
 1.4.8.1 31-Dec-2008  yamt file ah_eeprom_v14.c was added on branch yamt-nfs-mp on 2009-05-04 08:13:37 +0000
 1.4.4.2 19-Jan-2009  skrll Sync with HEAD.
 1.4.4.1 31-Dec-2008  skrll file ah_eeprom_v14.c was added on branch nick-hppapmap on 2009-01-19 13:19:19 +0000
 1.4.2.2 17-Jan-2009  mjf Sync with HEAD.
 1.4.2.1 31-Dec-2008  mjf file ah_eeprom_v14.c was added on branch mjf-devfs2 on 2009-01-17 13:29:11 +0000
 1.5.16.1 17-Dec-2012  riz Pull up following revision(s) (requested by msaitoh in ticket #754):
sys/external/isc/atheros_hal/dist/ah_eeprom_v14.c: revision 1.6
sys/external/isc/atheros_hal/dist/ah_eeprom_v4k.c: revision 1.4
Fix off by one read error.
 1.5.14.1 25-Feb-2013  tls resync with head
 1.5.10.1 17-Dec-2012  riz Pull up following revision(s) (requested by msaitoh in ticket #754):
sys/external/isc/atheros_hal/dist/ah_eeprom_v14.c: revision 1.6
sys/external/isc/atheros_hal/dist/ah_eeprom_v4k.c: revision 1.4
Fix off by one read error.
 1.5.4.1 16-Jan-2013  yamt sync with (a bit old) head
 1.6.52.1 17-Apr-2021  thorpej Sync with HEAD.
 1.2 21-Feb-2011  cegger add AR9285 support
 1.1 11-Dec-2008  alc branches: 1.1.1;
Initial revision
 1.1.1.1 11-Dec-2008  alc branches: 1.1.1.1.2; 1.1.1.1.4; 1.1.1.1.8; 1.1.1.1.10; 1.1.1.1.14; 1.1.1.1.16; 1.1.1.1.18; 1.1.1.1.20;
Import Atheros HAL, from FreeBSD (revision 185521)
 1.1.1.1.20.1 05-Mar-2011  bouyer Sync with HEAD
 1.1.1.1.18.1 06-Jun-2011  jruoho Sync with HEAD.
 1.1.1.1.16.2 21-Apr-2010  matt sync to netbsd-5
 1.1.1.1.16.1 11-Dec-2008  matt file ah_eeprom_v14.h was added on branch matt-nb5-mips64 on 2010-04-21 00:28:05 +0000
 1.1.1.1.14.1 05-Mar-2011  rmind sync with head
 1.1.1.1.10.2 07-Aug-2009  snj Apply patch (requested by jmcneill in ticket 775):
Update to the open source atheros HAL.
 1.1.1.1.10.1 11-Dec-2008  snj file ah_eeprom_v14.h was added on branch netbsd-5 on 2009-08-07 06:43:30 +0000
 1.1.1.1.8.2 04-May-2009  yamt sync with head.
 1.1.1.1.8.1 11-Dec-2008  yamt file ah_eeprom_v14.h was added on branch yamt-nfs-mp on 2009-05-04 08:13:37 +0000
 1.1.1.1.4.2 19-Jan-2009  skrll Sync with HEAD.
 1.1.1.1.4.1 11-Dec-2008  skrll file ah_eeprom_v14.h was added on branch nick-hppapmap on 2009-01-19 13:19:19 +0000
 1.1.1.1.2.2 17-Jan-2009  mjf Sync with HEAD.
 1.1.1.1.2.1 11-Dec-2008  mjf file ah_eeprom_v14.h was added on branch mjf-devfs2 on 2009-01-17 13:29:11 +0000
 1.5 13-Apr-2021  mrg use correct enum types for various functions.
 1.4 12-Sep-2013  martin branches: 1.4.44;
Remove unused maxPower_t4 variable.
 1.3 07-Mar-2011  cegger branches: 1.3.4; 1.3.14; 1.3.18;
Get improvements from FreeBSD-current (January 2011).
Successfully tested with WEP, WPA and WPA2 on AR9285.
Reviewed by jmcneill@
 1.2 11-Dec-2008  alc branches: 1.2.2; 1.2.4; 1.2.8; 1.2.10; 1.2.14; 1.2.16; 1.2.18;
Fix the build of the new HAL:

- constify link-set iterator
- do RF lookup only if any RF has been built
- fix global symbols shadowing
- const static -> static const
- don't redefine `uintptr_t'
- use `unsigned long' in __DECONST()
- fix AH_RF() macros
- __va_list -> va_list
- add missing struct trailing element
- add a few #ifdef AH_DEBUG block to avoid empty if() statement
- some other nits...
 1.1 11-Dec-2008  alc branches: 1.1.1;
Initial revision
 1.1.1.1 11-Dec-2008  alc Import Atheros HAL, from FreeBSD (revision 185521)
 1.2.18.1 06-Jun-2011  jruoho Sync with HEAD.
 1.2.16.2 21-Apr-2010  matt sync to netbsd-5
 1.2.16.1 11-Dec-2008  matt file ah_eeprom_v3.c was added on branch matt-nb5-mips64 on 2010-04-21 00:28:05 +0000
 1.2.14.1 21-Apr-2011  rmind sync with head
 1.2.10.2 07-Aug-2009  snj Apply patch (requested by jmcneill in ticket 775):
Update to the open source atheros HAL.
 1.2.10.1 11-Dec-2008  snj file ah_eeprom_v3.c was added on branch netbsd-5 on 2009-08-07 06:43:30 +0000
 1.2.8.2 04-May-2009  yamt sync with head.
 1.2.8.1 11-Dec-2008  yamt file ah_eeprom_v3.c was added on branch yamt-nfs-mp on 2009-05-04 08:13:37 +0000
 1.2.4.2 19-Jan-2009  skrll Sync with HEAD.
 1.2.4.1 11-Dec-2008  skrll file ah_eeprom_v3.c was added on branch nick-hppapmap on 2009-01-19 13:19:19 +0000
 1.2.2.2 17-Jan-2009  mjf Sync with HEAD.
 1.2.2.1 11-Dec-2008  mjf file ah_eeprom_v3.c was added on branch mjf-devfs2 on 2009-01-17 13:29:11 +0000
 1.3.18.1 18-May-2014  rmind sync with head
 1.3.14.1 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.3.4.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.4.44.1 17-Apr-2021  thorpej Sync with HEAD.
 1.1 11-Dec-2008  alc branches: 1.1.1;
Initial revision
 1.1.1.1 11-Dec-2008  alc branches: 1.1.1.1.2; 1.1.1.1.4; 1.1.1.1.8; 1.1.1.1.10; 1.1.1.1.16;
Import Atheros HAL, from FreeBSD (revision 185521)
 1.1.1.1.16.2 21-Apr-2010  matt sync to netbsd-5
 1.1.1.1.16.1 11-Dec-2008  matt file ah_eeprom_v3.h was added on branch matt-nb5-mips64 on 2010-04-21 00:28:05 +0000
 1.1.1.1.10.2 07-Aug-2009  snj Apply patch (requested by jmcneill in ticket 775):
Update to the open source atheros HAL.
 1.1.1.1.10.1 11-Dec-2008  snj file ah_eeprom_v3.h was added on branch netbsd-5 on 2009-08-07 06:43:30 +0000
 1.1.1.1.8.2 04-May-2009  yamt sync with head.
 1.1.1.1.8.1 11-Dec-2008  yamt file ah_eeprom_v3.h was added on branch yamt-nfs-mp on 2009-05-04 08:13:37 +0000
 1.1.1.1.4.2 19-Jan-2009  skrll Sync with HEAD.
 1.1.1.1.4.1 11-Dec-2008  skrll file ah_eeprom_v3.h was added on branch nick-hppapmap on 2009-01-19 13:19:19 +0000
 1.1.1.1.2.2 17-Jan-2009  mjf Sync with HEAD.
 1.1.1.1.2.1 11-Dec-2008  mjf file ah_eeprom_v3.h was added on branch mjf-devfs2 on 2009-01-17 13:29:11 +0000
 1.6 13-Apr-2021  mrg use correct enum types for various functions.
 1.5 12-Sep-2013  martin branches: 1.5.44;
Fix wrong for loop limit
 1.4 11-Dec-2012  msaitoh branches: 1.4.2;
Fix off by one read error.
 1.3 15-Mar-2012  bouyer branches: 1.3.2;
Revert previous; needs more work
 1.2 15-Mar-2012  bouyer Use the right marcro for loop bound, avoids read past array end. Found by
gcc -03
 1.1 20-Feb-2011  jmcneill branches: 1.1.2; 1.1.4; 1.1.8; 1.1.10; 1.1.16; 1.1.20;
add AR9280 support
 1.1.20.1 17-Dec-2012  riz Pull up following revision(s) (requested by msaitoh in ticket #754):
sys/external/isc/atheros_hal/dist/ah_eeprom_v14.c: revision 1.6
sys/external/isc/atheros_hal/dist/ah_eeprom_v4k.c: revision 1.4
Fix off by one read error.
 1.1.16.1 17-Dec-2012  riz Pull up following revision(s) (requested by msaitoh in ticket #754):
sys/external/isc/atheros_hal/dist/ah_eeprom_v14.c: revision 1.6
sys/external/isc/atheros_hal/dist/ah_eeprom_v4k.c: revision 1.4
Fix off by one read error.
 1.1.10.2 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.1.10.1 16-Jan-2013  yamt sync with (a bit old) head
 1.1.8.2 06-Jun-2011  jruoho Sync with HEAD.
 1.1.8.1 20-Feb-2011  jruoho file ah_eeprom_v4k.c was added on branch jruoho-x86intr on 2011-06-06 09:09:16 +0000
 1.1.4.2 05-Mar-2011  rmind sync with head
 1.1.4.1 20-Feb-2011  rmind file ah_eeprom_v4k.c was added on branch rmind-uvmplock on 2011-03-05 20:54:59 +0000
 1.1.2.2 05-Mar-2011  bouyer Sync with HEAD
 1.1.2.1 20-Feb-2011  bouyer file ah_eeprom_v4k.c was added on branch bouyer-quota2 on 2011-03-05 15:10:35 +0000
 1.3.2.2 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.3.2.1 25-Feb-2013  tls resync with head
 1.4.2.1 18-May-2014  rmind sync with head
 1.5.44.1 17-Apr-2021  thorpej Sync with HEAD.
 1.1 20-Feb-2011  jmcneill branches: 1.1.2; 1.1.4; 1.1.8;
add AR9280 support
 1.1.8.2 06-Jun-2011  jruoho Sync with HEAD.
 1.1.8.1 20-Feb-2011  jruoho file ah_eeprom_v4k.h was added on branch jruoho-x86intr on 2011-06-06 09:09:16 +0000
 1.1.4.2 05-Mar-2011  rmind sync with head
 1.1.4.1 20-Feb-2011  rmind file ah_eeprom_v4k.h was added on branch rmind-uvmplock on 2011-03-05 20:54:59 +0000
 1.1.2.2 05-Mar-2011  bouyer Sync with HEAD
 1.1.2.1 20-Feb-2011  bouyer file ah_eeprom_v4k.h was added on branch bouyer-quota2 on 2011-03-05 15:10:35 +0000
 1.6 07-Mar-2011  cegger Get improvements from FreeBSD-current (January 2011).
Successfully tested with WEP, WPA and WPA2 on AR9285.
Reviewed by jmcneill@
 1.5 20-Feb-2011  jmcneill add AR9280 support
 1.4 26-Jan-2011  dyoung Protect against a NULL pointer dereference that I've seen in the wild.
 1.3 14-May-2009  reinoud branches: 1.3.2; 1.3.6; 1.3.8; 1.3.10; 1.3.12;
Fix prototypes to match the functions. The prototypes had `int' specified for
parameters or result where they should have been the corresponding enums.

gcc won't bitch on them but conceptually they are different and could be
stored in a different width. Compiling with pcc brought this to light.
 1.2 11-Dec-2008  alc branches: 1.2.2; 1.2.4; 1.2.6; 1.2.8;
Fix the build of the new HAL:

- constify link-set iterator
- do RF lookup only if any RF has been built
- fix global symbols shadowing
- const static -> static const
- don't redefine `uintptr_t'
- use `unsigned long' in __DECONST()
- fix AH_RF() macros
- __va_list -> va_list
- add missing struct trailing element
- add a few #ifdef AH_DEBUG block to avoid empty if() statement
- some other nits...
 1.1 11-Dec-2008  alc branches: 1.1.1;
Initial revision
 1.1.1.1 11-Dec-2008  alc Import Atheros HAL, from FreeBSD (revision 185521)
 1.2.8.3 16-May-2009  yamt sync with head
 1.2.8.2 04-May-2009  yamt sync with head.
 1.2.8.1 11-Dec-2008  yamt file ah_internal.h was added on branch yamt-nfs-mp on 2009-05-04 08:13:37 +0000
 1.2.6.1 23-Jul-2009  jym Sync with HEAD.
 1.2.4.2 19-Jan-2009  skrll Sync with HEAD.
 1.2.4.1 11-Dec-2008  skrll file ah_internal.h was added on branch nick-hppapmap on 2009-01-19 13:19:19 +0000
 1.2.2.2 17-Jan-2009  mjf Sync with HEAD.
 1.2.2.1 11-Dec-2008  mjf file ah_internal.h was added on branch mjf-devfs2 on 2009-01-17 13:29:11 +0000
 1.3.12.2 05-Mar-2011  bouyer Sync with HEAD
 1.3.12.1 08-Feb-2011  bouyer Sync with HEAD
 1.3.10.1 06-Jun-2011  jruoho Sync with HEAD.
 1.3.8.2 21-Apr-2010  matt sync to netbsd-5
 1.3.8.1 14-May-2009  matt file ah_internal.h was added on branch matt-nb5-mips64 on 2010-04-21 00:28:05 +0000
 1.3.6.2 21-Apr-2011  rmind sync with head
 1.3.6.1 05-Mar-2011  rmind sync with head
 1.3.2.2 07-Aug-2009  snj Apply patch (requested by jmcneill in ticket 775):
Update to the open source atheros HAL.
 1.3.2.1 14-May-2009  snj file ah_internal.h was added on branch netbsd-5 on 2009-08-07 06:43:30 +0000
 1.2 11-Dec-2008  alc branches: 1.2.2; 1.2.4; 1.2.8; 1.2.10; 1.2.16;
Fix the build of the new HAL:

- constify link-set iterator
- do RF lookup only if any RF has been built
- fix global symbols shadowing
- const static -> static const
- don't redefine `uintptr_t'
- use `unsigned long' in __DECONST()
- fix AH_RF() macros
- __va_list -> va_list
- add missing struct trailing element
- add a few #ifdef AH_DEBUG block to avoid empty if() statement
- some other nits...
 1.1 11-Dec-2008  alc branches: 1.1.1;
Initial revision
 1.1.1.1 11-Dec-2008  alc Import Atheros HAL, from FreeBSD (revision 185521)
 1.2.16.2 21-Apr-2010  matt sync to netbsd-5
 1.2.16.1 11-Dec-2008  matt file ah_regdomain.c was added on branch matt-nb5-mips64 on 2010-04-21 00:28:05 +0000
 1.2.10.2 07-Aug-2009  snj Apply patch (requested by jmcneill in ticket 775):
Update to the open source atheros HAL.
 1.2.10.1 11-Dec-2008  snj file ah_regdomain.c was added on branch netbsd-5 on 2009-08-07 06:43:31 +0000
 1.2.8.2 04-May-2009  yamt sync with head.
 1.2.8.1 11-Dec-2008  yamt file ah_regdomain.c was added on branch yamt-nfs-mp on 2009-05-04 08:13:37 +0000
 1.2.4.2 19-Jan-2009  skrll Sync with HEAD.
 1.2.4.1 11-Dec-2008  skrll file ah_regdomain.c was added on branch nick-hppapmap on 2009-01-19 13:19:19 +0000
 1.2.2.2 17-Jan-2009  mjf Sync with HEAD.
 1.2.2.1 11-Dec-2008  mjf file ah_regdomain.c was added on branch mjf-devfs2 on 2009-01-17 13:29:11 +0000
 1.1 11-Dec-2008  alc branches: 1.1.1;
Initial revision
 1.1.1.1 11-Dec-2008  alc branches: 1.1.1.1.2; 1.1.1.1.4; 1.1.1.1.8; 1.1.1.1.10; 1.1.1.1.16;
Import Atheros HAL, from FreeBSD (revision 185521)
 1.1.1.1.16.2 21-Apr-2010  matt sync to netbsd-5
 1.1.1.1.16.1 11-Dec-2008  matt file ah_soc.h was added on branch matt-nb5-mips64 on 2010-04-21 00:28:05 +0000
 1.1.1.1.10.2 07-Aug-2009  snj Apply patch (requested by jmcneill in ticket 775):
Update to the open source atheros HAL.
 1.1.1.1.10.1 11-Dec-2008  snj file ah_soc.h was added on branch netbsd-5 on 2009-08-07 06:43:31 +0000
 1.1.1.1.8.2 04-May-2009  yamt sync with head.
 1.1.1.1.8.1 11-Dec-2008  yamt file ah_soc.h was added on branch yamt-nfs-mp on 2009-05-04 08:13:37 +0000
 1.1.1.1.4.2 19-Jan-2009  skrll Sync with HEAD.
 1.1.1.1.4.1 11-Dec-2008  skrll file ah_soc.h was added on branch nick-hppapmap on 2009-01-19 13:19:19 +0000
 1.1.1.1.2.2 17-Jan-2009  mjf Sync with HEAD.
 1.1.1.1.2.1 11-Dec-2008  mjf file ah_soc.h was added on branch mjf-devfs2 on 2009-01-17 13:29:11 +0000
 1.1 07-Aug-2009  snj branches: 1.1.2; 1.1.8;
file ar2133.c was initially added on branch netbsd-5.
 1.1.8.2 21-Apr-2010  matt sync to netbsd-5
 1.1.8.1 07-Aug-2009  matt file ar2133.c was added on branch matt-nb5-mips64 on 2010-04-21 00:28:05 +0000
 1.1.2.1 07-Aug-2009  snj Apply patch (requested by jmcneill in ticket 775):
Update to the open source atheros HAL.
 1.3 07-Mar-2011  cegger Get improvements from FreeBSD-current (January 2011).
Successfully tested with WEP, WPA and WPA2 on AR9285.
Reviewed by jmcneill@
 1.2 14-May-2009  reinoud branches: 1.2.2; 1.2.6; 1.2.8; 1.2.10;
Fix prototypes to match the functions. The prototypes had `int' specified for
parameters or result where they should have been the corresponding enums.

gcc won't bitch on them but conceptually they are different and could be
stored in a different width. Compiling with pcc brought this to light.
 1.1 11-Dec-2008  alc branches: 1.1.1;
Initial revision
 1.1.1.1 11-Dec-2008  alc branches: 1.1.1.1.2; 1.1.1.1.4; 1.1.1.1.6; 1.1.1.1.8;
Import Atheros HAL, from FreeBSD (revision 185521)
 1.1.1.1.8.3 16-May-2009  yamt sync with head
 1.1.1.1.8.2 04-May-2009  yamt sync with head.
 1.1.1.1.8.1 11-Dec-2008  yamt file ar5210.h was added on branch yamt-nfs-mp on 2009-05-04 08:13:37 +0000
 1.1.1.1.6.1 23-Jul-2009  jym Sync with HEAD.
 1.1.1.1.4.2 19-Jan-2009  skrll Sync with HEAD.
 1.1.1.1.4.1 11-Dec-2008  skrll file ar5210.h was added on branch nick-hppapmap on 2009-01-19 13:19:24 +0000
 1.1.1.1.2.2 17-Jan-2009  mjf Sync with HEAD.
 1.1.1.1.2.1 11-Dec-2008  mjf file ar5210.h was added on branch mjf-devfs2 on 2009-01-17 13:29:11 +0000
 1.2.10.1 06-Jun-2011  jruoho Sync with HEAD.
 1.2.8.2 21-Apr-2010  matt sync to netbsd-5
 1.2.8.1 14-May-2009  matt file ar5210.h was added on branch matt-nb5-mips64 on 2010-04-21 00:28:06 +0000
 1.2.6.1 21-Apr-2011  rmind sync with head
 1.2.2.2 07-Aug-2009  snj Apply patch (requested by jmcneill in ticket 775):
Update to the open source atheros HAL.
 1.2.2.1 14-May-2009  snj file ar5210.h was added on branch netbsd-5 on 2009-08-07 06:43:31 +0000
 1.3 07-Mar-2011  cegger Get improvements from FreeBSD-current (January 2011).
Successfully tested with WEP, WPA and WPA2 on AR9285.
Reviewed by jmcneill@
 1.2 20-Feb-2011  jmcneill add AR9280 support
 1.1 11-Dec-2008  alc branches: 1.1.1;
Initial revision
 1.1.1.1 11-Dec-2008  alc branches: 1.1.1.1.2; 1.1.1.1.4; 1.1.1.1.8; 1.1.1.1.10; 1.1.1.1.14; 1.1.1.1.16; 1.1.1.1.18; 1.1.1.1.20;
Import Atheros HAL, from FreeBSD (revision 185521)
 1.1.1.1.20.1 05-Mar-2011  bouyer Sync with HEAD
 1.1.1.1.18.1 06-Jun-2011  jruoho Sync with HEAD.
 1.1.1.1.16.2 21-Apr-2010  matt sync to netbsd-5
 1.1.1.1.16.1 11-Dec-2008  matt file ar5210_attach.c was added on branch matt-nb5-mips64 on 2010-04-21 00:28:06 +0000
 1.1.1.1.14.2 21-Apr-2011  rmind sync with head
 1.1.1.1.14.1 05-Mar-2011  rmind sync with head
 1.1.1.1.10.2 07-Aug-2009  snj Apply patch (requested by jmcneill in ticket 775):
Update to the open source atheros HAL.
 1.1.1.1.10.1 11-Dec-2008  snj file ar5210_attach.c was added on branch netbsd-5 on 2009-08-07 06:43:31 +0000
 1.1.1.1.8.2 04-May-2009  yamt sync with head.
 1.1.1.1.8.1 11-Dec-2008  yamt file ar5210_attach.c was added on branch yamt-nfs-mp on 2009-05-04 08:13:37 +0000
 1.1.1.1.4.2 19-Jan-2009  skrll Sync with HEAD.
 1.1.1.1.4.1 11-Dec-2008  skrll file ar5210_attach.c was added on branch nick-hppapmap on 2009-01-19 13:19:24 +0000
 1.1.1.1.2.2 17-Jan-2009  mjf Sync with HEAD.
 1.1.1.1.2.1 11-Dec-2008  mjf file ar5210_attach.c was added on branch mjf-devfs2 on 2009-01-17 13:29:12 +0000
 1.1 11-Dec-2008  alc branches: 1.1.1;
Initial revision
 1.1.1.1 11-Dec-2008  alc branches: 1.1.1.1.2; 1.1.1.1.4; 1.1.1.1.8; 1.1.1.1.10; 1.1.1.1.16;
Import Atheros HAL, from FreeBSD (revision 185521)
 1.1.1.1.16.2 21-Apr-2010  matt sync to netbsd-5
 1.1.1.1.16.1 11-Dec-2008  matt file ar5210_beacon.c was added on branch matt-nb5-mips64 on 2010-04-21 00:28:06 +0000
 1.1.1.1.10.2 07-Aug-2009  snj Apply patch (requested by jmcneill in ticket 775):
Update to the open source atheros HAL.
 1.1.1.1.10.1 11-Dec-2008  snj file ar5210_beacon.c was added on branch netbsd-5 on 2009-08-07 06:43:32 +0000
 1.1.1.1.8.2 04-May-2009  yamt sync with head.
 1.1.1.1.8.1 11-Dec-2008  yamt file ar5210_beacon.c was added on branch yamt-nfs-mp on 2009-05-04 08:13:37 +0000
 1.1.1.1.4.2 19-Jan-2009  skrll Sync with HEAD.
 1.1.1.1.4.1 11-Dec-2008  skrll file ar5210_beacon.c was added on branch nick-hppapmap on 2009-01-19 13:19:25 +0000
 1.1.1.1.2.2 17-Jan-2009  mjf Sync with HEAD.
 1.1.1.1.2.1 11-Dec-2008  mjf file ar5210_beacon.c was added on branch mjf-devfs2 on 2009-01-17 13:29:12 +0000
 1.2 07-Mar-2011  cegger Get improvements from FreeBSD-current (January 2011).
Successfully tested with WEP, WPA and WPA2 on AR9285.
Reviewed by jmcneill@
 1.1 11-Dec-2008  alc branches: 1.1.1;
Initial revision
 1.1.1.1 11-Dec-2008  alc branches: 1.1.1.1.2; 1.1.1.1.4; 1.1.1.1.8; 1.1.1.1.10; 1.1.1.1.14; 1.1.1.1.16; 1.1.1.1.18;
Import Atheros HAL, from FreeBSD (revision 185521)
 1.1.1.1.18.1 06-Jun-2011  jruoho Sync with HEAD.
 1.1.1.1.16.2 21-Apr-2010  matt sync to netbsd-5
 1.1.1.1.16.1 11-Dec-2008  matt file ar5210_interrupts.c was added on branch matt-nb5-mips64 on 2010-04-21 00:28:06 +0000
 1.1.1.1.14.1 21-Apr-2011  rmind sync with head
 1.1.1.1.10.2 07-Aug-2009  snj Apply patch (requested by jmcneill in ticket 775):
Update to the open source atheros HAL.
 1.1.1.1.10.1 11-Dec-2008  snj file ar5210_interrupts.c was added on branch netbsd-5 on 2009-08-07 06:43:32 +0000
 1.1.1.1.8.2 04-May-2009  yamt sync with head.
 1.1.1.1.8.1 11-Dec-2008  yamt file ar5210_interrupts.c was added on branch yamt-nfs-mp on 2009-05-04 08:13:38 +0000
 1.1.1.1.4.2 19-Jan-2009  skrll Sync with HEAD.
 1.1.1.1.4.1 11-Dec-2008  skrll file ar5210_interrupts.c was added on branch nick-hppapmap on 2009-01-19 13:19:25 +0000
 1.1.1.1.2.2 17-Jan-2009  mjf Sync with HEAD.
 1.1.1.1.2.1 11-Dec-2008  mjf file ar5210_interrupts.c was added on branch mjf-devfs2 on 2009-01-17 13:29:12 +0000
 1.1 11-Dec-2008  alc branches: 1.1.1;
Initial revision
 1.1.1.1 11-Dec-2008  alc branches: 1.1.1.1.2; 1.1.1.1.4; 1.1.1.1.8; 1.1.1.1.10; 1.1.1.1.16;
Import Atheros HAL, from FreeBSD (revision 185521)
 1.1.1.1.16.2 21-Apr-2010  matt sync to netbsd-5
 1.1.1.1.16.1 11-Dec-2008  matt file ar5210_keycache.c was added on branch matt-nb5-mips64 on 2010-04-21 00:28:06 +0000
 1.1.1.1.10.2 07-Aug-2009  snj Apply patch (requested by jmcneill in ticket 775):
Update to the open source atheros HAL.
 1.1.1.1.10.1 11-Dec-2008  snj file ar5210_keycache.c was added on branch netbsd-5 on 2009-08-07 06:43:32 +0000
 1.1.1.1.8.2 04-May-2009  yamt sync with head.
 1.1.1.1.8.1 11-Dec-2008  yamt file ar5210_keycache.c was added on branch yamt-nfs-mp on 2009-05-04 08:13:38 +0000
 1.1.1.1.4.2 19-Jan-2009  skrll Sync with HEAD.
 1.1.1.1.4.1 11-Dec-2008  skrll file ar5210_keycache.c was added on branch nick-hppapmap on 2009-01-19 13:19:25 +0000
 1.1.1.1.2.2 17-Jan-2009  mjf Sync with HEAD.
 1.1.1.1.2.1 11-Dec-2008  mjf file ar5210_keycache.c was added on branch mjf-devfs2 on 2009-01-17 13:29:12 +0000
 1.2 07-Mar-2011  cegger Get improvements from FreeBSD-current (January 2011).
Successfully tested with WEP, WPA and WPA2 on AR9285.
Reviewed by jmcneill@
 1.1 11-Dec-2008  alc branches: 1.1.1;
Initial revision
 1.1.1.1 11-Dec-2008  alc branches: 1.1.1.1.2; 1.1.1.1.4; 1.1.1.1.8; 1.1.1.1.10; 1.1.1.1.14; 1.1.1.1.16; 1.1.1.1.18;
Import Atheros HAL, from FreeBSD (revision 185521)
 1.1.1.1.18.1 06-Jun-2011  jruoho Sync with HEAD.
 1.1.1.1.16.2 21-Apr-2010  matt sync to netbsd-5
 1.1.1.1.16.1 11-Dec-2008  matt file ar5210_misc.c was added on branch matt-nb5-mips64 on 2010-04-21 00:28:06 +0000
 1.1.1.1.14.1 21-Apr-2011  rmind sync with head
 1.1.1.1.10.2 07-Aug-2009  snj Apply patch (requested by jmcneill in ticket 775):
Update to the open source atheros HAL.
 1.1.1.1.10.1 11-Dec-2008  snj file ar5210_misc.c was added on branch netbsd-5 on 2009-08-07 06:43:32 +0000
 1.1.1.1.8.2 04-May-2009  yamt sync with head.
 1.1.1.1.8.1 11-Dec-2008  yamt file ar5210_misc.c was added on branch yamt-nfs-mp on 2009-05-04 08:13:38 +0000
 1.1.1.1.4.2 19-Jan-2009  skrll Sync with HEAD.
 1.1.1.1.4.1 11-Dec-2008  skrll file ar5210_misc.c was added on branch nick-hppapmap on 2009-01-19 13:19:25 +0000
 1.1.1.1.2.2 17-Jan-2009  mjf Sync with HEAD.
 1.1.1.1.2.1 11-Dec-2008  mjf file ar5210_misc.c was added on branch mjf-devfs2 on 2009-01-17 13:29:12 +0000
 1.2 11-Dec-2008  alc branches: 1.2.2; 1.2.4; 1.2.8; 1.2.10; 1.2.16;
Fix the build of the new HAL:

- constify link-set iterator
- do RF lookup only if any RF has been built
- fix global symbols shadowing
- const static -> static const
- don't redefine `uintptr_t'
- use `unsigned long' in __DECONST()
- fix AH_RF() macros
- __va_list -> va_list
- add missing struct trailing element
- add a few #ifdef AH_DEBUG block to avoid empty if() statement
- some other nits...
 1.1 11-Dec-2008  alc branches: 1.1.1;
Initial revision
 1.1.1.1 11-Dec-2008  alc Import Atheros HAL, from FreeBSD (revision 185521)
 1.2.16.2 21-Apr-2010  matt sync to netbsd-5
 1.2.16.1 11-Dec-2008  matt file ar5210_phy.c was added on branch matt-nb5-mips64 on 2010-04-21 00:28:06 +0000
 1.2.10.2 07-Aug-2009  snj Apply patch (requested by jmcneill in ticket 775):
Update to the open source atheros HAL.
 1.2.10.1 11-Dec-2008  snj file ar5210_phy.c was added on branch netbsd-5 on 2009-08-07 06:43:32 +0000
 1.2.8.2 04-May-2009  yamt sync with head.
 1.2.8.1 11-Dec-2008  yamt file ar5210_phy.c was added on branch yamt-nfs-mp on 2009-05-04 08:13:38 +0000
 1.2.4.2 19-Jan-2009  skrll Sync with HEAD.
 1.2.4.1 11-Dec-2008  skrll file ar5210_phy.c was added on branch nick-hppapmap on 2009-01-19 13:19:25 +0000
 1.2.2.2 17-Jan-2009  mjf Sync with HEAD.
 1.2.2.1 11-Dec-2008  mjf file ar5210_phy.c was added on branch mjf-devfs2 on 2009-01-17 13:29:12 +0000
 1.1 11-Dec-2008  alc branches: 1.1.1;
Initial revision
 1.1.1.1 11-Dec-2008  alc branches: 1.1.1.1.2; 1.1.1.1.4; 1.1.1.1.8; 1.1.1.1.10; 1.1.1.1.16;
Import Atheros HAL, from FreeBSD (revision 185521)
 1.1.1.1.16.2 21-Apr-2010  matt sync to netbsd-5
 1.1.1.1.16.1 11-Dec-2008  matt file ar5210_power.c was added on branch matt-nb5-mips64 on 2010-04-21 00:28:06 +0000
 1.1.1.1.10.2 07-Aug-2009  snj Apply patch (requested by jmcneill in ticket 775):
Update to the open source atheros HAL.
 1.1.1.1.10.1 11-Dec-2008  snj file ar5210_power.c was added on branch netbsd-5 on 2009-08-07 06:43:32 +0000
 1.1.1.1.8.2 04-May-2009  yamt sync with head.
 1.1.1.1.8.1 11-Dec-2008  yamt file ar5210_power.c was added on branch yamt-nfs-mp on 2009-05-04 08:13:38 +0000
 1.1.1.1.4.2 19-Jan-2009  skrll Sync with HEAD.
 1.1.1.1.4.1 11-Dec-2008  skrll file ar5210_power.c was added on branch nick-hppapmap on 2009-01-19 13:19:25 +0000
 1.1.1.1.2.2 17-Jan-2009  mjf Sync with HEAD.
 1.1.1.1.2.1 11-Dec-2008  mjf file ar5210_power.c was added on branch mjf-devfs2 on 2009-01-17 13:29:12 +0000
 1.1 11-Dec-2008  alc branches: 1.1.1;
Initial revision
 1.1.1.1 11-Dec-2008  alc branches: 1.1.1.1.2; 1.1.1.1.4; 1.1.1.1.8; 1.1.1.1.10; 1.1.1.1.16;
Import Atheros HAL, from FreeBSD (revision 185521)
 1.1.1.1.16.2 21-Apr-2010  matt sync to netbsd-5
 1.1.1.1.16.1 11-Dec-2008  matt file ar5210_recv.c was added on branch matt-nb5-mips64 on 2010-04-21 00:28:06 +0000
 1.1.1.1.10.2 07-Aug-2009  snj Apply patch (requested by jmcneill in ticket 775):
Update to the open source atheros HAL.
 1.1.1.1.10.1 11-Dec-2008  snj file ar5210_recv.c was added on branch netbsd-5 on 2009-08-07 06:43:32 +0000
 1.1.1.1.8.2 04-May-2009  yamt sync with head.
 1.1.1.1.8.1 11-Dec-2008  yamt file ar5210_recv.c was added on branch yamt-nfs-mp on 2009-05-04 08:13:38 +0000
 1.1.1.1.4.2 19-Jan-2009  skrll Sync with HEAD.
 1.1.1.1.4.1 11-Dec-2008  skrll file ar5210_recv.c was added on branch nick-hppapmap on 2009-01-19 13:19:25 +0000
 1.1.1.1.2.2 17-Jan-2009  mjf Sync with HEAD.
 1.1.1.1.2.1 11-Dec-2008  mjf file ar5210_recv.c was added on branch mjf-devfs2 on 2009-01-17 13:29:12 +0000
 1.7 24-Nov-2015  jklos One too many parenthesis removed.
 1.6 23-Nov-2015  joerg Replace left shifts of negative values with appropiate unsigned values.
 1.5 07-Mar-2011  cegger branches: 1.5.14; 1.5.32;
Get improvements from FreeBSD-current (January 2011).
Successfully tested with WEP, WPA and WPA2 on AR9285.
Reviewed by jmcneill@
 1.4 06-Jan-2009  mrg branches: 1.4.2; 1.4.4; 1.4.8; 1.4.10; 1.4.14; 1.4.16; 1.4.18;
initialise some variables whined about by gcc -O3.
 1.3 13-Dec-2008  alc Restore a valid call to ath_hal_wait() and wrap the if() statement with curly bracket.

Fix build wrt the original HAL, prevent the next call to OS_REG_WRITE() to be skipped
if HALDEBUG() is not defined.

pointed out by <sam>
 1.2 11-Dec-2008  alc Fix the build of the new HAL:

- constify link-set iterator
- do RF lookup only if any RF has been built
- fix global symbols shadowing
- const static -> static const
- don't redefine `uintptr_t'
- use `unsigned long' in __DECONST()
- fix AH_RF() macros
- __va_list -> va_list
- add missing struct trailing element
- add a few #ifdef AH_DEBUG block to avoid empty if() statement
- some other nits...
 1.1 11-Dec-2008  alc branches: 1.1.1;
Initial revision
 1.1.1.1 11-Dec-2008  alc Import Atheros HAL, from FreeBSD (revision 185521)
 1.4.18.1 06-Jun-2011  jruoho Sync with HEAD.
 1.4.16.2 21-Apr-2010  matt sync to netbsd-5
 1.4.16.1 06-Jan-2009  matt file ar5210_reset.c was added on branch matt-nb5-mips64 on 2010-04-21 00:28:06 +0000
 1.4.14.1 21-Apr-2011  rmind sync with head
 1.4.10.2 07-Aug-2009  snj Apply patch (requested by jmcneill in ticket 775):
Update to the open source atheros HAL.
 1.4.10.1 06-Jan-2009  snj file ar5210_reset.c was added on branch netbsd-5 on 2009-08-07 06:43:33 +0000
 1.4.8.2 04-May-2009  yamt sync with head.
 1.4.8.1 06-Jan-2009  yamt file ar5210_reset.c was added on branch yamt-nfs-mp on 2009-05-04 08:13:38 +0000
 1.4.4.2 19-Jan-2009  skrll Sync with HEAD.
 1.4.4.1 06-Jan-2009  skrll file ar5210_reset.c was added on branch nick-hppapmap on 2009-01-19 13:19:25 +0000
 1.4.2.2 17-Jan-2009  mjf Sync with HEAD.
 1.4.2.1 06-Jan-2009  mjf file ar5210_reset.c was added on branch mjf-devfs2 on 2009-01-17 13:29:12 +0000
 1.5.32.1 27-Dec-2015  skrll Sync with HEAD (as of 26th Dec)
 1.5.14.1 03-Dec-2017  jdolecek update from HEAD
 1.2 23-Feb-2019  kamil Improve fallthrough statement wording

Fixes build with kUBSan on NetBSD/i386.
 1.1 11-Dec-2008  alc branches: 1.1.1;
Initial revision
 1.1.1.1 11-Dec-2008  alc branches: 1.1.1.1.2; 1.1.1.1.4; 1.1.1.1.8; 1.1.1.1.10; 1.1.1.1.16; 1.1.1.1.76;
Import Atheros HAL, from FreeBSD (revision 185521)
 1.1.1.1.76.1 10-Jun-2019  christos Sync with HEAD
 1.1.1.1.16.2 21-Apr-2010  matt sync to netbsd-5
 1.1.1.1.16.1 11-Dec-2008  matt file ar5210_xmit.c was added on branch matt-nb5-mips64 on 2010-04-21 00:28:06 +0000
 1.1.1.1.10.2 07-Aug-2009  snj Apply patch (requested by jmcneill in ticket 775):
Update to the open source atheros HAL.
 1.1.1.1.10.1 11-Dec-2008  snj file ar5210_xmit.c was added on branch netbsd-5 on 2009-08-07 06:43:33 +0000
 1.1.1.1.8.2 04-May-2009  yamt sync with head.
 1.1.1.1.8.1 11-Dec-2008  yamt file ar5210_xmit.c was added on branch yamt-nfs-mp on 2009-05-04 08:13:38 +0000
 1.1.1.1.4.2 19-Jan-2009  skrll Sync with HEAD.
 1.1.1.1.4.1 11-Dec-2008  skrll file ar5210_xmit.c was added on branch nick-hppapmap on 2009-01-19 13:19:25 +0000
 1.1.1.1.2.2 17-Jan-2009  mjf Sync with HEAD.
 1.1.1.1.2.1 11-Dec-2008  mjf file ar5210_xmit.c was added on branch mjf-devfs2 on 2009-01-17 13:29:12 +0000
 1.1 11-Dec-2008  alc branches: 1.1.1;
Initial revision
 1.1.1.1 11-Dec-2008  alc branches: 1.1.1.1.2; 1.1.1.1.4; 1.1.1.1.8; 1.1.1.1.10; 1.1.1.1.16;
Import Atheros HAL, from FreeBSD (revision 185521)
 1.1.1.1.16.2 21-Apr-2010  matt sync to netbsd-5
 1.1.1.1.16.1 11-Dec-2008  matt file ar5210desc.h was added on branch matt-nb5-mips64 on 2010-04-21 00:28:06 +0000
 1.1.1.1.10.2 07-Aug-2009  snj Apply patch (requested by jmcneill in ticket 775):
Update to the open source atheros HAL.
 1.1.1.1.10.1 11-Dec-2008  snj file ar5210desc.h was added on branch netbsd-5 on 2009-08-07 06:43:33 +0000
 1.1.1.1.8.2 04-May-2009  yamt sync with head.
 1.1.1.1.8.1 11-Dec-2008  yamt file ar5210desc.h was added on branch yamt-nfs-mp on 2009-05-04 08:13:38 +0000
 1.1.1.1.4.2 19-Jan-2009  skrll Sync with HEAD.
 1.1.1.1.4.1 11-Dec-2008  skrll file ar5210desc.h was added on branch nick-hppapmap on 2009-01-19 13:19:25 +0000
 1.1.1.1.2.2 17-Jan-2009  mjf Sync with HEAD.
 1.1.1.1.2.1 11-Dec-2008  mjf file ar5210desc.h was added on branch mjf-devfs2 on 2009-01-17 13:29:12 +0000
 1.1 11-Dec-2008  alc branches: 1.1.1;
Initial revision
 1.1.1.1 11-Dec-2008  alc branches: 1.1.1.1.2; 1.1.1.1.4; 1.1.1.1.8; 1.1.1.1.10; 1.1.1.1.16;
Import Atheros HAL, from FreeBSD (revision 185521)
 1.1.1.1.16.2 21-Apr-2010  matt sync to netbsd-5
 1.1.1.1.16.1 11-Dec-2008  matt file ar5210phy.h was added on branch matt-nb5-mips64 on 2010-04-21 00:28:06 +0000
 1.1.1.1.10.2 07-Aug-2009  snj Apply patch (requested by jmcneill in ticket 775):
Update to the open source atheros HAL.
 1.1.1.1.10.1 11-Dec-2008  snj file ar5210phy.h was added on branch netbsd-5 on 2009-08-07 06:43:33 +0000
 1.1.1.1.8.2 04-May-2009  yamt sync with head.
 1.1.1.1.8.1 11-Dec-2008  yamt file ar5210phy.h was added on branch yamt-nfs-mp on 2009-05-04 08:13:38 +0000
 1.1.1.1.4.2 19-Jan-2009  skrll Sync with HEAD.
 1.1.1.1.4.1 11-Dec-2008  skrll file ar5210phy.h was added on branch nick-hppapmap on 2009-01-19 13:19:25 +0000
 1.1.1.1.2.2 17-Jan-2009  mjf Sync with HEAD.
 1.1.1.1.2.1 11-Dec-2008  mjf file ar5210phy.h was added on branch mjf-devfs2 on 2009-01-17 13:29:12 +0000
 1.3 03-Aug-2014  wiz defintion -> definition
 1.2 30-May-2011  joerg branches: 1.2.14; 1.2.28;
Define a few macros as unsigned to avoid UB when later shifting them
in ways that involve integer overflow.
 1.1 11-Dec-2008  alc branches: 1.1.1;
Initial revision
 1.1.1.1 11-Dec-2008  alc branches: 1.1.1.1.2; 1.1.1.1.4; 1.1.1.1.8; 1.1.1.1.10; 1.1.1.1.14; 1.1.1.1.16; 1.1.1.1.18;
Import Atheros HAL, from FreeBSD (revision 185521)
 1.1.1.1.18.1 06-Jun-2011  jruoho Sync with HEAD.
 1.1.1.1.16.2 21-Apr-2010  matt sync to netbsd-5
 1.1.1.1.16.1 11-Dec-2008  matt file ar5210reg.h was added on branch matt-nb5-mips64 on 2010-04-21 00:28:06 +0000
 1.1.1.1.14.1 31-May-2011  rmind sync with head
 1.1.1.1.10.2 07-Aug-2009  snj Apply patch (requested by jmcneill in ticket 775):
Update to the open source atheros HAL.
 1.1.1.1.10.1 11-Dec-2008  snj file ar5210reg.h was added on branch netbsd-5 on 2009-08-07 06:43:33 +0000
 1.1.1.1.8.2 04-May-2009  yamt sync with head.
 1.1.1.1.8.1 11-Dec-2008  yamt file ar5210reg.h was added on branch yamt-nfs-mp on 2009-05-04 08:13:38 +0000
 1.1.1.1.4.2 19-Jan-2009  skrll Sync with HEAD.
 1.1.1.1.4.1 11-Dec-2008  skrll file ar5210reg.h was added on branch nick-hppapmap on 2009-01-19 13:19:25 +0000
 1.1.1.1.2.2 17-Jan-2009  mjf Sync with HEAD.
 1.1.1.1.2.1 11-Dec-2008  mjf file ar5210reg.h was added on branch mjf-devfs2 on 2009-01-17 13:29:12 +0000
 1.2.28.1 10-Aug-2014  tls Rebase.
 1.2.14.1 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.1 07-Aug-2009  snj branches: 1.1.2; 1.1.8;
file ar5416.h was initially added on branch netbsd-5.
 1.1.8.2 21-Apr-2010  matt sync to netbsd-5
 1.1.8.1 07-Aug-2009  matt file ar5416.h was added on branch matt-nb5-mips64 on 2010-04-21 00:28:06 +0000
 1.1.2.1 07-Aug-2009  snj Apply patch (requested by jmcneill in ticket 775):
Update to the open source atheros HAL.
 1.1 07-Aug-2009  snj branches: 1.1.2; 1.1.8;
file ar5416.ini was initially added on branch netbsd-5.
 1.1.8.2 21-Apr-2010  matt sync to netbsd-5
 1.1.8.1 07-Aug-2009  matt file ar5416.ini was added on branch matt-nb5-mips64 on 2010-04-21 00:28:06 +0000
 1.1.2.1 07-Aug-2009  snj Apply patch (requested by jmcneill in ticket 775):
Update to the open source atheros HAL.
 1.1 07-Aug-2009  snj branches: 1.1.2; 1.1.8;
file ar5416_ani.c was initially added on branch netbsd-5.
 1.1.8.2 21-Apr-2010  matt sync to netbsd-5
 1.1.8.1 07-Aug-2009  matt file ar5416_ani.c was added on branch matt-nb5-mips64 on 2010-04-21 00:28:06 +0000
 1.1.2.1 07-Aug-2009  snj Apply patch (requested by jmcneill in ticket 775):
Update to the open source atheros HAL.
 1.1 07-Aug-2009  snj branches: 1.1.2; 1.1.8;
file ar5416_attach.c was initially added on branch netbsd-5.
 1.1.8.2 21-Apr-2010  matt sync to netbsd-5
 1.1.8.1 07-Aug-2009  matt file ar5416_attach.c was added on branch matt-nb5-mips64 on 2010-04-21 00:28:06 +0000
 1.1.2.1 07-Aug-2009  snj Apply patch (requested by jmcneill in ticket 775):
Update to the open source atheros HAL.
 1.1 07-Aug-2009  snj branches: 1.1.2; 1.1.8;
file ar5416_beacon.c was initially added on branch netbsd-5.
 1.1.8.2 21-Apr-2010  matt sync to netbsd-5
 1.1.8.1 07-Aug-2009  matt file ar5416_beacon.c was added on branch matt-nb5-mips64 on 2010-04-21 00:28:06 +0000
 1.1.2.1 07-Aug-2009  snj Apply patch (requested by jmcneill in ticket 775):
Update to the open source atheros HAL.
 1.1 07-Aug-2009  snj branches: 1.1.2; 1.1.8;
file ar5416_cal.c was initially added on branch netbsd-5.
 1.1.8.2 21-Apr-2010  matt sync to netbsd-5
 1.1.8.1 07-Aug-2009  matt file ar5416_cal.c was added on branch matt-nb5-mips64 on 2010-04-21 00:28:06 +0000
 1.1.2.1 07-Aug-2009  snj Apply patch (requested by jmcneill in ticket 775):
Update to the open source atheros HAL.
 1.1 07-Aug-2009  snj branches: 1.1.2; 1.1.8;
file ar5416_cal.h was initially added on branch netbsd-5.
 1.1.8.2 21-Apr-2010  matt sync to netbsd-5
 1.1.8.1 07-Aug-2009  matt file ar5416_cal.h was added on branch matt-nb5-mips64 on 2010-04-21 00:28:06 +0000
 1.1.2.1 07-Aug-2009  snj Apply patch (requested by jmcneill in ticket 775):
Update to the open source atheros HAL.
 1.1 07-Aug-2009  snj branches: 1.1.2; 1.1.8;
file ar5416_cal_adcdc.c was initially added on branch netbsd-5.
 1.1.8.2 21-Apr-2010  matt sync to netbsd-5
 1.1.8.1 07-Aug-2009  matt file ar5416_cal_adcdc.c was added on branch matt-nb5-mips64 on 2010-04-21 00:28:06 +0000
 1.1.2.1 07-Aug-2009  snj Apply patch (requested by jmcneill in ticket 775):
Update to the open source atheros HAL.
 1.1 07-Aug-2009  snj branches: 1.1.2; 1.1.8;
file ar5416_cal_adcgain.c was initially added on branch netbsd-5.
 1.1.8.2 21-Apr-2010  matt sync to netbsd-5
 1.1.8.1 07-Aug-2009  matt file ar5416_cal_adcgain.c was added on branch matt-nb5-mips64 on 2010-04-21 00:28:06 +0000
 1.1.2.1 07-Aug-2009  snj Apply patch (requested by jmcneill in ticket 775):
Update to the open source atheros HAL.
 1.1 07-Aug-2009  snj branches: 1.1.2; 1.1.8;
file ar5416_cal_iq.c was initially added on branch netbsd-5.
 1.1.8.2 21-Apr-2010  matt sync to netbsd-5
 1.1.8.1 07-Aug-2009  matt file ar5416_cal_iq.c was added on branch matt-nb5-mips64 on 2010-04-21 00:28:06 +0000
 1.1.2.1 07-Aug-2009  snj Apply patch (requested by jmcneill in ticket 775):
Update to the open source atheros HAL.
 1.1 07-Aug-2009  snj branches: 1.1.2; 1.1.8;
file ar5416_eeprom.c was initially added on branch netbsd-5.
 1.1.8.2 21-Apr-2010  matt sync to netbsd-5
 1.1.8.1 07-Aug-2009  matt file ar5416_eeprom.c was added on branch matt-nb5-mips64 on 2010-04-21 00:28:07 +0000
 1.1.2.1 07-Aug-2009  snj Apply patch (requested by jmcneill in ticket 775):
Update to the open source atheros HAL.
 1.1 07-Aug-2009  snj branches: 1.1.2; 1.1.8;
file ar5416_gpio.c was initially added on branch netbsd-5.
 1.1.8.2 21-Apr-2010  matt sync to netbsd-5
 1.1.8.1 07-Aug-2009  matt file ar5416_gpio.c was added on branch matt-nb5-mips64 on 2010-04-21 00:28:07 +0000
 1.1.2.1 07-Aug-2009  snj Apply patch (requested by jmcneill in ticket 775):
Update to the open source atheros HAL.
 1.1 07-Aug-2009  snj branches: 1.1.2; 1.1.8;
file ar5416_interrupts.c was initially added on branch netbsd-5.
 1.1.8.2 21-Apr-2010  matt sync to netbsd-5
 1.1.8.1 07-Aug-2009  matt file ar5416_interrupts.c was added on branch matt-nb5-mips64 on 2010-04-21 00:28:07 +0000
 1.1.2.1 07-Aug-2009  snj Apply patch (requested by jmcneill in ticket 775):
Update to the open source atheros HAL.
 1.1 07-Aug-2009  snj branches: 1.1.2; 1.1.8;
file ar5416_keycache.c was initially added on branch netbsd-5.
 1.1.8.2 21-Apr-2010  matt sync to netbsd-5
 1.1.8.1 07-Aug-2009  matt file ar5416_keycache.c was added on branch matt-nb5-mips64 on 2010-04-21 00:28:07 +0000
 1.1.2.1 07-Aug-2009  snj Apply patch (requested by jmcneill in ticket 775):
Update to the open source atheros HAL.
 1.1 07-Aug-2009  snj branches: 1.1.2; 1.1.8;
file ar5416_misc.c was initially added on branch netbsd-5.
 1.1.8.2 21-Apr-2010  matt sync to netbsd-5
 1.1.8.1 07-Aug-2009  matt file ar5416_misc.c was added on branch matt-nb5-mips64 on 2010-04-21 00:28:07 +0000
 1.1.2.1 07-Aug-2009  snj Apply patch (requested by jmcneill in ticket 775):
Update to the open source atheros HAL.
 1.1 07-Aug-2009  snj branches: 1.1.2; 1.1.8;
file ar5416_phy.c was initially added on branch netbsd-5.
 1.1.8.2 21-Apr-2010  matt sync to netbsd-5
 1.1.8.1 07-Aug-2009  matt file ar5416_phy.c was added on branch matt-nb5-mips64 on 2010-04-21 00:28:07 +0000
 1.1.2.1 07-Aug-2009  snj Apply patch (requested by jmcneill in ticket 775):
Update to the open source atheros HAL.
 1.1 07-Aug-2009  snj branches: 1.1.2; 1.1.8;
file ar5416_power.c was initially added on branch netbsd-5.
 1.1.8.2 21-Apr-2010  matt sync to netbsd-5
 1.1.8.1 07-Aug-2009  matt file ar5416_power.c was added on branch matt-nb5-mips64 on 2010-04-21 00:28:07 +0000
 1.1.2.1 07-Aug-2009  snj Apply patch (requested by jmcneill in ticket 775):
Update to the open source atheros HAL.
 1.1 07-Aug-2009  snj branches: 1.1.2; 1.1.8;
file ar5416_recv.c was initially added on branch netbsd-5.
 1.1.8.2 21-Apr-2010  matt sync to netbsd-5
 1.1.8.1 07-Aug-2009  matt file ar5416_recv.c was added on branch matt-nb5-mips64 on 2010-04-21 00:28:07 +0000
 1.1.2.1 07-Aug-2009  snj Apply patch (requested by jmcneill in ticket 775):
Update to the open source atheros HAL.
 1.1 07-Aug-2009  snj branches: 1.1.2; 1.1.8;
file ar5416_reset.c was initially added on branch netbsd-5.
 1.1.8.2 21-Apr-2010  matt sync to netbsd-5
 1.1.8.1 07-Aug-2009  matt file ar5416_reset.c was added on branch matt-nb5-mips64 on 2010-04-21 00:28:07 +0000
 1.1.2.1 07-Aug-2009  snj Apply patch (requested by jmcneill in ticket 775):
Update to the open source atheros HAL.
 1.1 07-Aug-2009  snj branches: 1.1.2; 1.1.8;
file ar5416_xmit.c was initially added on branch netbsd-5.
 1.1.8.2 21-Apr-2010  matt sync to netbsd-5
 1.1.8.1 07-Aug-2009  matt file ar5416_xmit.c was added on branch matt-nb5-mips64 on 2010-04-21 00:28:07 +0000
 1.1.2.1 07-Aug-2009  snj Apply patch (requested by jmcneill in ticket 775):
Update to the open source atheros HAL.
 1.1 07-Aug-2009  snj branches: 1.1.2; 1.1.8;
file ar5416desc.h was initially added on branch netbsd-5.
 1.1.8.2 21-Apr-2010  matt sync to netbsd-5
 1.1.8.1 07-Aug-2009  matt file ar5416desc.h was added on branch matt-nb5-mips64 on 2010-04-21 00:28:07 +0000
 1.1.2.1 07-Aug-2009  snj Apply patch (requested by jmcneill in ticket 775):
Update to the open source atheros HAL.
 1.1 07-Aug-2009  snj branches: 1.1.2; 1.1.8;
file ar5416phy.h was initially added on branch netbsd-5.
 1.1.8.2 21-Apr-2010  matt sync to netbsd-5
 1.1.8.1 07-Aug-2009  matt file ar5416phy.h was added on branch matt-nb5-mips64 on 2010-04-21 00:28:07 +0000
 1.1.2.1 07-Aug-2009  snj Apply patch (requested by jmcneill in ticket 775):
Update to the open source atheros HAL.
 1.1 07-Aug-2009  snj branches: 1.1.2; 1.1.8;
file ar5416reg.h was initially added on branch netbsd-5.
 1.1.8.2 21-Apr-2010  matt sync to netbsd-5
 1.1.8.1 07-Aug-2009  matt file ar5416reg.h was added on branch matt-nb5-mips64 on 2010-04-21 00:28:07 +0000
 1.1.2.1 07-Aug-2009  snj Apply patch (requested by jmcneill in ticket 775):
Update to the open source atheros HAL.
 1.1 11-Dec-2008  alc branches: 1.1.1;
Initial revision
 1.1.1.1 11-Dec-2008  alc branches: 1.1.1.1.2; 1.1.1.1.4; 1.1.1.1.8; 1.1.1.1.10; 1.1.1.1.16;
Import Atheros HAL, from FreeBSD (revision 185521)
 1.1.1.1.16.2 21-Apr-2010  matt sync to netbsd-5
 1.1.1.1.16.1 11-Dec-2008  matt file ar5k_0007.ini was added on branch matt-nb5-mips64 on 2010-04-21 00:28:07 +0000
 1.1.1.1.10.2 07-Aug-2009  snj Apply patch (requested by jmcneill in ticket 775):
Update to the open source atheros HAL.
 1.1.1.1.10.1 11-Dec-2008  snj file ar5k_0007.ini was added on branch netbsd-5 on 2009-08-07 06:43:36 +0000
 1.1.1.1.8.2 04-May-2009  yamt sync with head.
 1.1.1.1.8.1 11-Dec-2008  yamt file ar5k_0007.ini was added on branch yamt-nfs-mp on 2009-05-04 08:13:38 +0000
 1.1.1.1.4.2 19-Jan-2009  skrll Sync with HEAD.
 1.1.1.1.4.1 11-Dec-2008  skrll file ar5k_0007.ini was added on branch nick-hppapmap on 2009-01-19 13:19:25 +0000
 1.1.1.1.2.2 17-Jan-2009  mjf Sync with HEAD.
 1.1.1.1.2.1 11-Dec-2008  mjf file ar5k_0007.ini was added on branch mjf-devfs2 on 2009-01-17 13:29:12 +0000
 1.1 07-Aug-2009  snj branches: 1.1.2; 1.1.8;
file ar9160.ini was initially added on branch netbsd-5.
 1.1.8.2 21-Apr-2010  matt sync to netbsd-5
 1.1.8.1 07-Aug-2009  matt file ar9160.ini was added on branch matt-nb5-mips64 on 2010-04-21 00:28:07 +0000
 1.1.2.1 07-Aug-2009  snj Apply patch (requested by jmcneill in ticket 775):
Update to the open source atheros HAL.
 1.1 07-Aug-2009  snj branches: 1.1.2; 1.1.8;
file ar9160_attach.c was initially added on branch netbsd-5.
 1.1.8.2 21-Apr-2010  matt sync to netbsd-5
 1.1.8.1 07-Aug-2009  matt file ar9160_attach.c was added on branch matt-nb5-mips64 on 2010-04-21 00:28:07 +0000
 1.1.2.1 07-Aug-2009  snj Apply patch (requested by jmcneill in ticket 775):
Update to the open source atheros HAL.
 1.3 07-Mar-2011  cegger Get improvements from FreeBSD-current (January 2011).
Successfully tested with WEP, WPA and WPA2 on AR9285.
Reviewed by jmcneill@
 1.2 14-May-2009  reinoud branches: 1.2.2; 1.2.6; 1.2.8; 1.2.10;
Fix prototypes to match the functions. The prototypes had `int' specified for
parameters or result where they should have been the corresponding enums.

gcc won't bitch on them but conceptually they are different and could be
stored in a different width. Compiling with pcc brought this to light.
 1.1 11-Dec-2008  alc branches: 1.1.1;
Initial revision
 1.1.1.1 11-Dec-2008  alc branches: 1.1.1.1.2; 1.1.1.1.4; 1.1.1.1.6; 1.1.1.1.8;
Import Atheros HAL, from FreeBSD (revision 185521)
 1.1.1.1.8.3 16-May-2009  yamt sync with head
 1.1.1.1.8.2 04-May-2009  yamt sync with head.
 1.1.1.1.8.1 11-Dec-2008  yamt file ar5211.h was added on branch yamt-nfs-mp on 2009-05-04 08:13:38 +0000
 1.1.1.1.6.1 23-Jul-2009  jym Sync with HEAD.
 1.1.1.1.4.2 19-Jan-2009  skrll Sync with HEAD.
 1.1.1.1.4.1 11-Dec-2008  skrll file ar5211.h was added on branch nick-hppapmap on 2009-01-19 13:19:25 +0000
 1.1.1.1.2.2 17-Jan-2009  mjf Sync with HEAD.
 1.1.1.1.2.1 11-Dec-2008  mjf file ar5211.h was added on branch mjf-devfs2 on 2009-01-17 13:29:12 +0000
 1.2.10.1 06-Jun-2011  jruoho Sync with HEAD.
 1.2.8.2 21-Apr-2010  matt sync to netbsd-5
 1.2.8.1 14-May-2009  matt file ar5211.h was added on branch matt-nb5-mips64 on 2010-04-21 00:28:07 +0000
 1.2.6.1 21-Apr-2011  rmind sync with head
 1.2.2.2 07-Aug-2009  snj Apply patch (requested by jmcneill in ticket 775):
Update to the open source atheros HAL.
 1.2.2.1 14-May-2009  snj file ar5211.h was added on branch netbsd-5 on 2009-08-07 06:43:37 +0000
 1.3 07-Mar-2011  cegger Get improvements from FreeBSD-current (January 2011).
Successfully tested with WEP, WPA and WPA2 on AR9285.
Reviewed by jmcneill@
 1.2 20-Feb-2011  jmcneill add AR9280 support
 1.1 11-Dec-2008  alc branches: 1.1.1;
Initial revision
 1.1.1.1 11-Dec-2008  alc branches: 1.1.1.1.2; 1.1.1.1.4; 1.1.1.1.8; 1.1.1.1.10; 1.1.1.1.14; 1.1.1.1.16; 1.1.1.1.18; 1.1.1.1.20;
Import Atheros HAL, from FreeBSD (revision 185521)
 1.1.1.1.20.1 05-Mar-2011  bouyer Sync with HEAD
 1.1.1.1.18.1 06-Jun-2011  jruoho Sync with HEAD.
 1.1.1.1.16.2 21-Apr-2010  matt sync to netbsd-5
 1.1.1.1.16.1 11-Dec-2008  matt file ar5211_attach.c was added on branch matt-nb5-mips64 on 2010-04-21 00:28:07 +0000
 1.1.1.1.14.2 21-Apr-2011  rmind sync with head
 1.1.1.1.14.1 05-Mar-2011  rmind sync with head
 1.1.1.1.10.2 07-Aug-2009  snj Apply patch (requested by jmcneill in ticket 775):
Update to the open source atheros HAL.
 1.1.1.1.10.1 11-Dec-2008  snj file ar5211_attach.c was added on branch netbsd-5 on 2009-08-07 06:43:37 +0000
 1.1.1.1.8.2 04-May-2009  yamt sync with head.
 1.1.1.1.8.1 11-Dec-2008  yamt file ar5211_attach.c was added on branch yamt-nfs-mp on 2009-05-04 08:13:38 +0000
 1.1.1.1.4.2 19-Jan-2009  skrll Sync with HEAD.
 1.1.1.1.4.1 11-Dec-2008  skrll file ar5211_attach.c was added on branch nick-hppapmap on 2009-01-19 13:19:25 +0000
 1.1.1.1.2.2 17-Jan-2009  mjf Sync with HEAD.
 1.1.1.1.2.1 11-Dec-2008  mjf file ar5211_attach.c was added on branch mjf-devfs2 on 2009-01-17 13:29:12 +0000
 1.2 06-Jan-2009  mrg branches: 1.2.2; 1.2.4; 1.2.8; 1.2.10; 1.2.16;
initialise some variables whined about by gcc -O3.
 1.1 11-Dec-2008  alc branches: 1.1.1;
Initial revision
 1.1.1.1 11-Dec-2008  alc Import Atheros HAL, from FreeBSD (revision 185521)
 1.2.16.2 21-Apr-2010  matt sync to netbsd-5
 1.2.16.1 06-Jan-2009  matt file ar5211_beacon.c was added on branch matt-nb5-mips64 on 2010-04-21 00:28:07 +0000
 1.2.10.2 07-Aug-2009  snj Apply patch (requested by jmcneill in ticket 775):
Update to the open source atheros HAL.
 1.2.10.1 06-Jan-2009  snj file ar5211_beacon.c was added on branch netbsd-5 on 2009-08-07 06:43:37 +0000
 1.2.8.2 04-May-2009  yamt sync with head.
 1.2.8.1 06-Jan-2009  yamt file ar5211_beacon.c was added on branch yamt-nfs-mp on 2009-05-04 08:13:38 +0000
 1.2.4.2 19-Jan-2009  skrll Sync with HEAD.
 1.2.4.1 06-Jan-2009  skrll file ar5211_beacon.c was added on branch nick-hppapmap on 2009-01-19 13:19:25 +0000
 1.2.2.2 17-Jan-2009  mjf Sync with HEAD.
 1.2.2.1 06-Jan-2009  mjf file ar5211_beacon.c was added on branch mjf-devfs2 on 2009-01-17 13:29:12 +0000
 1.1 11-Dec-2008  alc branches: 1.1.1;
Initial revision
 1.1.1.1 11-Dec-2008  alc branches: 1.1.1.1.2; 1.1.1.1.4; 1.1.1.1.8; 1.1.1.1.10; 1.1.1.1.16;
Import Atheros HAL, from FreeBSD (revision 185521)
 1.1.1.1.16.2 21-Apr-2010  matt sync to netbsd-5
 1.1.1.1.16.1 11-Dec-2008  matt file ar5211_interrupts.c was added on branch matt-nb5-mips64 on 2010-04-21 00:28:07 +0000
 1.1.1.1.10.2 07-Aug-2009  snj Apply patch (requested by jmcneill in ticket 775):
Update to the open source atheros HAL.
 1.1.1.1.10.1 11-Dec-2008  snj file ar5211_interrupts.c was added on branch netbsd-5 on 2009-08-07 06:43:37 +0000
 1.1.1.1.8.2 04-May-2009  yamt sync with head.
 1.1.1.1.8.1 11-Dec-2008  yamt file ar5211_interrupts.c was added on branch yamt-nfs-mp on 2009-05-04 08:13:38 +0000
 1.1.1.1.4.2 19-Jan-2009  skrll Sync with HEAD.
 1.1.1.1.4.1 11-Dec-2008  skrll file ar5211_interrupts.c was added on branch nick-hppapmap on 2009-01-19 13:19:25 +0000
 1.1.1.1.2.2 17-Jan-2009  mjf Sync with HEAD.
 1.1.1.1.2.1 11-Dec-2008  mjf file ar5211_interrupts.c was added on branch mjf-devfs2 on 2009-01-17 13:29:12 +0000
 1.1 11-Dec-2008  alc branches: 1.1.1;
Initial revision
 1.1.1.1 11-Dec-2008  alc branches: 1.1.1.1.2; 1.1.1.1.4; 1.1.1.1.8; 1.1.1.1.10; 1.1.1.1.16;
Import Atheros HAL, from FreeBSD (revision 185521)
 1.1.1.1.16.2 21-Apr-2010  matt sync to netbsd-5
 1.1.1.1.16.1 11-Dec-2008  matt file ar5211_keycache.c was added on branch matt-nb5-mips64 on 2010-04-21 00:28:07 +0000
 1.1.1.1.10.2 07-Aug-2009  snj Apply patch (requested by jmcneill in ticket 775):
Update to the open source atheros HAL.
 1.1.1.1.10.1 11-Dec-2008  snj file ar5211_keycache.c was added on branch netbsd-5 on 2009-08-07 06:43:37 +0000
 1.1.1.1.8.2 04-May-2009  yamt sync with head.
 1.1.1.1.8.1 11-Dec-2008  yamt file ar5211_keycache.c was added on branch yamt-nfs-mp on 2009-05-04 08:13:38 +0000
 1.1.1.1.4.2 19-Jan-2009  skrll Sync with HEAD.
 1.1.1.1.4.1 11-Dec-2008  skrll file ar5211_keycache.c was added on branch nick-hppapmap on 2009-01-19 13:19:25 +0000
 1.1.1.1.2.2 17-Jan-2009  mjf Sync with HEAD.
 1.1.1.1.2.1 11-Dec-2008  mjf file ar5211_keycache.c was added on branch mjf-devfs2 on 2009-01-17 13:29:12 +0000
 1.2 07-Mar-2011  cegger Get improvements from FreeBSD-current (January 2011).
Successfully tested with WEP, WPA and WPA2 on AR9285.
Reviewed by jmcneill@
 1.1 11-Dec-2008  alc branches: 1.1.1;
Initial revision
 1.1.1.1 11-Dec-2008  alc branches: 1.1.1.1.2; 1.1.1.1.4; 1.1.1.1.8; 1.1.1.1.10; 1.1.1.1.14; 1.1.1.1.16; 1.1.1.1.18;
Import Atheros HAL, from FreeBSD (revision 185521)
 1.1.1.1.18.1 06-Jun-2011  jruoho Sync with HEAD.
 1.1.1.1.16.2 21-Apr-2010  matt sync to netbsd-5
 1.1.1.1.16.1 11-Dec-2008  matt file ar5211_misc.c was added on branch matt-nb5-mips64 on 2010-04-21 00:28:08 +0000
 1.1.1.1.14.1 21-Apr-2011  rmind sync with head
 1.1.1.1.10.2 07-Aug-2009  snj Apply patch (requested by jmcneill in ticket 775):
Update to the open source atheros HAL.
 1.1.1.1.10.1 11-Dec-2008  snj file ar5211_misc.c was added on branch netbsd-5 on 2009-08-07 06:43:37 +0000
 1.1.1.1.8.2 04-May-2009  yamt sync with head.
 1.1.1.1.8.1 11-Dec-2008  yamt file ar5211_misc.c was added on branch yamt-nfs-mp on 2009-05-04 08:13:38 +0000
 1.1.1.1.4.2 19-Jan-2009  skrll Sync with HEAD.
 1.1.1.1.4.1 11-Dec-2008  skrll file ar5211_misc.c was added on branch nick-hppapmap on 2009-01-19 13:19:25 +0000
 1.1.1.1.2.2 17-Jan-2009  mjf Sync with HEAD.
 1.1.1.1.2.1 11-Dec-2008  mjf file ar5211_misc.c was added on branch mjf-devfs2 on 2009-01-17 13:29:12 +0000
 1.2 11-Dec-2008  alc branches: 1.2.2; 1.2.4; 1.2.8; 1.2.10; 1.2.16;
Fix the build of the new HAL:

- constify link-set iterator
- do RF lookup only if any RF has been built
- fix global symbols shadowing
- const static -> static const
- don't redefine `uintptr_t'
- use `unsigned long' in __DECONST()
- fix AH_RF() macros
- __va_list -> va_list
- add missing struct trailing element
- add a few #ifdef AH_DEBUG block to avoid empty if() statement
- some other nits...
 1.1 11-Dec-2008  alc branches: 1.1.1;
Initial revision
 1.1.1.1 11-Dec-2008  alc Import Atheros HAL, from FreeBSD (revision 185521)
 1.2.16.2 21-Apr-2010  matt sync to netbsd-5
 1.2.16.1 11-Dec-2008  matt file ar5211_phy.c was added on branch matt-nb5-mips64 on 2010-04-21 00:28:08 +0000
 1.2.10.2 07-Aug-2009  snj Apply patch (requested by jmcneill in ticket 775):
Update to the open source atheros HAL.
 1.2.10.1 11-Dec-2008  snj file ar5211_phy.c was added on branch netbsd-5 on 2009-08-07 06:43:38 +0000
 1.2.8.2 04-May-2009  yamt sync with head.
 1.2.8.1 11-Dec-2008  yamt file ar5211_phy.c was added on branch yamt-nfs-mp on 2009-05-04 08:13:38 +0000
 1.2.4.2 19-Jan-2009  skrll Sync with HEAD.
 1.2.4.1 11-Dec-2008  skrll file ar5211_phy.c was added on branch nick-hppapmap on 2009-01-19 13:19:25 +0000
 1.2.2.2 17-Jan-2009  mjf Sync with HEAD.
 1.2.2.1 11-Dec-2008  mjf file ar5211_phy.c was added on branch mjf-devfs2 on 2009-01-17 13:29:12 +0000
 1.1 11-Dec-2008  alc branches: 1.1.1;
Initial revision
 1.1.1.1 11-Dec-2008  alc branches: 1.1.1.1.2; 1.1.1.1.4; 1.1.1.1.8; 1.1.1.1.10; 1.1.1.1.16;
Import Atheros HAL, from FreeBSD (revision 185521)
 1.1.1.1.16.2 21-Apr-2010  matt sync to netbsd-5
 1.1.1.1.16.1 11-Dec-2008  matt file ar5211_power.c was added on branch matt-nb5-mips64 on 2010-04-21 00:28:08 +0000
 1.1.1.1.10.2 07-Aug-2009  snj Apply patch (requested by jmcneill in ticket 775):
Update to the open source atheros HAL.
 1.1.1.1.10.1 11-Dec-2008  snj file ar5211_power.c was added on branch netbsd-5 on 2009-08-07 06:43:38 +0000
 1.1.1.1.8.2 04-May-2009  yamt sync with head.
 1.1.1.1.8.1 11-Dec-2008  yamt file ar5211_power.c was added on branch yamt-nfs-mp on 2009-05-04 08:13:38 +0000
 1.1.1.1.4.2 19-Jan-2009  skrll Sync with HEAD.
 1.1.1.1.4.1 11-Dec-2008  skrll file ar5211_power.c was added on branch nick-hppapmap on 2009-01-19 13:19:25 +0000
 1.1.1.1.2.2 17-Jan-2009  mjf Sync with HEAD.
 1.1.1.1.2.1 11-Dec-2008  mjf file ar5211_power.c was added on branch mjf-devfs2 on 2009-01-17 13:29:12 +0000
 1.1 11-Dec-2008  alc branches: 1.1.1;
Initial revision
 1.1.1.1 11-Dec-2008  alc branches: 1.1.1.1.2; 1.1.1.1.4; 1.1.1.1.8; 1.1.1.1.10; 1.1.1.1.16;
Import Atheros HAL, from FreeBSD (revision 185521)
 1.1.1.1.16.2 21-Apr-2010  matt sync to netbsd-5
 1.1.1.1.16.1 11-Dec-2008  matt file ar5211_recv.c was added on branch matt-nb5-mips64 on 2010-04-21 00:28:08 +0000
 1.1.1.1.10.2 07-Aug-2009  snj Apply patch (requested by jmcneill in ticket 775):
Update to the open source atheros HAL.
 1.1.1.1.10.1 11-Dec-2008  snj file ar5211_recv.c was added on branch netbsd-5 on 2009-08-07 06:43:38 +0000
 1.1.1.1.8.2 04-May-2009  yamt sync with head.
 1.1.1.1.8.1 11-Dec-2008  yamt file ar5211_recv.c was added on branch yamt-nfs-mp on 2009-05-04 08:13:38 +0000
 1.1.1.1.4.2 19-Jan-2009  skrll Sync with HEAD.
 1.1.1.1.4.1 11-Dec-2008  skrll file ar5211_recv.c was added on branch nick-hppapmap on 2009-01-19 13:19:25 +0000
 1.1.1.1.2.2 17-Jan-2009  mjf Sync with HEAD.
 1.1.1.1.2.1 11-Dec-2008  mjf file ar5211_recv.c was added on branch mjf-devfs2 on 2009-01-17 13:29:12 +0000
 1.4 07-Mar-2011  cegger Get improvements from FreeBSD-current (January 2011).
Successfully tested with WEP, WPA and WPA2 on AR9285.
Reviewed by jmcneill@
 1.3 06-Jan-2009  mrg branches: 1.3.2; 1.3.4; 1.3.8; 1.3.10; 1.3.14; 1.3.16; 1.3.18;
initialise some variables whined about by gcc -O3.
 1.2 11-Dec-2008  alc Fix the build of the new HAL:

- constify link-set iterator
- do RF lookup only if any RF has been built
- fix global symbols shadowing
- const static -> static const
- don't redefine `uintptr_t'
- use `unsigned long' in __DECONST()
- fix AH_RF() macros
- __va_list -> va_list
- add missing struct trailing element
- add a few #ifdef AH_DEBUG block to avoid empty if() statement
- some other nits...
 1.1 11-Dec-2008  alc branches: 1.1.1;
Initial revision
 1.1.1.1 11-Dec-2008  alc Import Atheros HAL, from FreeBSD (revision 185521)
 1.3.18.1 06-Jun-2011  jruoho Sync with HEAD.
 1.3.16.2 21-Apr-2010  matt sync to netbsd-5
 1.3.16.1 06-Jan-2009  matt file ar5211_reset.c was added on branch matt-nb5-mips64 on 2010-04-21 00:28:08 +0000
 1.3.14.1 21-Apr-2011  rmind sync with head
 1.3.10.2 07-Aug-2009  snj Apply patch (requested by jmcneill in ticket 775):
Update to the open source atheros HAL.
 1.3.10.1 06-Jan-2009  snj file ar5211_reset.c was added on branch netbsd-5 on 2009-08-07 06:43:38 +0000
 1.3.8.2 04-May-2009  yamt sync with head.
 1.3.8.1 06-Jan-2009  yamt file ar5211_reset.c was added on branch yamt-nfs-mp on 2009-05-04 08:13:38 +0000
 1.3.4.2 19-Jan-2009  skrll Sync with HEAD.
 1.3.4.1 06-Jan-2009  skrll file ar5211_reset.c was added on branch nick-hppapmap on 2009-01-19 13:19:25 +0000
 1.3.2.2 17-Jan-2009  mjf Sync with HEAD.
 1.3.2.1 06-Jan-2009  mjf file ar5211_reset.c was added on branch mjf-devfs2 on 2009-01-17 13:29:13 +0000
 1.1 11-Dec-2008  alc branches: 1.1.1;
Initial revision
 1.1.1.1 11-Dec-2008  alc branches: 1.1.1.1.2; 1.1.1.1.4; 1.1.1.1.8; 1.1.1.1.10; 1.1.1.1.16;
Import Atheros HAL, from FreeBSD (revision 185521)
 1.1.1.1.16.2 21-Apr-2010  matt sync to netbsd-5
 1.1.1.1.16.1 11-Dec-2008  matt file ar5211_xmit.c was added on branch matt-nb5-mips64 on 2010-04-21 00:28:08 +0000
 1.1.1.1.10.2 07-Aug-2009  snj Apply patch (requested by jmcneill in ticket 775):
Update to the open source atheros HAL.
 1.1.1.1.10.1 11-Dec-2008  snj file ar5211_xmit.c was added on branch netbsd-5 on 2009-08-07 06:43:38 +0000
 1.1.1.1.8.2 04-May-2009  yamt sync with head.
 1.1.1.1.8.1 11-Dec-2008  yamt file ar5211_xmit.c was added on branch yamt-nfs-mp on 2009-05-04 08:13:39 +0000
 1.1.1.1.4.2 19-Jan-2009  skrll Sync with HEAD.
 1.1.1.1.4.1 11-Dec-2008  skrll file ar5211_xmit.c was added on branch nick-hppapmap on 2009-01-19 13:19:25 +0000
 1.1.1.1.2.2 17-Jan-2009  mjf Sync with HEAD.
 1.1.1.1.2.1 11-Dec-2008  mjf file ar5211_xmit.c was added on branch mjf-devfs2 on 2009-01-17 13:29:13 +0000
 1.1 11-Dec-2008  alc branches: 1.1.1;
Initial revision
 1.1.1.1 11-Dec-2008  alc branches: 1.1.1.1.2; 1.1.1.1.4; 1.1.1.1.8; 1.1.1.1.10; 1.1.1.1.16;
Import Atheros HAL, from FreeBSD (revision 185521)
 1.1.1.1.16.2 21-Apr-2010  matt sync to netbsd-5
 1.1.1.1.16.1 11-Dec-2008  matt file ar5211desc.h was added on branch matt-nb5-mips64 on 2010-04-21 00:28:08 +0000
 1.1.1.1.10.2 07-Aug-2009  snj Apply patch (requested by jmcneill in ticket 775):
Update to the open source atheros HAL.
 1.1.1.1.10.1 11-Dec-2008  snj file ar5211desc.h was added on branch netbsd-5 on 2009-08-07 06:43:39 +0000
 1.1.1.1.8.2 04-May-2009  yamt sync with head.
 1.1.1.1.8.1 11-Dec-2008  yamt file ar5211desc.h was added on branch yamt-nfs-mp on 2009-05-04 08:13:39 +0000
 1.1.1.1.4.2 19-Jan-2009  skrll Sync with HEAD.
 1.1.1.1.4.1 11-Dec-2008  skrll file ar5211desc.h was added on branch nick-hppapmap on 2009-01-19 13:19:25 +0000
 1.1.1.1.2.2 17-Jan-2009  mjf Sync with HEAD.
 1.1.1.1.2.1 11-Dec-2008  mjf file ar5211desc.h was added on branch mjf-devfs2 on 2009-01-17 13:29:13 +0000
 1.1 11-Dec-2008  alc branches: 1.1.1;
Initial revision
 1.1.1.1 11-Dec-2008  alc branches: 1.1.1.1.2; 1.1.1.1.4; 1.1.1.1.8; 1.1.1.1.10; 1.1.1.1.16;
Import Atheros HAL, from FreeBSD (revision 185521)
 1.1.1.1.16.2 21-Apr-2010  matt sync to netbsd-5
 1.1.1.1.16.1 11-Dec-2008  matt file ar5211phy.h was added on branch matt-nb5-mips64 on 2010-04-21 00:28:08 +0000
 1.1.1.1.10.2 07-Aug-2009  snj Apply patch (requested by jmcneill in ticket 775):
Update to the open source atheros HAL.
 1.1.1.1.10.1 11-Dec-2008  snj file ar5211phy.h was added on branch netbsd-5 on 2009-08-07 06:43:39 +0000
 1.1.1.1.8.2 04-May-2009  yamt sync with head.
 1.1.1.1.8.1 11-Dec-2008  yamt file ar5211phy.h was added on branch yamt-nfs-mp on 2009-05-04 08:13:39 +0000
 1.1.1.1.4.2 19-Jan-2009  skrll Sync with HEAD.
 1.1.1.1.4.1 11-Dec-2008  skrll file ar5211phy.h was added on branch nick-hppapmap on 2009-01-19 13:19:25 +0000
 1.1.1.1.2.2 17-Jan-2009  mjf Sync with HEAD.
 1.1.1.1.2.1 11-Dec-2008  mjf file ar5211phy.h was added on branch mjf-devfs2 on 2009-01-17 13:29:13 +0000
 1.2 30-May-2011  joerg Define a few macros as unsigned to avoid UB when later shifting them
in ways that involve integer overflow.
 1.1 11-Dec-2008  alc branches: 1.1.1;
Initial revision
 1.1.1.1 11-Dec-2008  alc branches: 1.1.1.1.2; 1.1.1.1.4; 1.1.1.1.8; 1.1.1.1.10; 1.1.1.1.14; 1.1.1.1.16; 1.1.1.1.18;
Import Atheros HAL, from FreeBSD (revision 185521)
 1.1.1.1.18.1 06-Jun-2011  jruoho Sync with HEAD.
 1.1.1.1.16.2 21-Apr-2010  matt sync to netbsd-5
 1.1.1.1.16.1 11-Dec-2008  matt file ar5211reg.h was added on branch matt-nb5-mips64 on 2010-04-21 00:28:08 +0000
 1.1.1.1.14.1 31-May-2011  rmind sync with head
 1.1.1.1.10.2 07-Aug-2009  snj Apply patch (requested by jmcneill in ticket 775):
Update to the open source atheros HAL.
 1.1.1.1.10.1 11-Dec-2008  snj file ar5211reg.h was added on branch netbsd-5 on 2009-08-07 06:43:39 +0000
 1.1.1.1.8.2 04-May-2009  yamt sync with head.
 1.1.1.1.8.1 11-Dec-2008  yamt file ar5211reg.h was added on branch yamt-nfs-mp on 2009-05-04 08:13:39 +0000
 1.1.1.1.4.2 19-Jan-2009  skrll Sync with HEAD.
 1.1.1.1.4.1 11-Dec-2008  skrll file ar5211reg.h was added on branch nick-hppapmap on 2009-01-19 13:19:25 +0000
 1.1.1.1.2.2 17-Jan-2009  mjf Sync with HEAD.
 1.1.1.1.2.1 11-Dec-2008  mjf file ar5211reg.h was added on branch mjf-devfs2 on 2009-01-17 13:29:13 +0000
 1.1 11-Dec-2008  alc branches: 1.1.1;
Initial revision
 1.1.1.1 11-Dec-2008  alc branches: 1.1.1.1.2; 1.1.1.1.4; 1.1.1.1.8; 1.1.1.1.10; 1.1.1.1.16;
Import Atheros HAL, from FreeBSD (revision 185521)
 1.1.1.1.16.2 21-Apr-2010  matt sync to netbsd-5
 1.1.1.1.16.1 11-Dec-2008  matt file boss.ini was added on branch matt-nb5-mips64 on 2010-04-21 00:28:08 +0000
 1.1.1.1.10.2 07-Aug-2009  snj Apply patch (requested by jmcneill in ticket 775):
Update to the open source atheros HAL.
 1.1.1.1.10.1 11-Dec-2008  snj file boss.ini was added on branch netbsd-5 on 2009-08-07 06:43:39 +0000
 1.1.1.1.8.2 04-May-2009  yamt sync with head.
 1.1.1.1.8.1 11-Dec-2008  yamt file boss.ini was added on branch yamt-nfs-mp on 2009-05-04 08:13:39 +0000
 1.1.1.1.4.2 19-Jan-2009  skrll Sync with HEAD.
 1.1.1.1.4.1 11-Dec-2008  skrll file boss.ini was added on branch nick-hppapmap on 2009-01-19 13:19:26 +0000
 1.1.1.1.2.2 17-Jan-2009  mjf Sync with HEAD.
 1.1.1.1.2.1 11-Dec-2008  mjf file boss.ini was added on branch mjf-devfs2 on 2009-01-17 13:29:13 +0000
 1.3 12-Sep-2013  martin Remove unused variable
 1.2 06-Jan-2009  mrg branches: 1.2.2; 1.2.4; 1.2.8; 1.2.10; 1.2.16; 1.2.24; 1.2.34; 1.2.38;
initialise some variables whined about by gcc -O3.
 1.1 11-Dec-2008  alc branches: 1.1.1;
Initial revision
 1.1.1.1 11-Dec-2008  alc Import Atheros HAL, from FreeBSD (revision 185521)
 1.2.38.1 18-May-2014  rmind sync with head
 1.2.34.1 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.2.24.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.2.16.2 21-Apr-2010  matt sync to netbsd-5
 1.2.16.1 06-Jan-2009  matt file ar2316.c was added on branch matt-nb5-mips64 on 2010-04-21 00:28:08 +0000
 1.2.10.2 07-Aug-2009  snj Apply patch (requested by jmcneill in ticket 775):
Update to the open source atheros HAL.
 1.2.10.1 06-Jan-2009  snj file ar2316.c was added on branch netbsd-5 on 2009-08-07 06:43:39 +0000
 1.2.8.2 04-May-2009  yamt sync with head.
 1.2.8.1 06-Jan-2009  yamt file ar2316.c was added on branch yamt-nfs-mp on 2009-05-04 08:13:39 +0000
 1.2.4.2 19-Jan-2009  skrll Sync with HEAD.
 1.2.4.1 06-Jan-2009  skrll file ar2316.c was added on branch nick-hppapmap on 2009-01-19 13:19:26 +0000
 1.2.2.2 17-Jan-2009  mjf Sync with HEAD.
 1.2.2.1 06-Jan-2009  mjf file ar2316.c was added on branch mjf-devfs2 on 2009-01-17 13:29:13 +0000
 1.4 12-Sep-2013  martin Get rid of unused variables
 1.3 06-Jan-2009  mrg branches: 1.3.2; 1.3.4; 1.3.8; 1.3.10; 1.3.16; 1.3.24; 1.3.34; 1.3.38;
initialise some variables whined about by gcc -O3.
 1.2 11-Dec-2008  alc Fix the build of the new HAL:

- constify link-set iterator
- do RF lookup only if any RF has been built
- fix global symbols shadowing
- const static -> static const
- don't redefine `uintptr_t'
- use `unsigned long' in __DECONST()
- fix AH_RF() macros
- __va_list -> va_list
- add missing struct trailing element
- add a few #ifdef AH_DEBUG block to avoid empty if() statement
- some other nits...
 1.1 11-Dec-2008  alc branches: 1.1.1;
Initial revision
 1.1.1.1 11-Dec-2008  alc Import Atheros HAL, from FreeBSD (revision 185521)
 1.3.38.1 18-May-2014  rmind sync with head
 1.3.34.1 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.3.24.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.3.16.2 21-Apr-2010  matt sync to netbsd-5
 1.3.16.1 06-Jan-2009  matt file ar2317.c was added on branch matt-nb5-mips64 on 2010-04-21 00:28:08 +0000
 1.3.10.2 07-Aug-2009  snj Apply patch (requested by jmcneill in ticket 775):
Update to the open source atheros HAL.
 1.3.10.1 06-Jan-2009  snj file ar2317.c was added on branch netbsd-5 on 2009-08-07 06:43:40 +0000
 1.3.8.2 04-May-2009  yamt sync with head.
 1.3.8.1 06-Jan-2009  yamt file ar2317.c was added on branch yamt-nfs-mp on 2009-05-04 08:13:39 +0000
 1.3.4.2 19-Jan-2009  skrll Sync with HEAD.
 1.3.4.1 06-Jan-2009  skrll file ar2317.c was added on branch nick-hppapmap on 2009-01-19 13:19:26 +0000
 1.3.2.2 17-Jan-2009  mjf Sync with HEAD.
 1.3.2.1 06-Jan-2009  mjf file ar2317.c was added on branch mjf-devfs2 on 2009-01-17 13:29:13 +0000
 1.3 12-Sep-2013  martin Remove unused variable
 1.2 06-Jan-2009  mrg branches: 1.2.2; 1.2.4; 1.2.8; 1.2.10; 1.2.16; 1.2.24; 1.2.34; 1.2.38;
initialise some variables whined about by gcc -O3.
 1.1 11-Dec-2008  alc branches: 1.1.1;
Initial revision
 1.1.1.1 11-Dec-2008  alc Import Atheros HAL, from FreeBSD (revision 185521)
 1.2.38.1 18-May-2014  rmind sync with head
 1.2.34.1 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.2.24.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.2.16.2 21-Apr-2010  matt sync to netbsd-5
 1.2.16.1 06-Jan-2009  matt file ar2413.c was added on branch matt-nb5-mips64 on 2010-04-21 00:28:08 +0000
 1.2.10.2 07-Aug-2009  snj Apply patch (requested by jmcneill in ticket 775):
Update to the open source atheros HAL.
 1.2.10.1 06-Jan-2009  snj file ar2413.c was added on branch netbsd-5 on 2009-08-07 06:43:40 +0000
 1.2.8.2 04-May-2009  yamt sync with head.
 1.2.8.1 06-Jan-2009  yamt file ar2413.c was added on branch yamt-nfs-mp on 2009-05-04 08:13:39 +0000
 1.2.4.2 19-Jan-2009  skrll Sync with HEAD.
 1.2.4.1 06-Jan-2009  skrll file ar2413.c was added on branch nick-hppapmap on 2009-01-19 13:19:26 +0000
 1.2.2.2 17-Jan-2009  mjf Sync with HEAD.
 1.2.2.1 06-Jan-2009  mjf file ar2413.c was added on branch mjf-devfs2 on 2009-01-17 13:29:13 +0000
 1.4 12-Sep-2013  martin Remove unused variable
 1.3 20-Feb-2011  jmcneill branches: 1.3.4; 1.3.14; 1.3.18;
add AR9280 support
 1.2 06-Jan-2009  mrg branches: 1.2.2; 1.2.4; 1.2.8; 1.2.10; 1.2.14; 1.2.16; 1.2.18; 1.2.20;
initialise some variables whined about by gcc -O3.
 1.1 11-Dec-2008  alc branches: 1.1.1;
Initial revision
 1.1.1.1 11-Dec-2008  alc Import Atheros HAL, from FreeBSD (revision 185521)
 1.2.20.1 05-Mar-2011  bouyer Sync with HEAD
 1.2.18.1 06-Jun-2011  jruoho Sync with HEAD.
 1.2.16.2 21-Apr-2010  matt sync to netbsd-5
 1.2.16.1 06-Jan-2009  matt file ar2425.c was added on branch matt-nb5-mips64 on 2010-04-21 00:28:08 +0000
 1.2.14.1 05-Mar-2011  rmind sync with head
 1.2.10.2 07-Aug-2009  snj Apply patch (requested by jmcneill in ticket 775):
Update to the open source atheros HAL.
 1.2.10.1 06-Jan-2009  snj file ar2425.c was added on branch netbsd-5 on 2009-08-07 06:43:40 +0000
 1.2.8.2 04-May-2009  yamt sync with head.
 1.2.8.1 06-Jan-2009  yamt file ar2425.c was added on branch yamt-nfs-mp on 2009-05-04 08:13:39 +0000
 1.2.4.2 19-Jan-2009  skrll Sync with HEAD.
 1.2.4.1 06-Jan-2009  skrll file ar2425.c was added on branch nick-hppapmap on 2009-01-19 13:19:26 +0000
 1.2.2.2 17-Jan-2009  mjf Sync with HEAD.
 1.2.2.1 06-Jan-2009  mjf file ar2425.c was added on branch mjf-devfs2 on 2009-01-17 13:29:13 +0000
 1.3.18.1 18-May-2014  rmind sync with head
 1.3.14.1 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.3.4.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.3 06-Jan-2009  mrg branches: 1.3.2; 1.3.4; 1.3.8; 1.3.10; 1.3.16;
initialise some variables whined about by gcc -O3.
 1.2 11-Dec-2008  alc Fix the build of the new HAL:

- constify link-set iterator
- do RF lookup only if any RF has been built
- fix global symbols shadowing
- const static -> static const
- don't redefine `uintptr_t'
- use `unsigned long' in __DECONST()
- fix AH_RF() macros
- __va_list -> va_list
- add missing struct trailing element
- add a few #ifdef AH_DEBUG block to avoid empty if() statement
- some other nits...
 1.1 11-Dec-2008  alc branches: 1.1.1;
Initial revision
 1.1.1.1 11-Dec-2008  alc Import Atheros HAL, from FreeBSD (revision 185521)
 1.3.16.2 21-Apr-2010  matt sync to netbsd-5
 1.3.16.1 06-Jan-2009  matt file ar5111.c was added on branch matt-nb5-mips64 on 2010-04-21 00:28:08 +0000
 1.3.10.2 07-Aug-2009  snj Apply patch (requested by jmcneill in ticket 775):
Update to the open source atheros HAL.
 1.3.10.1 06-Jan-2009  snj file ar5111.c was added on branch netbsd-5 on 2009-08-07 06:43:40 +0000
 1.3.8.2 04-May-2009  yamt sync with head.
 1.3.8.1 06-Jan-2009  yamt file ar5111.c was added on branch yamt-nfs-mp on 2009-05-04 08:13:39 +0000
 1.3.4.2 19-Jan-2009  skrll Sync with HEAD.
 1.3.4.1 06-Jan-2009  skrll file ar5111.c was added on branch nick-hppapmap on 2009-01-19 13:19:26 +0000
 1.3.2.2 17-Jan-2009  mjf Sync with HEAD.
 1.3.2.1 06-Jan-2009  mjf file ar5111.c was added on branch mjf-devfs2 on 2009-01-17 13:29:13 +0000
 1.1 11-Dec-2008  alc branches: 1.1.1;
Initial revision
 1.1.1.1 11-Dec-2008  alc branches: 1.1.1.1.2; 1.1.1.1.4; 1.1.1.1.8; 1.1.1.1.10; 1.1.1.1.16;
Import Atheros HAL, from FreeBSD (revision 185521)
 1.1.1.1.16.2 21-Apr-2010  matt sync to netbsd-5
 1.1.1.1.16.1 11-Dec-2008  matt file ar5112.c was added on branch matt-nb5-mips64 on 2010-04-21 00:28:09 +0000
 1.1.1.1.10.2 07-Aug-2009  snj Apply patch (requested by jmcneill in ticket 775):
Update to the open source atheros HAL.
 1.1.1.1.10.1 11-Dec-2008  snj file ar5112.c was added on branch netbsd-5 on 2009-08-07 06:43:40 +0000
 1.1.1.1.8.2 04-May-2009  yamt sync with head.
 1.1.1.1.8.1 11-Dec-2008  yamt file ar5112.c was added on branch yamt-nfs-mp on 2009-05-04 08:13:39 +0000
 1.1.1.1.4.2 19-Jan-2009  skrll Sync with HEAD.
 1.1.1.1.4.1 11-Dec-2008  skrll file ar5112.c was added on branch nick-hppapmap on 2009-01-19 13:19:26 +0000
 1.1.1.1.2.2 17-Jan-2009  mjf Sync with HEAD.
 1.1.1.1.2.1 11-Dec-2008  mjf file ar5112.c was added on branch mjf-devfs2 on 2009-01-17 13:29:13 +0000
 1.5 01-Aug-2023  mrg fix simple mis-matched function prototype and definitions.

most of these are like, eg

void foo(int[2]);

with either of these

void foo(int*) { ... }
void foo(int[]) { ... }

in some cases (such as stat or utimes* calls found in our header files),
we now match standard definition from opengroup.

found by GCC 12.
 1.4 07-Mar-2011  cegger Get improvements from FreeBSD-current (January 2011).
Successfully tested with WEP, WPA and WPA2 on AR9285.
Reviewed by jmcneill@
 1.3 21-Feb-2011  cegger add AR9285 support
 1.2 20-Feb-2011  jmcneill add AR9280 support
 1.1 11-Dec-2008  alc branches: 1.1.1;
Initial revision
 1.1.1.1 11-Dec-2008  alc branches: 1.1.1.1.2; 1.1.1.1.4; 1.1.1.1.8; 1.1.1.1.10; 1.1.1.1.14; 1.1.1.1.16; 1.1.1.1.18; 1.1.1.1.20;
Import Atheros HAL, from FreeBSD (revision 185521)
 1.1.1.1.20.1 05-Mar-2011  bouyer Sync with HEAD
 1.1.1.1.18.1 06-Jun-2011  jruoho Sync with HEAD.
 1.1.1.1.16.2 21-Apr-2010  matt sync to netbsd-5
 1.1.1.1.16.1 11-Dec-2008  matt file ar5212.h was added on branch matt-nb5-mips64 on 2010-04-21 00:28:09 +0000
 1.1.1.1.14.2 21-Apr-2011  rmind sync with head
 1.1.1.1.14.1 05-Mar-2011  rmind sync with head
 1.1.1.1.10.2 07-Aug-2009  snj Apply patch (requested by jmcneill in ticket 775):
Update to the open source atheros HAL.
 1.1.1.1.10.1 11-Dec-2008  snj file ar5212.h was added on branch netbsd-5 on 2009-08-07 06:43:40 +0000
 1.1.1.1.8.2 04-May-2009  yamt sync with head.
 1.1.1.1.8.1 11-Dec-2008  yamt file ar5212.h was added on branch yamt-nfs-mp on 2009-05-04 08:13:39 +0000
 1.1.1.1.4.2 19-Jan-2009  skrll Sync with HEAD.
 1.1.1.1.4.1 11-Dec-2008  skrll file ar5212.h was added on branch nick-hppapmap on 2009-01-19 13:19:26 +0000
 1.1.1.1.2.2 17-Jan-2009  mjf Sync with HEAD.
 1.1.1.1.2.1 11-Dec-2008  mjf file ar5212.h was added on branch mjf-devfs2 on 2009-01-17 13:29:13 +0000
 1.1 11-Dec-2008  alc branches: 1.1.1;
Initial revision
 1.1.1.1 11-Dec-2008  alc branches: 1.1.1.1.2; 1.1.1.1.4; 1.1.1.1.8; 1.1.1.1.10; 1.1.1.1.16;
Import Atheros HAL, from FreeBSD (revision 185521)
 1.1.1.1.16.2 21-Apr-2010  matt sync to netbsd-5
 1.1.1.1.16.1 11-Dec-2008  matt file ar5212.ini was added on branch matt-nb5-mips64 on 2010-04-21 00:28:09 +0000
 1.1.1.1.10.2 07-Aug-2009  snj Apply patch (requested by jmcneill in ticket 775):
Update to the open source atheros HAL.
 1.1.1.1.10.1 11-Dec-2008  snj file ar5212.ini was added on branch netbsd-5 on 2009-08-07 06:43:41 +0000
 1.1.1.1.8.2 04-May-2009  yamt sync with head.
 1.1.1.1.8.1 11-Dec-2008  yamt file ar5212.ini was added on branch yamt-nfs-mp on 2009-05-04 08:13:39 +0000
 1.1.1.1.4.2 19-Jan-2009  skrll Sync with HEAD.
 1.1.1.1.4.1 11-Dec-2008  skrll file ar5212.ini was added on branch nick-hppapmap on 2009-01-19 13:19:26 +0000
 1.1.1.1.2.2 17-Jan-2009  mjf Sync with HEAD.
 1.1.1.1.2.1 11-Dec-2008  mjf file ar5212.ini was added on branch mjf-devfs2 on 2009-01-17 13:29:13 +0000
 1.2 07-Mar-2011  cegger Get improvements from FreeBSD-current (January 2011).
Successfully tested with WEP, WPA and WPA2 on AR9285.
Reviewed by jmcneill@
 1.1 11-Dec-2008  alc branches: 1.1.1;
Initial revision
 1.1.1.1 11-Dec-2008  alc branches: 1.1.1.1.2; 1.1.1.1.4; 1.1.1.1.8; 1.1.1.1.10; 1.1.1.1.14; 1.1.1.1.16; 1.1.1.1.18;
Import Atheros HAL, from FreeBSD (revision 185521)
 1.1.1.1.18.1 06-Jun-2011  jruoho Sync with HEAD.
 1.1.1.1.16.2 21-Apr-2010  matt sync to netbsd-5
 1.1.1.1.16.1 11-Dec-2008  matt file ar5212_ani.c was added on branch matt-nb5-mips64 on 2010-04-21 00:28:09 +0000
 1.1.1.1.14.1 21-Apr-2011  rmind sync with head
 1.1.1.1.10.2 07-Aug-2009  snj Apply patch (requested by jmcneill in ticket 775):
Update to the open source atheros HAL.
 1.1.1.1.10.1 11-Dec-2008  snj file ar5212_ani.c was added on branch netbsd-5 on 2009-08-07 06:43:41 +0000
 1.1.1.1.8.2 04-May-2009  yamt sync with head.
 1.1.1.1.8.1 11-Dec-2008  yamt file ar5212_ani.c was added on branch yamt-nfs-mp on 2009-05-04 08:13:39 +0000
 1.1.1.1.4.2 19-Jan-2009  skrll Sync with HEAD.
 1.1.1.1.4.1 11-Dec-2008  skrll file ar5212_ani.c was added on branch nick-hppapmap on 2009-01-19 13:19:26 +0000
 1.1.1.1.2.2 17-Jan-2009  mjf Sync with HEAD.
 1.1.1.1.2.1 11-Dec-2008  mjf file ar5212_ani.c was added on branch mjf-devfs2 on 2009-01-17 13:29:13 +0000
 1.5 13-Apr-2021  mrg use correct enum types for various functions.
 1.4 07-Mar-2011  cegger branches: 1.4.70;
Get improvements from FreeBSD-current (January 2011).
Successfully tested with WEP, WPA and WPA2 on AR9285.
Reviewed by jmcneill@
 1.3 21-Feb-2011  cegger add AR9285 support
 1.2 20-Feb-2011  jmcneill add AR9280 support
 1.1 11-Dec-2008  alc branches: 1.1.1;
Initial revision
 1.1.1.1 11-Dec-2008  alc branches: 1.1.1.1.2; 1.1.1.1.4; 1.1.1.1.8; 1.1.1.1.10; 1.1.1.1.14; 1.1.1.1.16; 1.1.1.1.18; 1.1.1.1.20;
Import Atheros HAL, from FreeBSD (revision 185521)
 1.1.1.1.20.1 05-Mar-2011  bouyer Sync with HEAD
 1.1.1.1.18.1 06-Jun-2011  jruoho Sync with HEAD.
 1.1.1.1.16.2 21-Apr-2010  matt sync to netbsd-5
 1.1.1.1.16.1 11-Dec-2008  matt file ar5212_attach.c was added on branch matt-nb5-mips64 on 2010-04-21 00:28:09 +0000
 1.1.1.1.14.2 21-Apr-2011  rmind sync with head
 1.1.1.1.14.1 05-Mar-2011  rmind sync with head
 1.1.1.1.10.2 07-Aug-2009  snj Apply patch (requested by jmcneill in ticket 775):
Update to the open source atheros HAL.
 1.1.1.1.10.1 11-Dec-2008  snj file ar5212_attach.c was added on branch netbsd-5 on 2009-08-07 06:43:41 +0000
 1.1.1.1.8.2 04-May-2009  yamt sync with head.
 1.1.1.1.8.1 11-Dec-2008  yamt file ar5212_attach.c was added on branch yamt-nfs-mp on 2009-05-04 08:13:39 +0000
 1.1.1.1.4.2 19-Jan-2009  skrll Sync with HEAD.
 1.1.1.1.4.1 11-Dec-2008  skrll file ar5212_attach.c was added on branch nick-hppapmap on 2009-01-19 13:19:26 +0000
 1.1.1.1.2.2 17-Jan-2009  mjf Sync with HEAD.
 1.1.1.1.2.1 11-Dec-2008  mjf file ar5212_attach.c was added on branch mjf-devfs2 on 2009-01-17 13:29:13 +0000
 1.4.70.1 17-Apr-2021  thorpej Sync with HEAD.
 1.1 11-Dec-2008  alc branches: 1.1.1;
Initial revision
 1.1.1.1 11-Dec-2008  alc branches: 1.1.1.1.2; 1.1.1.1.4; 1.1.1.1.8; 1.1.1.1.10; 1.1.1.1.16;
Import Atheros HAL, from FreeBSD (revision 185521)
 1.1.1.1.16.2 21-Apr-2010  matt sync to netbsd-5
 1.1.1.1.16.1 11-Dec-2008  matt file ar5212_beacon.c was added on branch matt-nb5-mips64 on 2010-04-21 00:28:09 +0000
 1.1.1.1.10.2 07-Aug-2009  snj Apply patch (requested by jmcneill in ticket 775):
Update to the open source atheros HAL.
 1.1.1.1.10.1 11-Dec-2008  snj file ar5212_beacon.c was added on branch netbsd-5 on 2009-08-07 06:43:41 +0000
 1.1.1.1.8.2 04-May-2009  yamt sync with head.
 1.1.1.1.8.1 11-Dec-2008  yamt file ar5212_beacon.c was added on branch yamt-nfs-mp on 2009-05-04 08:13:39 +0000
 1.1.1.1.4.2 19-Jan-2009  skrll Sync with HEAD.
 1.1.1.1.4.1 11-Dec-2008  skrll file ar5212_beacon.c was added on branch nick-hppapmap on 2009-01-19 13:19:26 +0000
 1.1.1.1.2.2 17-Jan-2009  mjf Sync with HEAD.
 1.1.1.1.2.1 11-Dec-2008  mjf file ar5212_beacon.c was added on branch mjf-devfs2 on 2009-01-17 13:29:13 +0000
 1.1 11-Dec-2008  alc branches: 1.1.1;
Initial revision
 1.1.1.1 11-Dec-2008  alc branches: 1.1.1.1.2; 1.1.1.1.4; 1.1.1.1.8; 1.1.1.1.10; 1.1.1.1.16;
Import Atheros HAL, from FreeBSD (revision 185521)
 1.1.1.1.16.2 21-Apr-2010  matt sync to netbsd-5
 1.1.1.1.16.1 11-Dec-2008  matt file ar5212_eeprom.c was added on branch matt-nb5-mips64 on 2010-04-21 00:28:09 +0000
 1.1.1.1.10.2 07-Aug-2009  snj Apply patch (requested by jmcneill in ticket 775):
Update to the open source atheros HAL.
 1.1.1.1.10.1 11-Dec-2008  snj file ar5212_eeprom.c was added on branch netbsd-5 on 2009-08-07 06:43:42 +0000
 1.1.1.1.8.2 04-May-2009  yamt sync with head.
 1.1.1.1.8.1 11-Dec-2008  yamt file ar5212_eeprom.c was added on branch yamt-nfs-mp on 2009-05-04 08:13:39 +0000
 1.1.1.1.4.2 19-Jan-2009  skrll Sync with HEAD.
 1.1.1.1.4.1 11-Dec-2008  skrll file ar5212_eeprom.c was added on branch nick-hppapmap on 2009-01-19 13:19:26 +0000
 1.1.1.1.2.2 17-Jan-2009  mjf Sync with HEAD.
 1.1.1.1.2.1 11-Dec-2008  mjf file ar5212_eeprom.c was added on branch mjf-devfs2 on 2009-01-17 13:29:13 +0000
 1.2 07-Mar-2011  cegger Get improvements from FreeBSD-current (January 2011).
Successfully tested with WEP, WPA and WPA2 on AR9285.
Reviewed by jmcneill@
 1.1 11-Dec-2008  alc branches: 1.1.1;
Initial revision
 1.1.1.1 11-Dec-2008  alc branches: 1.1.1.1.2; 1.1.1.1.4; 1.1.1.1.8; 1.1.1.1.10; 1.1.1.1.14; 1.1.1.1.16; 1.1.1.1.18;
Import Atheros HAL, from FreeBSD (revision 185521)
 1.1.1.1.18.1 06-Jun-2011  jruoho Sync with HEAD.
 1.1.1.1.16.2 21-Apr-2010  matt sync to netbsd-5
 1.1.1.1.16.1 11-Dec-2008  matt file ar5212_gpio.c was added on branch matt-nb5-mips64 on 2010-04-21 00:28:09 +0000
 1.1.1.1.14.1 21-Apr-2011  rmind sync with head
 1.1.1.1.10.2 07-Aug-2009  snj Apply patch (requested by jmcneill in ticket 775):
Update to the open source atheros HAL.
 1.1.1.1.10.1 11-Dec-2008  snj file ar5212_gpio.c was added on branch netbsd-5 on 2009-08-07 06:43:42 +0000
 1.1.1.1.8.2 04-May-2009  yamt sync with head.
 1.1.1.1.8.1 11-Dec-2008  yamt file ar5212_gpio.c was added on branch yamt-nfs-mp on 2009-05-04 08:13:39 +0000
 1.1.1.1.4.2 19-Jan-2009  skrll Sync with HEAD.
 1.1.1.1.4.1 11-Dec-2008  skrll file ar5212_gpio.c was added on branch nick-hppapmap on 2009-01-19 13:19:26 +0000
 1.1.1.1.2.2 17-Jan-2009  mjf Sync with HEAD.
 1.1.1.1.2.1 11-Dec-2008  mjf file ar5212_gpio.c was added on branch mjf-devfs2 on 2009-01-17 13:29:13 +0000
 1.2 07-Mar-2011  cegger Get improvements from FreeBSD-current (January 2011).
Successfully tested with WEP, WPA and WPA2 on AR9285.
Reviewed by jmcneill@
 1.1 11-Dec-2008  alc branches: 1.1.1;
Initial revision
 1.1.1.1 11-Dec-2008  alc branches: 1.1.1.1.2; 1.1.1.1.4; 1.1.1.1.8; 1.1.1.1.10; 1.1.1.1.14; 1.1.1.1.16; 1.1.1.1.18;
Import Atheros HAL, from FreeBSD (revision 185521)
 1.1.1.1.18.1 06-Jun-2011  jruoho Sync with HEAD.
 1.1.1.1.16.2 21-Apr-2010  matt sync to netbsd-5
 1.1.1.1.16.1 11-Dec-2008  matt file ar5212_interrupts.c was added on branch matt-nb5-mips64 on 2010-04-21 00:28:09 +0000
 1.1.1.1.14.1 21-Apr-2011  rmind sync with head
 1.1.1.1.10.2 07-Aug-2009  snj Apply patch (requested by jmcneill in ticket 775):
Update to the open source atheros HAL.
 1.1.1.1.10.1 11-Dec-2008  snj file ar5212_interrupts.c was added on branch netbsd-5 on 2009-08-07 06:43:42 +0000
 1.1.1.1.8.2 04-May-2009  yamt sync with head.
 1.1.1.1.8.1 11-Dec-2008  yamt file ar5212_interrupts.c was added on branch yamt-nfs-mp on 2009-05-04 08:13:39 +0000
 1.1.1.1.4.2 19-Jan-2009  skrll Sync with HEAD.
 1.1.1.1.4.1 11-Dec-2008  skrll file ar5212_interrupts.c was added on branch nick-hppapmap on 2009-01-19 13:19:26 +0000
 1.1.1.1.2.2 17-Jan-2009  mjf Sync with HEAD.
 1.1.1.1.2.1 11-Dec-2008  mjf file ar5212_interrupts.c was added on branch mjf-devfs2 on 2009-01-17 13:29:14 +0000
 1.1 11-Dec-2008  alc branches: 1.1.1;
Initial revision
 1.1.1.1 11-Dec-2008  alc branches: 1.1.1.1.2; 1.1.1.1.4; 1.1.1.1.8; 1.1.1.1.10; 1.1.1.1.16;
Import Atheros HAL, from FreeBSD (revision 185521)
 1.1.1.1.16.2 21-Apr-2010  matt sync to netbsd-5
 1.1.1.1.16.1 11-Dec-2008  matt file ar5212_keycache.c was added on branch matt-nb5-mips64 on 2010-04-21 00:28:09 +0000
 1.1.1.1.10.2 07-Aug-2009  snj Apply patch (requested by jmcneill in ticket 775):
Update to the open source atheros HAL.
 1.1.1.1.10.1 11-Dec-2008  snj file ar5212_keycache.c was added on branch netbsd-5 on 2009-08-07 06:43:42 +0000
 1.1.1.1.8.2 04-May-2009  yamt sync with head.
 1.1.1.1.8.1 11-Dec-2008  yamt file ar5212_keycache.c was added on branch yamt-nfs-mp on 2009-05-04 08:13:39 +0000
 1.1.1.1.4.2 19-Jan-2009  skrll Sync with HEAD.
 1.1.1.1.4.1 11-Dec-2008  skrll file ar5212_keycache.c was added on branch nick-hppapmap on 2009-01-19 13:19:26 +0000
 1.1.1.1.2.2 17-Jan-2009  mjf Sync with HEAD.
 1.1.1.1.2.1 11-Dec-2008  mjf file ar5212_keycache.c was added on branch mjf-devfs2 on 2009-01-17 13:29:14 +0000
 1.3 12-Feb-2012  wiz Use correct return value. From clang via Henning Petersen in PR 45995.
 1.2 07-Mar-2011  cegger branches: 1.2.4; 1.2.8;
Get improvements from FreeBSD-current (January 2011).
Successfully tested with WEP, WPA and WPA2 on AR9285.
Reviewed by jmcneill@
 1.1 11-Dec-2008  alc branches: 1.1.1;
Initial revision
 1.1.1.1 11-Dec-2008  alc branches: 1.1.1.1.2; 1.1.1.1.4; 1.1.1.1.8; 1.1.1.1.10; 1.1.1.1.14; 1.1.1.1.16; 1.1.1.1.18;
Import Atheros HAL, from FreeBSD (revision 185521)
 1.1.1.1.18.1 06-Jun-2011  jruoho Sync with HEAD.
 1.1.1.1.16.2 21-Apr-2010  matt sync to netbsd-5
 1.1.1.1.16.1 11-Dec-2008  matt file ar5212_misc.c was added on branch matt-nb5-mips64 on 2010-04-21 00:28:09 +0000
 1.1.1.1.14.1 21-Apr-2011  rmind sync with head
 1.1.1.1.10.2 07-Aug-2009  snj Apply patch (requested by jmcneill in ticket 775):
Update to the open source atheros HAL.
 1.1.1.1.10.1 11-Dec-2008  snj file ar5212_misc.c was added on branch netbsd-5 on 2009-08-07 06:43:42 +0000
 1.1.1.1.8.2 04-May-2009  yamt sync with head.
 1.1.1.1.8.1 11-Dec-2008  yamt file ar5212_misc.c was added on branch yamt-nfs-mp on 2009-05-04 08:13:40 +0000
 1.1.1.1.4.2 19-Jan-2009  skrll Sync with HEAD.
 1.1.1.1.4.1 11-Dec-2008  skrll file ar5212_misc.c was added on branch nick-hppapmap on 2009-01-19 13:19:26 +0000
 1.1.1.1.2.2 17-Jan-2009  mjf Sync with HEAD.
 1.1.1.1.2.1 11-Dec-2008  mjf file ar5212_misc.c was added on branch mjf-devfs2 on 2009-01-17 13:29:14 +0000
 1.2.8.1 18-Feb-2012  mrg merge to -current.
 1.2.4.1 17-Apr-2012  yamt sync with head
 1.2 11-Dec-2008  alc branches: 1.2.2; 1.2.4; 1.2.8; 1.2.10; 1.2.16;
Fix the build of the new HAL:

- constify link-set iterator
- do RF lookup only if any RF has been built
- fix global symbols shadowing
- const static -> static const
- don't redefine `uintptr_t'
- use `unsigned long' in __DECONST()
- fix AH_RF() macros
- __va_list -> va_list
- add missing struct trailing element
- add a few #ifdef AH_DEBUG block to avoid empty if() statement
- some other nits...
 1.1 11-Dec-2008  alc branches: 1.1.1;
Initial revision
 1.1.1.1 11-Dec-2008  alc Import Atheros HAL, from FreeBSD (revision 185521)
 1.2.16.2 21-Apr-2010  matt sync to netbsd-5
 1.2.16.1 11-Dec-2008  matt file ar5212_phy.c was added on branch matt-nb5-mips64 on 2010-04-21 00:28:09 +0000
 1.2.10.2 07-Aug-2009  snj Apply patch (requested by jmcneill in ticket 775):
Update to the open source atheros HAL.
 1.2.10.1 11-Dec-2008  snj file ar5212_phy.c was added on branch netbsd-5 on 2009-08-07 06:43:42 +0000
 1.2.8.2 04-May-2009  yamt sync with head.
 1.2.8.1 11-Dec-2008  yamt file ar5212_phy.c was added on branch yamt-nfs-mp on 2009-05-04 08:13:40 +0000
 1.2.4.2 19-Jan-2009  skrll Sync with HEAD.
 1.2.4.1 11-Dec-2008  skrll file ar5212_phy.c was added on branch nick-hppapmap on 2009-01-19 13:19:26 +0000
 1.2.2.2 17-Jan-2009  mjf Sync with HEAD.
 1.2.2.1 11-Dec-2008  mjf file ar5212_phy.c was added on branch mjf-devfs2 on 2009-01-17 13:29:14 +0000
 1.2 07-Mar-2011  cegger Get improvements from FreeBSD-current (January 2011).
Successfully tested with WEP, WPA and WPA2 on AR9285.
Reviewed by jmcneill@
 1.1 11-Dec-2008  alc branches: 1.1.1;
Initial revision
 1.1.1.1 11-Dec-2008  alc branches: 1.1.1.1.2; 1.1.1.1.4; 1.1.1.1.8; 1.1.1.1.10; 1.1.1.1.14; 1.1.1.1.16; 1.1.1.1.18;
Import Atheros HAL, from FreeBSD (revision 185521)
 1.1.1.1.18.1 06-Jun-2011  jruoho Sync with HEAD.
 1.1.1.1.16.2 21-Apr-2010  matt sync to netbsd-5
 1.1.1.1.16.1 11-Dec-2008  matt file ar5212_power.c was added on branch matt-nb5-mips64 on 2010-04-21 00:28:09 +0000
 1.1.1.1.14.1 21-Apr-2011  rmind sync with head
 1.1.1.1.10.2 07-Aug-2009  snj Apply patch (requested by jmcneill in ticket 775):
Update to the open source atheros HAL.
 1.1.1.1.10.1 11-Dec-2008  snj file ar5212_power.c was added on branch netbsd-5 on 2009-08-07 06:43:42 +0000
 1.1.1.1.8.2 04-May-2009  yamt sync with head.
 1.1.1.1.8.1 11-Dec-2008  yamt file ar5212_power.c was added on branch yamt-nfs-mp on 2009-05-04 08:13:40 +0000
 1.1.1.1.4.2 19-Jan-2009  skrll Sync with HEAD.
 1.1.1.1.4.1 11-Dec-2008  skrll file ar5212_power.c was added on branch nick-hppapmap on 2009-01-19 13:19:26 +0000
 1.1.1.1.2.2 17-Jan-2009  mjf Sync with HEAD.
 1.1.1.1.2.1 11-Dec-2008  mjf file ar5212_power.c was added on branch mjf-devfs2 on 2009-01-17 13:29:14 +0000
 1.2 07-Mar-2011  cegger Get improvements from FreeBSD-current (January 2011).
Successfully tested with WEP, WPA and WPA2 on AR9285.
Reviewed by jmcneill@
 1.1 11-Dec-2008  alc branches: 1.1.1;
Initial revision
 1.1.1.1 11-Dec-2008  alc branches: 1.1.1.1.2; 1.1.1.1.4; 1.1.1.1.8; 1.1.1.1.10; 1.1.1.1.14; 1.1.1.1.16; 1.1.1.1.18;
Import Atheros HAL, from FreeBSD (revision 185521)
 1.1.1.1.18.1 06-Jun-2011  jruoho Sync with HEAD.
 1.1.1.1.16.2 21-Apr-2010  matt sync to netbsd-5
 1.1.1.1.16.1 11-Dec-2008  matt file ar5212_recv.c was added on branch matt-nb5-mips64 on 2010-04-21 00:28:10 +0000
 1.1.1.1.14.1 21-Apr-2011  rmind sync with head
 1.1.1.1.10.2 07-Aug-2009  snj Apply patch (requested by jmcneill in ticket 775):
Update to the open source atheros HAL.
 1.1.1.1.10.1 11-Dec-2008  snj file ar5212_recv.c was added on branch netbsd-5 on 2009-08-07 06:43:43 +0000
 1.1.1.1.8.2 04-May-2009  yamt sync with head.
 1.1.1.1.8.1 11-Dec-2008  yamt file ar5212_recv.c was added on branch yamt-nfs-mp on 2009-05-04 08:13:40 +0000
 1.1.1.1.4.2 19-Jan-2009  skrll Sync with HEAD.
 1.1.1.1.4.1 11-Dec-2008  skrll file ar5212_recv.c was added on branch nick-hppapmap on 2009-01-19 13:19:26 +0000
 1.1.1.1.2.2 17-Jan-2009  mjf Sync with HEAD.
 1.1.1.1.2.1 11-Dec-2008  mjf file ar5212_recv.c was added on branch mjf-devfs2 on 2009-01-17 13:29:14 +0000
 1.5 27-Feb-2014  joerg abs on unsigned values is a nop.
 1.4 07-Mar-2011  cegger branches: 1.4.4; 1.4.14; 1.4.18;
Get improvements from FreeBSD-current (January 2011).
Successfully tested with WEP, WPA and WPA2 on AR9285.
Reviewed by jmcneill@
 1.3 20-Feb-2011  jmcneill add AR9280 support
 1.2 06-Jan-2009  mrg branches: 1.2.2; 1.2.4; 1.2.8; 1.2.10; 1.2.14; 1.2.16; 1.2.18; 1.2.20;
initialise some variables whined about by gcc -O3.
 1.1 11-Dec-2008  alc branches: 1.1.1;
Initial revision
 1.1.1.1 11-Dec-2008  alc Import Atheros HAL, from FreeBSD (revision 185521)
 1.2.20.1 05-Mar-2011  bouyer Sync with HEAD
 1.2.18.1 06-Jun-2011  jruoho Sync with HEAD.
 1.2.16.2 21-Apr-2010  matt sync to netbsd-5
 1.2.16.1 06-Jan-2009  matt file ar5212_reset.c was added on branch matt-nb5-mips64 on 2010-04-21 00:28:10 +0000
 1.2.14.2 21-Apr-2011  rmind sync with head
 1.2.14.1 05-Mar-2011  rmind sync with head
 1.2.10.2 07-Aug-2009  snj Apply patch (requested by jmcneill in ticket 775):
Update to the open source atheros HAL.
 1.2.10.1 06-Jan-2009  snj file ar5212_reset.c was added on branch netbsd-5 on 2009-08-07 06:43:43 +0000
 1.2.8.2 04-May-2009  yamt sync with head.
 1.2.8.1 06-Jan-2009  yamt file ar5212_reset.c was added on branch yamt-nfs-mp on 2009-05-04 08:13:40 +0000
 1.2.4.2 19-Jan-2009  skrll Sync with HEAD.
 1.2.4.1 06-Jan-2009  skrll file ar5212_reset.c was added on branch nick-hppapmap on 2009-01-19 13:19:26 +0000
 1.2.2.2 17-Jan-2009  mjf Sync with HEAD.
 1.2.2.1 06-Jan-2009  mjf file ar5212_reset.c was added on branch mjf-devfs2 on 2009-01-17 13:29:14 +0000
 1.4.18.1 18-May-2014  rmind sync with head
 1.4.14.1 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.4.4.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.1 11-Dec-2008  alc branches: 1.1.1;
Initial revision
 1.1.1.1 11-Dec-2008  alc branches: 1.1.1.1.2; 1.1.1.1.4; 1.1.1.1.8; 1.1.1.1.10; 1.1.1.1.16;
Import Atheros HAL, from FreeBSD (revision 185521)
 1.1.1.1.16.2 21-Apr-2010  matt sync to netbsd-5
 1.1.1.1.16.1 11-Dec-2008  matt file ar5212_rfgain.c was added on branch matt-nb5-mips64 on 2010-04-21 00:28:10 +0000
 1.1.1.1.10.2 07-Aug-2009  snj Apply patch (requested by jmcneill in ticket 775):
Update to the open source atheros HAL.
 1.1.1.1.10.1 11-Dec-2008  snj file ar5212_rfgain.c was added on branch netbsd-5 on 2009-08-07 06:43:43 +0000
 1.1.1.1.8.2 04-May-2009  yamt sync with head.
 1.1.1.1.8.1 11-Dec-2008  yamt file ar5212_rfgain.c was added on branch yamt-nfs-mp on 2009-05-04 08:13:40 +0000
 1.1.1.1.4.2 19-Jan-2009  skrll Sync with HEAD.
 1.1.1.1.4.1 11-Dec-2008  skrll file ar5212_rfgain.c was added on branch nick-hppapmap on 2009-01-19 13:19:26 +0000
 1.1.1.1.2.2 17-Jan-2009  mjf Sync with HEAD.
 1.1.1.1.2.1 11-Dec-2008  mjf file ar5212_rfgain.c was added on branch mjf-devfs2 on 2009-01-17 13:29:14 +0000
 1.5 19-Sep-2025  mrg convince GCC 14 that there won't be an array bounds issue.
 1.4 13-Apr-2021  mrg use correct enum types for various functions.
 1.3 07-Mar-2011  cegger branches: 1.3.70;
Get improvements from FreeBSD-current (January 2011).
Successfully tested with WEP, WPA and WPA2 on AR9285.
Reviewed by jmcneill@
 1.2 21-Feb-2011  cegger add AR9285 support
 1.1 11-Dec-2008  alc branches: 1.1.1;
Initial revision
 1.1.1.1 11-Dec-2008  alc branches: 1.1.1.1.2; 1.1.1.1.4; 1.1.1.1.8; 1.1.1.1.10; 1.1.1.1.14; 1.1.1.1.16; 1.1.1.1.18; 1.1.1.1.20;
Import Atheros HAL, from FreeBSD (revision 185521)
 1.1.1.1.20.1 05-Mar-2011  bouyer Sync with HEAD
 1.1.1.1.18.1 06-Jun-2011  jruoho Sync with HEAD.
 1.1.1.1.16.2 21-Apr-2010  matt sync to netbsd-5
 1.1.1.1.16.1 11-Dec-2008  matt file ar5212_xmit.c was added on branch matt-nb5-mips64 on 2010-04-21 00:28:10 +0000
 1.1.1.1.14.2 21-Apr-2011  rmind sync with head
 1.1.1.1.14.1 05-Mar-2011  rmind sync with head
 1.1.1.1.10.2 07-Aug-2009  snj Apply patch (requested by jmcneill in ticket 775):
Update to the open source atheros HAL.
 1.1.1.1.10.1 11-Dec-2008  snj file ar5212_xmit.c was added on branch netbsd-5 on 2009-08-07 06:43:43 +0000
 1.1.1.1.8.2 04-May-2009  yamt sync with head.
 1.1.1.1.8.1 11-Dec-2008  yamt file ar5212_xmit.c was added on branch yamt-nfs-mp on 2009-05-04 08:13:40 +0000
 1.1.1.1.4.2 19-Jan-2009  skrll Sync with HEAD.
 1.1.1.1.4.1 11-Dec-2008  skrll file ar5212_xmit.c was added on branch nick-hppapmap on 2009-01-19 13:19:27 +0000
 1.1.1.1.2.2 17-Jan-2009  mjf Sync with HEAD.
 1.1.1.1.2.1 11-Dec-2008  mjf file ar5212_xmit.c was added on branch mjf-devfs2 on 2009-01-17 13:29:14 +0000
 1.3.70.1 17-Apr-2021  thorpej Sync with HEAD.
 1.1 11-Dec-2008  alc branches: 1.1.1;
Initial revision
 1.1.1.1 11-Dec-2008  alc branches: 1.1.1.1.2; 1.1.1.1.4; 1.1.1.1.8; 1.1.1.1.10; 1.1.1.1.16;
Import Atheros HAL, from FreeBSD (revision 185521)
 1.1.1.1.16.2 21-Apr-2010  matt sync to netbsd-5
 1.1.1.1.16.1 11-Dec-2008  matt file ar5212desc.h was added on branch matt-nb5-mips64 on 2010-04-21 00:28:10 +0000
 1.1.1.1.10.2 07-Aug-2009  snj Apply patch (requested by jmcneill in ticket 775):
Update to the open source atheros HAL.
 1.1.1.1.10.1 11-Dec-2008  snj file ar5212desc.h was added on branch netbsd-5 on 2009-08-07 06:43:43 +0000
 1.1.1.1.8.2 04-May-2009  yamt sync with head.
 1.1.1.1.8.1 11-Dec-2008  yamt file ar5212desc.h was added on branch yamt-nfs-mp on 2009-05-04 08:13:40 +0000
 1.1.1.1.4.2 19-Jan-2009  skrll Sync with HEAD.
 1.1.1.1.4.1 11-Dec-2008  skrll file ar5212desc.h was added on branch nick-hppapmap on 2009-01-19 13:19:27 +0000
 1.1.1.1.2.2 17-Jan-2009  mjf Sync with HEAD.
 1.1.1.1.2.1 11-Dec-2008  mjf file ar5212desc.h was added on branch mjf-devfs2 on 2009-01-17 13:29:14 +0000
 1.1 11-Dec-2008  alc branches: 1.1.1;
Initial revision
 1.1.1.1 11-Dec-2008  alc branches: 1.1.1.1.2; 1.1.1.1.4; 1.1.1.1.8; 1.1.1.1.10; 1.1.1.1.16;
Import Atheros HAL, from FreeBSD (revision 185521)
 1.1.1.1.16.2 21-Apr-2010  matt sync to netbsd-5
 1.1.1.1.16.1 11-Dec-2008  matt file ar5212phy.h was added on branch matt-nb5-mips64 on 2010-04-21 00:28:10 +0000
 1.1.1.1.10.2 07-Aug-2009  snj Apply patch (requested by jmcneill in ticket 775):
Update to the open source atheros HAL.
 1.1.1.1.10.1 11-Dec-2008  snj file ar5212phy.h was added on branch netbsd-5 on 2009-08-07 06:43:43 +0000
 1.1.1.1.8.2 04-May-2009  yamt sync with head.
 1.1.1.1.8.1 11-Dec-2008  yamt file ar5212phy.h was added on branch yamt-nfs-mp on 2009-05-04 08:13:40 +0000
 1.1.1.1.4.2 19-Jan-2009  skrll Sync with HEAD.
 1.1.1.1.4.1 11-Dec-2008  skrll file ar5212phy.h was added on branch nick-hppapmap on 2009-01-19 13:19:27 +0000
 1.1.1.1.2.2 17-Jan-2009  mjf Sync with HEAD.
 1.1.1.1.2.1 11-Dec-2008  mjf file ar5212phy.h was added on branch mjf-devfs2 on 2009-01-17 13:29:14 +0000
 1.2 07-Mar-2011  cegger Get improvements from FreeBSD-current (January 2011).
Successfully tested with WEP, WPA and WPA2 on AR9285.
Reviewed by jmcneill@
 1.1 11-Dec-2008  alc branches: 1.1.1;
Initial revision
 1.1.1.1 11-Dec-2008  alc branches: 1.1.1.1.2; 1.1.1.1.4; 1.1.1.1.8; 1.1.1.1.10; 1.1.1.1.14; 1.1.1.1.16; 1.1.1.1.18;
Import Atheros HAL, from FreeBSD (revision 185521)
 1.1.1.1.18.1 06-Jun-2011  jruoho Sync with HEAD.
 1.1.1.1.16.2 21-Apr-2010  matt sync to netbsd-5
 1.1.1.1.16.1 11-Dec-2008  matt file ar5212reg.h was added on branch matt-nb5-mips64 on 2010-04-21 00:28:10 +0000
 1.1.1.1.14.1 21-Apr-2011  rmind sync with head
 1.1.1.1.10.2 07-Aug-2009  snj Apply patch (requested by jmcneill in ticket 775):
Update to the open source atheros HAL.
 1.1.1.1.10.1 11-Dec-2008  snj file ar5212reg.h was added on branch netbsd-5 on 2009-08-07 06:43:43 +0000
 1.1.1.1.8.2 04-May-2009  yamt sync with head.
 1.1.1.1.8.1 11-Dec-2008  yamt file ar5212reg.h was added on branch yamt-nfs-mp on 2009-05-04 08:13:40 +0000
 1.1.1.1.4.2 19-Jan-2009  skrll Sync with HEAD.
 1.1.1.1.4.1 11-Dec-2008  skrll file ar5212reg.h was added on branch nick-hppapmap on 2009-01-19 13:19:27 +0000
 1.1.1.1.2.2 17-Jan-2009  mjf Sync with HEAD.
 1.1.1.1.2.1 11-Dec-2008  mjf file ar5212reg.h was added on branch mjf-devfs2 on 2009-01-17 13:29:14 +0000
 1.1 11-Dec-2008  alc branches: 1.1.1;
Initial revision
 1.1.1.1 11-Dec-2008  alc branches: 1.1.1.1.2; 1.1.1.1.4; 1.1.1.1.8; 1.1.1.1.10; 1.1.1.1.16;
Import Atheros HAL, from FreeBSD (revision 185521)
 1.1.1.1.16.2 21-Apr-2010  matt sync to netbsd-5
 1.1.1.1.16.1 11-Dec-2008  matt file ar5311reg.h was added on branch matt-nb5-mips64 on 2010-04-21 00:28:10 +0000
 1.1.1.1.10.2 07-Aug-2009  snj Apply patch (requested by jmcneill in ticket 775):
Update to the open source atheros HAL.
 1.1.1.1.10.1 11-Dec-2008  snj file ar5311reg.h was added on branch netbsd-5 on 2009-08-07 06:43:44 +0000
 1.1.1.1.8.2 04-May-2009  yamt sync with head.
 1.1.1.1.8.1 11-Dec-2008  yamt file ar5311reg.h was added on branch yamt-nfs-mp on 2009-05-04 08:13:40 +0000
 1.1.1.1.4.2 19-Jan-2009  skrll Sync with HEAD.
 1.1.1.1.4.1 11-Dec-2008  skrll file ar5311reg.h was added on branch nick-hppapmap on 2009-01-19 13:19:27 +0000
 1.1.1.1.2.2 17-Jan-2009  mjf Sync with HEAD.
 1.1.1.1.2.1 11-Dec-2008  mjf file ar5311reg.h was added on branch mjf-devfs2 on 2009-01-17 13:29:14 +0000
 1.4 12-Sep-2013  martin Remove unused variable
 1.3 20-Feb-2011  jmcneill branches: 1.3.4; 1.3.14; 1.3.18;
add AR9280 support
 1.2 06-Jan-2009  mrg branches: 1.2.2; 1.2.4; 1.2.8; 1.2.10; 1.2.14; 1.2.16; 1.2.18; 1.2.20;
initialise some variables whined about by gcc -O3.
 1.1 11-Dec-2008  alc branches: 1.1.1;
Initial revision
 1.1.1.1 11-Dec-2008  alc Import Atheros HAL, from FreeBSD (revision 185521)
 1.2.20.1 05-Mar-2011  bouyer Sync with HEAD
 1.2.18.1 06-Jun-2011  jruoho Sync with HEAD.
 1.2.16.2 21-Apr-2010  matt sync to netbsd-5
 1.2.16.1 06-Jan-2009  matt file ar5413.c was added on branch matt-nb5-mips64 on 2010-04-21 00:28:10 +0000
 1.2.14.1 05-Mar-2011  rmind sync with head
 1.2.10.2 07-Aug-2009  snj Apply patch (requested by jmcneill in ticket 775):
Update to the open source atheros HAL.
 1.2.10.1 06-Jan-2009  snj file ar5413.c was added on branch netbsd-5 on 2009-08-07 06:43:44 +0000
 1.2.8.2 04-May-2009  yamt sync with head.
 1.2.8.1 06-Jan-2009  yamt file ar5413.c was added on branch yamt-nfs-mp on 2009-05-04 08:13:40 +0000
 1.2.4.2 19-Jan-2009  skrll Sync with HEAD.
 1.2.4.1 06-Jan-2009  skrll file ar5413.c was added on branch nick-hppapmap on 2009-01-19 13:19:27 +0000
 1.2.2.2 17-Jan-2009  mjf Sync with HEAD.
 1.2.2.1 06-Jan-2009  mjf file ar5413.c was added on branch mjf-devfs2 on 2009-01-17 13:29:14 +0000
 1.3.18.1 18-May-2014  rmind sync with head
 1.3.14.1 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.3.4.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.3 07-Mar-2011  cegger Get improvements from FreeBSD-current (January 2011).
Successfully tested with WEP, WPA and WPA2 on AR9285.
Reviewed by jmcneill@
 1.2 11-Dec-2008  alc branches: 1.2.2; 1.2.4; 1.2.8; 1.2.10; 1.2.14; 1.2.16; 1.2.18;
Fix the build of the new HAL:

- constify link-set iterator
- do RF lookup only if any RF has been built
- fix global symbols shadowing
- const static -> static const
- don't redefine `uintptr_t'
- use `unsigned long' in __DECONST()
- fix AH_RF() macros
- __va_list -> va_list
- add missing struct trailing element
- add a few #ifdef AH_DEBUG block to avoid empty if() statement
- some other nits...
 1.1 11-Dec-2008  alc branches: 1.1.1;
Initial revision
 1.1.1.1 11-Dec-2008  alc Import Atheros HAL, from FreeBSD (revision 185521)
 1.2.18.1 06-Jun-2011  jruoho Sync with HEAD.
 1.2.16.2 21-Apr-2010  matt sync to netbsd-5
 1.2.16.1 11-Dec-2008  matt file ar5312.h was added on branch matt-nb5-mips64 on 2010-04-21 00:28:10 +0000
 1.2.14.1 21-Apr-2011  rmind sync with head
 1.2.10.2 07-Aug-2009  snj Apply patch (requested by jmcneill in ticket 775):
Update to the open source atheros HAL.
 1.2.10.1 11-Dec-2008  snj file ar5312.h was added on branch netbsd-5 on 2009-08-07 06:43:44 +0000
 1.2.8.2 04-May-2009  yamt sync with head.
 1.2.8.1 11-Dec-2008  yamt file ar5312.h was added on branch yamt-nfs-mp on 2009-05-04 08:13:40 +0000
 1.2.4.2 19-Jan-2009  skrll Sync with HEAD.
 1.2.4.1 11-Dec-2008  skrll file ar5312.h was added on branch nick-hppapmap on 2009-01-19 13:19:30 +0000
 1.2.2.2 17-Jan-2009  mjf Sync with HEAD.
 1.2.2.1 11-Dec-2008  mjf file ar5312.h was added on branch mjf-devfs2 on 2009-01-17 13:29:14 +0000
 1.3 07-Mar-2011  cegger Get improvements from FreeBSD-current (January 2011).
Successfully tested with WEP, WPA and WPA2 on AR9285.
Reviewed by jmcneill@
 1.2 11-Dec-2008  alc branches: 1.2.2; 1.2.4; 1.2.8; 1.2.10; 1.2.14; 1.2.16; 1.2.18;
Fix the build of the new HAL:

- constify link-set iterator
- do RF lookup only if any RF has been built
- fix global symbols shadowing
- const static -> static const
- don't redefine `uintptr_t'
- use `unsigned long' in __DECONST()
- fix AH_RF() macros
- __va_list -> va_list
- add missing struct trailing element
- add a few #ifdef AH_DEBUG block to avoid empty if() statement
- some other nits...
 1.1 11-Dec-2008  alc branches: 1.1.1;
Initial revision
 1.1.1.1 11-Dec-2008  alc Import Atheros HAL, from FreeBSD (revision 185521)
 1.2.18.1 06-Jun-2011  jruoho Sync with HEAD.
 1.2.16.2 21-Apr-2010  matt sync to netbsd-5
 1.2.16.1 11-Dec-2008  matt file ar5312_attach.c was added on branch matt-nb5-mips64 on 2010-04-21 00:28:10 +0000
 1.2.14.1 21-Apr-2011  rmind sync with head
 1.2.10.2 07-Aug-2009  snj Apply patch (requested by jmcneill in ticket 775):
Update to the open source atheros HAL.
 1.2.10.1 11-Dec-2008  snj file ar5312_attach.c was added on branch netbsd-5 on 2009-08-07 06:43:44 +0000
 1.2.8.2 04-May-2009  yamt sync with head.
 1.2.8.1 11-Dec-2008  yamt file ar5312_attach.c was added on branch yamt-nfs-mp on 2009-05-04 08:13:40 +0000
 1.2.4.2 19-Jan-2009  skrll Sync with HEAD.
 1.2.4.1 11-Dec-2008  skrll file ar5312_attach.c was added on branch nick-hppapmap on 2009-01-19 13:19:30 +0000
 1.2.2.2 17-Jan-2009  mjf Sync with HEAD.
 1.2.2.1 11-Dec-2008  mjf file ar5312_attach.c was added on branch mjf-devfs2 on 2009-01-17 13:29:14 +0000
 1.1 11-Dec-2008  alc branches: 1.1.1;
Initial revision
 1.1.1.1 11-Dec-2008  alc branches: 1.1.1.1.2; 1.1.1.1.4; 1.1.1.1.8; 1.1.1.1.10; 1.1.1.1.16;
Import Atheros HAL, from FreeBSD (revision 185521)
 1.1.1.1.16.2 21-Apr-2010  matt sync to netbsd-5
 1.1.1.1.16.1 11-Dec-2008  matt file ar5312_eeprom.c was added on branch matt-nb5-mips64 on 2010-04-21 00:28:10 +0000
 1.1.1.1.10.2 07-Aug-2009  snj Apply patch (requested by jmcneill in ticket 775):
Update to the open source atheros HAL.
 1.1.1.1.10.1 11-Dec-2008  snj file ar5312_eeprom.c was added on branch netbsd-5 on 2009-08-07 06:43:44 +0000
 1.1.1.1.8.2 04-May-2009  yamt sync with head.
 1.1.1.1.8.1 11-Dec-2008  yamt file ar5312_eeprom.c was added on branch yamt-nfs-mp on 2009-05-04 08:13:40 +0000
 1.1.1.1.4.2 19-Jan-2009  skrll Sync with HEAD.
 1.1.1.1.4.1 11-Dec-2008  skrll file ar5312_eeprom.c was added on branch nick-hppapmap on 2009-01-19 13:19:30 +0000
 1.1.1.1.2.2 17-Jan-2009  mjf Sync with HEAD.
 1.1.1.1.2.1 11-Dec-2008  mjf file ar5312_eeprom.c was added on branch mjf-devfs2 on 2009-01-17 13:29:14 +0000
 1.2 07-Mar-2011  cegger Get improvements from FreeBSD-current (January 2011).
Successfully tested with WEP, WPA and WPA2 on AR9285.
Reviewed by jmcneill@
 1.1 11-Dec-2008  alc branches: 1.1.1;
Initial revision
 1.1.1.1 11-Dec-2008  alc branches: 1.1.1.1.2; 1.1.1.1.4; 1.1.1.1.8; 1.1.1.1.10; 1.1.1.1.14; 1.1.1.1.16; 1.1.1.1.18;
Import Atheros HAL, from FreeBSD (revision 185521)
 1.1.1.1.18.1 06-Jun-2011  jruoho Sync with HEAD.
 1.1.1.1.16.2 21-Apr-2010  matt sync to netbsd-5
 1.1.1.1.16.1 11-Dec-2008  matt file ar5312_gpio.c was added on branch matt-nb5-mips64 on 2010-04-21 00:28:10 +0000
 1.1.1.1.14.1 21-Apr-2011  rmind sync with head
 1.1.1.1.10.2 07-Aug-2009  snj Apply patch (requested by jmcneill in ticket 775):
Update to the open source atheros HAL.
 1.1.1.1.10.1 11-Dec-2008  snj file ar5312_gpio.c was added on branch netbsd-5 on 2009-08-07 06:43:44 +0000
 1.1.1.1.8.2 04-May-2009  yamt sync with head.
 1.1.1.1.8.1 11-Dec-2008  yamt file ar5312_gpio.c was added on branch yamt-nfs-mp on 2009-05-04 08:13:40 +0000
 1.1.1.1.4.2 19-Jan-2009  skrll Sync with HEAD.
 1.1.1.1.4.1 11-Dec-2008  skrll file ar5312_gpio.c was added on branch nick-hppapmap on 2009-01-19 13:19:30 +0000
 1.1.1.1.2.2 17-Jan-2009  mjf Sync with HEAD.
 1.1.1.1.2.1 11-Dec-2008  mjf file ar5312_gpio.c was added on branch mjf-devfs2 on 2009-01-17 13:29:14 +0000
 1.1 11-Dec-2008  alc branches: 1.1.1;
Initial revision
 1.1.1.1 11-Dec-2008  alc branches: 1.1.1.1.2; 1.1.1.1.4; 1.1.1.1.8; 1.1.1.1.10; 1.1.1.1.16;
Import Atheros HAL, from FreeBSD (revision 185521)
 1.1.1.1.16.2 21-Apr-2010  matt sync to netbsd-5
 1.1.1.1.16.1 11-Dec-2008  matt file ar5312_interrupts.c was added on branch matt-nb5-mips64 on 2010-04-21 00:28:10 +0000
 1.1.1.1.10.2 07-Aug-2009  snj Apply patch (requested by jmcneill in ticket 775):
Update to the open source atheros HAL.
 1.1.1.1.10.1 11-Dec-2008  snj file ar5312_interrupts.c was added on branch netbsd-5 on 2009-08-07 06:43:44 +0000
 1.1.1.1.8.2 04-May-2009  yamt sync with head.
 1.1.1.1.8.1 11-Dec-2008  yamt file ar5312_interrupts.c was added on branch yamt-nfs-mp on 2009-05-04 08:13:40 +0000
 1.1.1.1.4.2 19-Jan-2009  skrll Sync with HEAD.
 1.1.1.1.4.1 11-Dec-2008  skrll file ar5312_interrupts.c was added on branch nick-hppapmap on 2009-01-19 13:19:30 +0000
 1.1.1.1.2.2 17-Jan-2009  mjf Sync with HEAD.
 1.1.1.1.2.1 11-Dec-2008  mjf file ar5312_interrupts.c was added on branch mjf-devfs2 on 2009-01-17 13:29:14 +0000
 1.1 11-Dec-2008  alc branches: 1.1.1;
Initial revision
 1.1.1.1 11-Dec-2008  alc branches: 1.1.1.1.2; 1.1.1.1.4; 1.1.1.1.8; 1.1.1.1.10; 1.1.1.1.16;
Import Atheros HAL, from FreeBSD (revision 185521)
 1.1.1.1.16.2 21-Apr-2010  matt sync to netbsd-5
 1.1.1.1.16.1 11-Dec-2008  matt file ar5312_misc.c was added on branch matt-nb5-mips64 on 2010-04-21 00:28:10 +0000
 1.1.1.1.10.2 07-Aug-2009  snj Apply patch (requested by jmcneill in ticket 775):
Update to the open source atheros HAL.
 1.1.1.1.10.1 11-Dec-2008  snj file ar5312_misc.c was added on branch netbsd-5 on 2009-08-07 06:43:45 +0000
 1.1.1.1.8.2 04-May-2009  yamt sync with head.
 1.1.1.1.8.1 11-Dec-2008  yamt file ar5312_misc.c was added on branch yamt-nfs-mp on 2009-05-04 08:13:40 +0000
 1.1.1.1.4.2 19-Jan-2009  skrll Sync with HEAD.
 1.1.1.1.4.1 11-Dec-2008  skrll file ar5312_misc.c was added on branch nick-hppapmap on 2009-01-19 13:19:30 +0000
 1.1.1.1.2.2 17-Jan-2009  mjf Sync with HEAD.
 1.1.1.1.2.1 11-Dec-2008  mjf file ar5312_misc.c was added on branch mjf-devfs2 on 2009-01-17 13:29:14 +0000
 1.1 11-Dec-2008  alc branches: 1.1.1;
Initial revision
 1.1.1.1 11-Dec-2008  alc branches: 1.1.1.1.2; 1.1.1.1.4; 1.1.1.1.8; 1.1.1.1.10; 1.1.1.1.16;
Import Atheros HAL, from FreeBSD (revision 185521)
 1.1.1.1.16.2 21-Apr-2010  matt sync to netbsd-5
 1.1.1.1.16.1 11-Dec-2008  matt file ar5312_power.c was added on branch matt-nb5-mips64 on 2010-04-21 00:28:11 +0000
 1.1.1.1.10.2 07-Aug-2009  snj Apply patch (requested by jmcneill in ticket 775):
Update to the open source atheros HAL.
 1.1.1.1.10.1 11-Dec-2008  snj file ar5312_power.c was added on branch netbsd-5 on 2009-08-07 06:43:45 +0000
 1.1.1.1.8.2 04-May-2009  yamt sync with head.
 1.1.1.1.8.1 11-Dec-2008  yamt file ar5312_power.c was added on branch yamt-nfs-mp on 2009-05-04 08:13:40 +0000
 1.1.1.1.4.2 19-Jan-2009  skrll Sync with HEAD.
 1.1.1.1.4.1 11-Dec-2008  skrll file ar5312_power.c was added on branch nick-hppapmap on 2009-01-19 13:19:30 +0000
 1.1.1.1.2.2 17-Jan-2009  mjf Sync with HEAD.
 1.1.1.1.2.1 11-Dec-2008  mjf file ar5312_power.c was added on branch mjf-devfs2 on 2009-01-17 13:29:14 +0000
 1.2 07-Mar-2011  cegger Get improvements from FreeBSD-current (January 2011).
Successfully tested with WEP, WPA and WPA2 on AR9285.
Reviewed by jmcneill@
 1.1 11-Dec-2008  alc branches: 1.1.1;
Initial revision
 1.1.1.1 11-Dec-2008  alc branches: 1.1.1.1.2; 1.1.1.1.4; 1.1.1.1.8; 1.1.1.1.10; 1.1.1.1.14; 1.1.1.1.16; 1.1.1.1.18;
Import Atheros HAL, from FreeBSD (revision 185521)
 1.1.1.1.18.1 06-Jun-2011  jruoho Sync with HEAD.
 1.1.1.1.16.2 21-Apr-2010  matt sync to netbsd-5
 1.1.1.1.16.1 11-Dec-2008  matt file ar5312_reset.c was added on branch matt-nb5-mips64 on 2010-04-21 00:28:11 +0000
 1.1.1.1.14.1 21-Apr-2011  rmind sync with head
 1.1.1.1.10.2 07-Aug-2009  snj Apply patch (requested by jmcneill in ticket 775):
Update to the open source atheros HAL.
 1.1.1.1.10.1 11-Dec-2008  snj file ar5312_reset.c was added on branch netbsd-5 on 2009-08-07 06:43:45 +0000
 1.1.1.1.8.2 04-May-2009  yamt sync with head.
 1.1.1.1.8.1 11-Dec-2008  yamt file ar5312_reset.c was added on branch yamt-nfs-mp on 2009-05-04 08:13:40 +0000
 1.1.1.1.4.2 19-Jan-2009  skrll Sync with HEAD.
 1.1.1.1.4.1 11-Dec-2008  skrll file ar5312_reset.c was added on branch nick-hppapmap on 2009-01-19 13:19:31 +0000
 1.1.1.1.2.2 17-Jan-2009  mjf Sync with HEAD.
 1.1.1.1.2.1 11-Dec-2008  mjf file ar5312_reset.c was added on branch mjf-devfs2 on 2009-01-17 13:29:14 +0000
 1.1 11-Dec-2008  alc branches: 1.1.1;
Initial revision
 1.1.1.1 11-Dec-2008  alc branches: 1.1.1.1.2; 1.1.1.1.4; 1.1.1.1.8; 1.1.1.1.10; 1.1.1.1.16;
Import Atheros HAL, from FreeBSD (revision 185521)
 1.1.1.1.16.2 21-Apr-2010  matt sync to netbsd-5
 1.1.1.1.16.1 11-Dec-2008  matt file ar5312phy.h was added on branch matt-nb5-mips64 on 2010-04-21 00:28:11 +0000
 1.1.1.1.10.2 07-Aug-2009  snj Apply patch (requested by jmcneill in ticket 775):
Update to the open source atheros HAL.
 1.1.1.1.10.1 11-Dec-2008  snj file ar5312phy.h was added on branch netbsd-5 on 2009-08-07 06:43:45 +0000
 1.1.1.1.8.2 04-May-2009  yamt sync with head.
 1.1.1.1.8.1 11-Dec-2008  yamt file ar5312phy.h was added on branch yamt-nfs-mp on 2009-05-04 08:13:40 +0000
 1.1.1.1.4.2 19-Jan-2009  skrll Sync with HEAD.
 1.1.1.1.4.1 11-Dec-2008  skrll file ar5312phy.h was added on branch nick-hppapmap on 2009-01-19 13:19:31 +0000
 1.1.1.1.2.2 17-Jan-2009  mjf Sync with HEAD.
 1.1.1.1.2.1 11-Dec-2008  mjf file ar5312phy.h was added on branch mjf-devfs2 on 2009-01-17 13:29:15 +0000
 1.1 11-Dec-2008  alc branches: 1.1.1;
Initial revision
 1.1.1.1 11-Dec-2008  alc branches: 1.1.1.1.2; 1.1.1.1.4; 1.1.1.1.8; 1.1.1.1.10; 1.1.1.1.16;
Import Atheros HAL, from FreeBSD (revision 185521)
 1.1.1.1.16.2 21-Apr-2010  matt sync to netbsd-5
 1.1.1.1.16.1 11-Dec-2008  matt file ar5312reg.h was added on branch matt-nb5-mips64 on 2010-04-21 00:28:11 +0000
 1.1.1.1.10.2 07-Aug-2009  snj Apply patch (requested by jmcneill in ticket 775):
Update to the open source atheros HAL.
 1.1.1.1.10.1 11-Dec-2008  snj file ar5312reg.h was added on branch netbsd-5 on 2009-08-07 06:43:45 +0000
 1.1.1.1.8.2 04-May-2009  yamt sync with head.
 1.1.1.1.8.1 11-Dec-2008  yamt file ar5312reg.h was added on branch yamt-nfs-mp on 2009-05-04 08:13:40 +0000
 1.1.1.1.4.2 19-Jan-2009  skrll Sync with HEAD.
 1.1.1.1.4.1 11-Dec-2008  skrll file ar5312reg.h was added on branch nick-hppapmap on 2009-01-19 13:19:31 +0000
 1.1.1.1.2.2 17-Jan-2009  mjf Sync with HEAD.
 1.1.1.1.2.1 11-Dec-2008  mjf file ar5312reg.h was added on branch mjf-devfs2 on 2009-01-17 13:29:15 +0000
 1.2 07-Mar-2011  cegger Get improvements from FreeBSD-current (January 2011).
Successfully tested with WEP, WPA and WPA2 on AR9285.
Reviewed by jmcneill@
 1.1 11-Dec-2008  alc branches: 1.1.1;
Initial revision
 1.1.1.1 11-Dec-2008  alc branches: 1.1.1.1.2; 1.1.1.1.4; 1.1.1.1.8; 1.1.1.1.10; 1.1.1.1.14; 1.1.1.1.16; 1.1.1.1.18;
Import Atheros HAL, from FreeBSD (revision 185521)
 1.1.1.1.18.1 06-Jun-2011  jruoho Sync with HEAD.
 1.1.1.1.16.2 21-Apr-2010  matt sync to netbsd-5
 1.1.1.1.16.1 11-Dec-2008  matt file ar5315_gpio.c was added on branch matt-nb5-mips64 on 2010-04-21 00:28:11 +0000
 1.1.1.1.14.1 21-Apr-2011  rmind sync with head
 1.1.1.1.10.2 07-Aug-2009  snj Apply patch (requested by jmcneill in ticket 775):
Update to the open source atheros HAL.
 1.1.1.1.10.1 11-Dec-2008  snj file ar5315_gpio.c was added on branch netbsd-5 on 2009-08-07 06:43:45 +0000
 1.1.1.1.8.2 04-May-2009  yamt sync with head.
 1.1.1.1.8.1 11-Dec-2008  yamt file ar5315_gpio.c was added on branch yamt-nfs-mp on 2009-05-04 08:13:40 +0000
 1.1.1.1.4.2 19-Jan-2009  skrll Sync with HEAD.
 1.1.1.1.4.1 11-Dec-2008  skrll file ar5315_gpio.c was added on branch nick-hppapmap on 2009-01-19 13:19:31 +0000
 1.1.1.1.2.2 17-Jan-2009  mjf Sync with HEAD.
 1.1.1.1.2.1 11-Dec-2008  mjf file ar5315_gpio.c was added on branch mjf-devfs2 on 2009-01-17 13:29:15 +0000
 1.1 11-Dec-2008  alc branches: 1.1.1;
Initial revision
 1.1.1.1 11-Dec-2008  alc branches: 1.1.1.1.2; 1.1.1.1.4; 1.1.1.1.8; 1.1.1.1.10; 1.1.1.1.16;
Import Atheros HAL, from FreeBSD (revision 185521)
 1.1.1.1.16.2 21-Apr-2010  matt sync to netbsd-5
 1.1.1.1.16.1 11-Dec-2008  matt file ar2133.c was added on branch matt-nb5-mips64 on 2010-04-21 00:28:11 +0000
 1.1.1.1.10.2 07-Aug-2009  snj Apply patch (requested by jmcneill in ticket 775):
Update to the open source atheros HAL.
 1.1.1.1.10.1 11-Dec-2008  snj file ar2133.c was added on branch netbsd-5 on 2009-08-07 06:43:46 +0000
 1.1.1.1.8.2 04-May-2009  yamt sync with head.
 1.1.1.1.8.1 11-Dec-2008  yamt file ar2133.c was added on branch yamt-nfs-mp on 2009-05-04 08:13:40 +0000
 1.1.1.1.4.2 19-Jan-2009  skrll Sync with HEAD.
 1.1.1.1.4.1 11-Dec-2008  skrll file ar2133.c was added on branch nick-hppapmap on 2009-01-19 13:19:31 +0000
 1.1.1.1.2.2 17-Jan-2009  mjf Sync with HEAD.
 1.1.1.1.2.1 11-Dec-2008  mjf file ar2133.c was added on branch mjf-devfs2 on 2009-01-17 13:29:15 +0000
 1.4 07-Mar-2011  cegger Get improvements from FreeBSD-current (January 2011).
Successfully tested with WEP, WPA and WPA2 on AR9285.
Reviewed by jmcneill@
 1.3 21-Feb-2011  cegger add AR9285 support
 1.2 20-Feb-2011  jmcneill add AR9280 support
 1.1 11-Dec-2008  alc branches: 1.1.1;
Initial revision
 1.1.1.1 11-Dec-2008  alc branches: 1.1.1.1.2; 1.1.1.1.4; 1.1.1.1.8; 1.1.1.1.10; 1.1.1.1.14; 1.1.1.1.16; 1.1.1.1.18; 1.1.1.1.20;
Import Atheros HAL, from FreeBSD (revision 185521)
 1.1.1.1.20.1 05-Mar-2011  bouyer Sync with HEAD
 1.1.1.1.18.1 06-Jun-2011  jruoho Sync with HEAD.
 1.1.1.1.16.2 21-Apr-2010  matt sync to netbsd-5
 1.1.1.1.16.1 11-Dec-2008  matt file ar5416.h was added on branch matt-nb5-mips64 on 2010-04-21 00:28:11 +0000
 1.1.1.1.14.2 21-Apr-2011  rmind sync with head
 1.1.1.1.14.1 05-Mar-2011  rmind sync with head
 1.1.1.1.10.2 07-Aug-2009  snj Apply patch (requested by jmcneill in ticket 775):
Update to the open source atheros HAL.
 1.1.1.1.10.1 11-Dec-2008  snj file ar5416.h was added on branch netbsd-5 on 2009-08-07 06:43:46 +0000
 1.1.1.1.8.2 04-May-2009  yamt sync with head.
 1.1.1.1.8.1 11-Dec-2008  yamt file ar5416.h was added on branch yamt-nfs-mp on 2009-05-04 08:13:41 +0000
 1.1.1.1.4.2 19-Jan-2009  skrll Sync with HEAD.
 1.1.1.1.4.1 11-Dec-2008  skrll file ar5416.h was added on branch nick-hppapmap on 2009-01-19 13:19:31 +0000
 1.1.1.1.2.2 17-Jan-2009  mjf Sync with HEAD.
 1.1.1.1.2.1 11-Dec-2008  mjf file ar5416.h was added on branch mjf-devfs2 on 2009-01-17 13:29:15 +0000
 1.2 20-Feb-2011  jmcneill add AR9280 support
 1.1 11-Dec-2008  alc branches: 1.1.1;
Initial revision
 1.1.1.1 11-Dec-2008  alc branches: 1.1.1.1.2; 1.1.1.1.4; 1.1.1.1.8; 1.1.1.1.10; 1.1.1.1.14; 1.1.1.1.16; 1.1.1.1.18; 1.1.1.1.20;
Import Atheros HAL, from FreeBSD (revision 185521)
 1.1.1.1.20.1 05-Mar-2011  bouyer Sync with HEAD
 1.1.1.1.18.1 06-Jun-2011  jruoho Sync with HEAD.
 1.1.1.1.16.2 21-Apr-2010  matt sync to netbsd-5
 1.1.1.1.16.1 11-Dec-2008  matt file ar5416.ini was added on branch matt-nb5-mips64 on 2010-04-21 00:28:11 +0000
 1.1.1.1.14.1 05-Mar-2011  rmind sync with head
 1.1.1.1.10.2 07-Aug-2009  snj Apply patch (requested by jmcneill in ticket 775):
Update to the open source atheros HAL.
 1.1.1.1.10.1 11-Dec-2008  snj file ar5416.ini was added on branch netbsd-5 on 2009-08-07 06:43:46 +0000
 1.1.1.1.8.2 04-May-2009  yamt sync with head.
 1.1.1.1.8.1 11-Dec-2008  yamt file ar5416.ini was added on branch yamt-nfs-mp on 2009-05-04 08:13:41 +0000
 1.1.1.1.4.2 19-Jan-2009  skrll Sync with HEAD.
 1.1.1.1.4.1 11-Dec-2008  skrll file ar5416.ini was added on branch nick-hppapmap on 2009-01-19 13:19:31 +0000
 1.1.1.1.2.2 17-Jan-2009  mjf Sync with HEAD.
 1.1.1.1.2.1 11-Dec-2008  mjf file ar5416.ini was added on branch mjf-devfs2 on 2009-01-17 13:29:15 +0000
 1.2 07-Mar-2011  cegger Get improvements from FreeBSD-current (January 2011).
Successfully tested with WEP, WPA and WPA2 on AR9285.
Reviewed by jmcneill@
 1.1 11-Dec-2008  alc branches: 1.1.1;
Initial revision
 1.1.1.1 11-Dec-2008  alc branches: 1.1.1.1.2; 1.1.1.1.4; 1.1.1.1.8; 1.1.1.1.10; 1.1.1.1.14; 1.1.1.1.16; 1.1.1.1.18;
Import Atheros HAL, from FreeBSD (revision 185521)
 1.1.1.1.18.1 06-Jun-2011  jruoho Sync with HEAD.
 1.1.1.1.16.2 21-Apr-2010  matt sync to netbsd-5
 1.1.1.1.16.1 11-Dec-2008  matt file ar5416_ani.c was added on branch matt-nb5-mips64 on 2010-04-21 00:28:11 +0000
 1.1.1.1.14.1 21-Apr-2011  rmind sync with head
 1.1.1.1.10.2 07-Aug-2009  snj Apply patch (requested by jmcneill in ticket 775):
Update to the open source atheros HAL.
 1.1.1.1.10.1 11-Dec-2008  snj file ar5416_ani.c was added on branch netbsd-5 on 2009-08-07 06:43:46 +0000
 1.1.1.1.8.2 04-May-2009  yamt sync with head.
 1.1.1.1.8.1 11-Dec-2008  yamt file ar5416_ani.c was added on branch yamt-nfs-mp on 2009-05-04 08:13:41 +0000
 1.1.1.1.4.2 19-Jan-2009  skrll Sync with HEAD.
 1.1.1.1.4.1 11-Dec-2008  skrll file ar5416_ani.c was added on branch nick-hppapmap on 2009-01-19 13:19:31 +0000
 1.1.1.1.2.2 17-Jan-2009  mjf Sync with HEAD.
 1.1.1.1.2.1 11-Dec-2008  mjf file ar5416_ani.c was added on branch mjf-devfs2 on 2009-01-17 13:29:15 +0000
 1.5 09-Oct-2016  christos PR/51540: Henning Petersen: replace , with ;
 1.4 07-Mar-2011  cegger branches: 1.4.14; 1.4.32; 1.4.36;
Get improvements from FreeBSD-current (January 2011).
Successfully tested with WEP, WPA and WPA2 on AR9285.
Reviewed by jmcneill@
 1.3 21-Feb-2011  cegger add AR9285 support
 1.2 20-Feb-2011  jmcneill add AR9280 support
 1.1 11-Dec-2008  alc branches: 1.1.1;
Initial revision
 1.1.1.1 11-Dec-2008  alc branches: 1.1.1.1.2; 1.1.1.1.4; 1.1.1.1.8; 1.1.1.1.10; 1.1.1.1.14; 1.1.1.1.16; 1.1.1.1.18; 1.1.1.1.20;
Import Atheros HAL, from FreeBSD (revision 185521)
 1.1.1.1.20.1 05-Mar-2011  bouyer Sync with HEAD
 1.1.1.1.18.1 06-Jun-2011  jruoho Sync with HEAD.
 1.1.1.1.16.2 21-Apr-2010  matt sync to netbsd-5
 1.1.1.1.16.1 11-Dec-2008  matt file ar5416_attach.c was added on branch matt-nb5-mips64 on 2010-04-21 00:28:11 +0000
 1.1.1.1.14.2 21-Apr-2011  rmind sync with head
 1.1.1.1.14.1 05-Mar-2011  rmind sync with head
 1.1.1.1.10.2 07-Aug-2009  snj Apply patch (requested by jmcneill in ticket 775):
Update to the open source atheros HAL.
 1.1.1.1.10.1 11-Dec-2008  snj file ar5416_attach.c was added on branch netbsd-5 on 2009-08-07 06:43:46 +0000
 1.1.1.1.8.2 04-May-2009  yamt sync with head.
 1.1.1.1.8.1 11-Dec-2008  yamt file ar5416_attach.c was added on branch yamt-nfs-mp on 2009-05-04 08:13:41 +0000
 1.1.1.1.4.2 19-Jan-2009  skrll Sync with HEAD.
 1.1.1.1.4.1 11-Dec-2008  skrll file ar5416_attach.c was added on branch nick-hppapmap on 2009-01-19 13:19:31 +0000
 1.1.1.1.2.2 17-Jan-2009  mjf Sync with HEAD.
 1.1.1.1.2.1 11-Dec-2008  mjf file ar5416_attach.c was added on branch mjf-devfs2 on 2009-01-17 13:29:15 +0000
 1.4.36.1 04-Nov-2016  pgoyette Sync with HEAD
 1.4.32.1 05-Dec-2016  skrll Sync with HEAD
 1.4.14.1 03-Dec-2017  jdolecek update from HEAD
 1.2 12-Sep-2013  martin Remove unsued variable
 1.1 11-Dec-2008  alc branches: 1.1.1;
Initial revision
 1.1.1.1 11-Dec-2008  alc branches: 1.1.1.1.2; 1.1.1.1.4; 1.1.1.1.8; 1.1.1.1.10; 1.1.1.1.16; 1.1.1.1.24; 1.1.1.1.34; 1.1.1.1.38;
Import Atheros HAL, from FreeBSD (revision 185521)
 1.1.1.1.38.1 18-May-2014  rmind sync with head
 1.1.1.1.34.1 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.1.1.1.24.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.1.1.1.16.2 21-Apr-2010  matt sync to netbsd-5
 1.1.1.1.16.1 11-Dec-2008  matt file ar5416_beacon.c was added on branch matt-nb5-mips64 on 2010-04-21 00:28:11 +0000
 1.1.1.1.10.2 07-Aug-2009  snj Apply patch (requested by jmcneill in ticket 775):
Update to the open source atheros HAL.
 1.1.1.1.10.1 11-Dec-2008  snj file ar5416_beacon.c was added on branch netbsd-5 on 2009-08-07 06:43:46 +0000
 1.1.1.1.8.2 04-May-2009  yamt sync with head.
 1.1.1.1.8.1 11-Dec-2008  yamt file ar5416_beacon.c was added on branch yamt-nfs-mp on 2009-05-04 08:13:41 +0000
 1.1.1.1.4.2 19-Jan-2009  skrll Sync with HEAD.
 1.1.1.1.4.1 11-Dec-2008  skrll file ar5416_beacon.c was added on branch nick-hppapmap on 2009-01-19 13:19:31 +0000
 1.1.1.1.2.2 17-Jan-2009  mjf Sync with HEAD.
 1.1.1.1.2.1 11-Dec-2008  mjf file ar5416_beacon.c was added on branch mjf-devfs2 on 2009-01-17 13:29:15 +0000
 1.2 07-Mar-2011  cegger Get improvements from FreeBSD-current (January 2011).
Successfully tested with WEP, WPA and WPA2 on AR9285.
Reviewed by jmcneill@
 1.1 11-Dec-2008  alc branches: 1.1.1;
Initial revision
 1.1.1.1 11-Dec-2008  alc branches: 1.1.1.1.2; 1.1.1.1.4; 1.1.1.1.8; 1.1.1.1.10; 1.1.1.1.14; 1.1.1.1.16; 1.1.1.1.18;
Import Atheros HAL, from FreeBSD (revision 185521)
 1.1.1.1.18.1 06-Jun-2011  jruoho Sync with HEAD.
 1.1.1.1.16.2 21-Apr-2010  matt sync to netbsd-5
 1.1.1.1.16.1 11-Dec-2008  matt file ar5416_cal.c was added on branch matt-nb5-mips64 on 2010-04-21 00:28:11 +0000
 1.1.1.1.14.1 21-Apr-2011  rmind sync with head
 1.1.1.1.10.2 07-Aug-2009  snj Apply patch (requested by jmcneill in ticket 775):
Update to the open source atheros HAL.
 1.1.1.1.10.1 11-Dec-2008  snj file ar5416_cal.c was added on branch netbsd-5 on 2009-08-07 06:43:47 +0000
 1.1.1.1.8.2 04-May-2009  yamt sync with head.
 1.1.1.1.8.1 11-Dec-2008  yamt file ar5416_cal.c was added on branch yamt-nfs-mp on 2009-05-04 08:13:41 +0000
 1.1.1.1.4.2 19-Jan-2009  skrll Sync with HEAD.
 1.1.1.1.4.1 11-Dec-2008  skrll file ar5416_cal.c was added on branch nick-hppapmap on 2009-01-19 13:19:31 +0000
 1.1.1.1.2.2 17-Jan-2009  mjf Sync with HEAD.
 1.1.1.1.2.1 11-Dec-2008  mjf file ar5416_cal.c was added on branch mjf-devfs2 on 2009-01-17 13:29:15 +0000
 1.1 11-Dec-2008  alc branches: 1.1.1;
Initial revision
 1.1.1.1 11-Dec-2008  alc branches: 1.1.1.1.2; 1.1.1.1.4; 1.1.1.1.8; 1.1.1.1.10; 1.1.1.1.16;
Import Atheros HAL, from FreeBSD (revision 185521)
 1.1.1.1.16.2 21-Apr-2010  matt sync to netbsd-5
 1.1.1.1.16.1 11-Dec-2008  matt file ar5416_cal.h was added on branch matt-nb5-mips64 on 2010-04-21 00:28:11 +0000
 1.1.1.1.10.2 07-Aug-2009  snj Apply patch (requested by jmcneill in ticket 775):
Update to the open source atheros HAL.
 1.1.1.1.10.1 11-Dec-2008  snj file ar5416_cal.h was added on branch netbsd-5 on 2009-08-07 06:43:47 +0000
 1.1.1.1.8.2 04-May-2009  yamt sync with head.
 1.1.1.1.8.1 11-Dec-2008  yamt file ar5416_cal.h was added on branch yamt-nfs-mp on 2009-05-04 08:13:41 +0000
 1.1.1.1.4.2 19-Jan-2009  skrll Sync with HEAD.
 1.1.1.1.4.1 11-Dec-2008  skrll file ar5416_cal.h was added on branch nick-hppapmap on 2009-01-19 13:19:31 +0000
 1.1.1.1.2.2 17-Jan-2009  mjf Sync with HEAD.
 1.1.1.1.2.1 11-Dec-2008  mjf file ar5416_cal.h was added on branch mjf-devfs2 on 2009-01-17 13:29:15 +0000
 1.1 11-Dec-2008  alc branches: 1.1.1;
Initial revision
 1.1.1.1 11-Dec-2008  alc branches: 1.1.1.1.2; 1.1.1.1.4; 1.1.1.1.8; 1.1.1.1.10; 1.1.1.1.16;
Import Atheros HAL, from FreeBSD (revision 185521)
 1.1.1.1.16.2 21-Apr-2010  matt sync to netbsd-5
 1.1.1.1.16.1 11-Dec-2008  matt file ar5416_cal_adcdc.c was added on branch matt-nb5-mips64 on 2010-04-21 00:28:11 +0000
 1.1.1.1.10.2 07-Aug-2009  snj Apply patch (requested by jmcneill in ticket 775):
Update to the open source atheros HAL.
 1.1.1.1.10.1 11-Dec-2008  snj file ar5416_cal_adcdc.c was added on branch netbsd-5 on 2009-08-07 06:43:47 +0000
 1.1.1.1.8.2 04-May-2009  yamt sync with head.
 1.1.1.1.8.1 11-Dec-2008  yamt file ar5416_cal_adcdc.c was added on branch yamt-nfs-mp on 2009-05-04 08:13:41 +0000
 1.1.1.1.4.2 19-Jan-2009  skrll Sync with HEAD.
 1.1.1.1.4.1 11-Dec-2008  skrll file ar5416_cal_adcdc.c was added on branch nick-hppapmap on 2009-01-19 13:19:31 +0000
 1.1.1.1.2.2 17-Jan-2009  mjf Sync with HEAD.
 1.1.1.1.2.1 11-Dec-2008  mjf file ar5416_cal_adcdc.c was added on branch mjf-devfs2 on 2009-01-17 13:29:15 +0000
 1.1 11-Dec-2008  alc branches: 1.1.1;
Initial revision
 1.1.1.1 11-Dec-2008  alc branches: 1.1.1.1.2; 1.1.1.1.4; 1.1.1.1.8; 1.1.1.1.10; 1.1.1.1.16;
Import Atheros HAL, from FreeBSD (revision 185521)
 1.1.1.1.16.2 21-Apr-2010  matt sync to netbsd-5
 1.1.1.1.16.1 11-Dec-2008  matt file ar5416_cal_adcgain.c was added on branch matt-nb5-mips64 on 2010-04-21 00:28:11 +0000
 1.1.1.1.10.2 07-Aug-2009  snj Apply patch (requested by jmcneill in ticket 775):
Update to the open source atheros HAL.
 1.1.1.1.10.1 11-Dec-2008  snj file ar5416_cal_adcgain.c was added on branch netbsd-5 on 2009-08-07 06:43:47 +0000
 1.1.1.1.8.2 04-May-2009  yamt sync with head.
 1.1.1.1.8.1 11-Dec-2008  yamt file ar5416_cal_adcgain.c was added on branch yamt-nfs-mp on 2009-05-04 08:13:41 +0000
 1.1.1.1.4.2 19-Jan-2009  skrll Sync with HEAD.
 1.1.1.1.4.1 11-Dec-2008  skrll file ar5416_cal_adcgain.c was added on branch nick-hppapmap on 2009-01-19 13:19:31 +0000
 1.1.1.1.2.2 17-Jan-2009  mjf Sync with HEAD.
 1.1.1.1.2.1 11-Dec-2008  mjf file ar5416_cal_adcgain.c was added on branch mjf-devfs2 on 2009-01-17 13:29:15 +0000
 1.2 07-Mar-2011  cegger Get improvements from FreeBSD-current (January 2011).
Successfully tested with WEP, WPA and WPA2 on AR9285.
Reviewed by jmcneill@
 1.1 11-Dec-2008  alc branches: 1.1.1;
Initial revision
 1.1.1.1 11-Dec-2008  alc branches: 1.1.1.1.2; 1.1.1.1.4; 1.1.1.1.8; 1.1.1.1.10; 1.1.1.1.14; 1.1.1.1.16; 1.1.1.1.18;
Import Atheros HAL, from FreeBSD (revision 185521)
 1.1.1.1.18.1 06-Jun-2011  jruoho Sync with HEAD.
 1.1.1.1.16.2 21-Apr-2010  matt sync to netbsd-5
 1.1.1.1.16.1 11-Dec-2008  matt file ar5416_cal_iq.c was added on branch matt-nb5-mips64 on 2010-04-21 00:28:11 +0000
 1.1.1.1.14.1 21-Apr-2011  rmind sync with head
 1.1.1.1.10.2 07-Aug-2009  snj Apply patch (requested by jmcneill in ticket 775):
Update to the open source atheros HAL.
 1.1.1.1.10.1 11-Dec-2008  snj file ar5416_cal_iq.c was added on branch netbsd-5 on 2009-08-07 06:43:47 +0000
 1.1.1.1.8.2 04-May-2009  yamt sync with head.
 1.1.1.1.8.1 11-Dec-2008  yamt file ar5416_cal_iq.c was added on branch yamt-nfs-mp on 2009-05-04 08:13:41 +0000
 1.1.1.1.4.2 19-Jan-2009  skrll Sync with HEAD.
 1.1.1.1.4.1 11-Dec-2008  skrll file ar5416_cal_iq.c was added on branch nick-hppapmap on 2009-01-19 13:19:31 +0000
 1.1.1.1.2.2 17-Jan-2009  mjf Sync with HEAD.
 1.1.1.1.2.1 11-Dec-2008  mjf file ar5416_cal_iq.c was added on branch mjf-devfs2 on 2009-01-17 13:29:15 +0000
 1.2 30-May-2011  joerg Silence warnings about unused return value for a dead hardware read.
 1.1 11-Dec-2008  alc branches: 1.1.1;
Initial revision
 1.1.1.1 11-Dec-2008  alc branches: 1.1.1.1.2; 1.1.1.1.4; 1.1.1.1.8; 1.1.1.1.10; 1.1.1.1.14; 1.1.1.1.16; 1.1.1.1.18;
Import Atheros HAL, from FreeBSD (revision 185521)
 1.1.1.1.18.1 06-Jun-2011  jruoho Sync with HEAD.
 1.1.1.1.16.2 21-Apr-2010  matt sync to netbsd-5
 1.1.1.1.16.1 11-Dec-2008  matt file ar5416_eeprom.c was added on branch matt-nb5-mips64 on 2010-04-21 00:28:11 +0000
 1.1.1.1.14.1 31-May-2011  rmind sync with head
 1.1.1.1.10.2 07-Aug-2009  snj Apply patch (requested by jmcneill in ticket 775):
Update to the open source atheros HAL.
 1.1.1.1.10.1 11-Dec-2008  snj file ar5416_eeprom.c was added on branch netbsd-5 on 2009-08-07 06:43:47 +0000
 1.1.1.1.8.2 04-May-2009  yamt sync with head.
 1.1.1.1.8.1 11-Dec-2008  yamt file ar5416_eeprom.c was added on branch yamt-nfs-mp on 2009-05-04 08:13:41 +0000
 1.1.1.1.4.2 19-Jan-2009  skrll Sync with HEAD.
 1.1.1.1.4.1 11-Dec-2008  skrll file ar5416_eeprom.c was added on branch nick-hppapmap on 2009-01-19 13:19:31 +0000
 1.1.1.1.2.2 17-Jan-2009  mjf Sync with HEAD.
 1.1.1.1.2.1 11-Dec-2008  mjf file ar5416_eeprom.c was added on branch mjf-devfs2 on 2009-01-17 13:29:15 +0000
 1.2 07-Mar-2011  cegger Get improvements from FreeBSD-current (January 2011).
Successfully tested with WEP, WPA and WPA2 on AR9285.
Reviewed by jmcneill@
 1.1 11-Dec-2008  alc branches: 1.1.1;
Initial revision
 1.1.1.1 11-Dec-2008  alc branches: 1.1.1.1.2; 1.1.1.1.4; 1.1.1.1.8; 1.1.1.1.10; 1.1.1.1.14; 1.1.1.1.16; 1.1.1.1.18;
Import Atheros HAL, from FreeBSD (revision 185521)
 1.1.1.1.18.1 06-Jun-2011  jruoho Sync with HEAD.
 1.1.1.1.16.2 21-Apr-2010  matt sync to netbsd-5
 1.1.1.1.16.1 11-Dec-2008  matt file ar5416_gpio.c was added on branch matt-nb5-mips64 on 2010-04-21 00:28:11 +0000
 1.1.1.1.14.1 21-Apr-2011  rmind sync with head
 1.1.1.1.10.2 07-Aug-2009  snj Apply patch (requested by jmcneill in ticket 775):
Update to the open source atheros HAL.
 1.1.1.1.10.1 11-Dec-2008  snj file ar5416_gpio.c was added on branch netbsd-5 on 2009-08-07 06:43:48 +0000
 1.1.1.1.8.2 04-May-2009  yamt sync with head.
 1.1.1.1.8.1 11-Dec-2008  yamt file ar5416_gpio.c was added on branch yamt-nfs-mp on 2009-05-04 08:13:41 +0000
 1.1.1.1.4.2 19-Jan-2009  skrll Sync with HEAD.
 1.1.1.1.4.1 11-Dec-2008  skrll file ar5416_gpio.c was added on branch nick-hppapmap on 2009-01-19 13:19:31 +0000
 1.1.1.1.2.2 17-Jan-2009  mjf Sync with HEAD.
 1.1.1.1.2.1 11-Dec-2008  mjf file ar5416_gpio.c was added on branch mjf-devfs2 on 2009-01-17 13:29:15 +0000
 1.3 28-Nov-2011  jmcneill SVN r220966 from FreeBSD:

Fix a corner-case of interrupt handling which resulted in potentially
spurious (and fatal) interrupt errors.
 1.2 07-Mar-2011  cegger branches: 1.2.4;
Get improvements from FreeBSD-current (January 2011).
Successfully tested with WEP, WPA and WPA2 on AR9285.
Reviewed by jmcneill@
 1.1 11-Dec-2008  alc branches: 1.1.1;
Initial revision
 1.1.1.1 11-Dec-2008  alc branches: 1.1.1.1.2; 1.1.1.1.4; 1.1.1.1.8; 1.1.1.1.10; 1.1.1.1.14; 1.1.1.1.16; 1.1.1.1.18;
Import Atheros HAL, from FreeBSD (revision 185521)
 1.1.1.1.18.1 06-Jun-2011  jruoho Sync with HEAD.
 1.1.1.1.16.2 21-Apr-2010  matt sync to netbsd-5
 1.1.1.1.16.1 11-Dec-2008  matt file ar5416_interrupts.c was added on branch matt-nb5-mips64 on 2010-04-21 00:28:11 +0000
 1.1.1.1.14.1 21-Apr-2011  rmind sync with head
 1.1.1.1.10.2 07-Aug-2009  snj Apply patch (requested by jmcneill in ticket 775):
Update to the open source atheros HAL.
 1.1.1.1.10.1 11-Dec-2008  snj file ar5416_interrupts.c was added on branch netbsd-5 on 2009-08-07 06:43:48 +0000
 1.1.1.1.8.2 04-May-2009  yamt sync with head.
 1.1.1.1.8.1 11-Dec-2008  yamt file ar5416_interrupts.c was added on branch yamt-nfs-mp on 2009-05-04 08:13:41 +0000
 1.1.1.1.4.2 19-Jan-2009  skrll Sync with HEAD.
 1.1.1.1.4.1 11-Dec-2008  skrll file ar5416_interrupts.c was added on branch nick-hppapmap on 2009-01-19 13:19:32 +0000
 1.1.1.1.2.2 17-Jan-2009  mjf Sync with HEAD.
 1.1.1.1.2.1 11-Dec-2008  mjf file ar5416_interrupts.c was added on branch mjf-devfs2 on 2009-01-17 13:29:15 +0000
 1.2.4.1 17-Apr-2012  yamt sync with head
 1.1 11-Dec-2008  alc branches: 1.1.1;
Initial revision
 1.1.1.1 11-Dec-2008  alc branches: 1.1.1.1.2; 1.1.1.1.4; 1.1.1.1.8; 1.1.1.1.10; 1.1.1.1.16;
Import Atheros HAL, from FreeBSD (revision 185521)
 1.1.1.1.16.2 21-Apr-2010  matt sync to netbsd-5
 1.1.1.1.16.1 11-Dec-2008  matt file ar5416_keycache.c was added on branch matt-nb5-mips64 on 2010-04-21 00:28:12 +0000
 1.1.1.1.10.2 07-Aug-2009  snj Apply patch (requested by jmcneill in ticket 775):
Update to the open source atheros HAL.
 1.1.1.1.10.1 11-Dec-2008  snj file ar5416_keycache.c was added on branch netbsd-5 on 2009-08-07 06:43:48 +0000
 1.1.1.1.8.2 04-May-2009  yamt sync with head.
 1.1.1.1.8.1 11-Dec-2008  yamt file ar5416_keycache.c was added on branch yamt-nfs-mp on 2009-05-04 08:13:41 +0000
 1.1.1.1.4.2 19-Jan-2009  skrll Sync with HEAD.
 1.1.1.1.4.1 11-Dec-2008  skrll file ar5416_keycache.c was added on branch nick-hppapmap on 2009-01-19 13:19:32 +0000
 1.1.1.1.2.2 17-Jan-2009  mjf Sync with HEAD.
 1.1.1.1.2.1 11-Dec-2008  mjf file ar5416_keycache.c was added on branch mjf-devfs2 on 2009-01-17 13:29:15 +0000
 1.2 12-Feb-2012  wiz Use correct return value. From clang via Henning Petersen in PR 45996.
 1.1 11-Dec-2008  alc branches: 1.1.1;
Initial revision
 1.1.1.1 11-Dec-2008  alc branches: 1.1.1.1.2; 1.1.1.1.4; 1.1.1.1.8; 1.1.1.1.10; 1.1.1.1.16; 1.1.1.1.24; 1.1.1.1.28;
Import Atheros HAL, from FreeBSD (revision 185521)
 1.1.1.1.28.1 18-Feb-2012  mrg merge to -current.
 1.1.1.1.24.1 17-Apr-2012  yamt sync with head
 1.1.1.1.16.2 21-Apr-2010  matt sync to netbsd-5
 1.1.1.1.16.1 11-Dec-2008  matt file ar5416_misc.c was added on branch matt-nb5-mips64 on 2010-04-21 00:28:12 +0000
 1.1.1.1.10.2 07-Aug-2009  snj Apply patch (requested by jmcneill in ticket 775):
Update to the open source atheros HAL.
 1.1.1.1.10.1 11-Dec-2008  snj file ar5416_misc.c was added on branch netbsd-5 on 2009-08-07 06:43:48 +0000
 1.1.1.1.8.2 04-May-2009  yamt sync with head.
 1.1.1.1.8.1 11-Dec-2008  yamt file ar5416_misc.c was added on branch yamt-nfs-mp on 2009-05-04 08:13:41 +0000
 1.1.1.1.4.2 19-Jan-2009  skrll Sync with HEAD.
 1.1.1.1.4.1 11-Dec-2008  skrll file ar5416_misc.c was added on branch nick-hppapmap on 2009-01-19 13:19:32 +0000
 1.1.1.1.2.2 17-Jan-2009  mjf Sync with HEAD.
 1.1.1.1.2.1 11-Dec-2008  mjf file ar5416_misc.c was added on branch mjf-devfs2 on 2009-01-17 13:29:15 +0000
 1.2 11-Dec-2008  alc branches: 1.2.2; 1.2.4; 1.2.8; 1.2.10; 1.2.16;
Fix the build of the new HAL:

- constify link-set iterator
- do RF lookup only if any RF has been built
- fix global symbols shadowing
- const static -> static const
- don't redefine `uintptr_t'
- use `unsigned long' in __DECONST()
- fix AH_RF() macros
- __va_list -> va_list
- add missing struct trailing element
- add a few #ifdef AH_DEBUG block to avoid empty if() statement
- some other nits...
 1.1 11-Dec-2008  alc branches: 1.1.1;
Initial revision
 1.1.1.1 11-Dec-2008  alc Import Atheros HAL, from FreeBSD (revision 185521)
 1.2.16.2 21-Apr-2010  matt sync to netbsd-5
 1.2.16.1 11-Dec-2008  matt file ar5416_phy.c was added on branch matt-nb5-mips64 on 2010-04-21 00:28:12 +0000
 1.2.10.2 07-Aug-2009  snj Apply patch (requested by jmcneill in ticket 775):
Update to the open source atheros HAL.
 1.2.10.1 11-Dec-2008  snj file ar5416_phy.c was added on branch netbsd-5 on 2009-08-07 06:43:48 +0000
 1.2.8.2 04-May-2009  yamt sync with head.
 1.2.8.1 11-Dec-2008  yamt file ar5416_phy.c was added on branch yamt-nfs-mp on 2009-05-04 08:13:41 +0000
 1.2.4.2 19-Jan-2009  skrll Sync with HEAD.
 1.2.4.1 11-Dec-2008  skrll file ar5416_phy.c was added on branch nick-hppapmap on 2009-01-19 13:19:32 +0000
 1.2.2.2 17-Jan-2009  mjf Sync with HEAD.
 1.2.2.1 11-Dec-2008  mjf file ar5416_phy.c was added on branch mjf-devfs2 on 2009-01-17 13:29:15 +0000
 1.1 11-Dec-2008  alc branches: 1.1.1;
Initial revision
 1.1.1.1 11-Dec-2008  alc branches: 1.1.1.1.2; 1.1.1.1.4; 1.1.1.1.8; 1.1.1.1.10; 1.1.1.1.16;
Import Atheros HAL, from FreeBSD (revision 185521)
 1.1.1.1.16.2 21-Apr-2010  matt sync to netbsd-5
 1.1.1.1.16.1 11-Dec-2008  matt file ar5416_power.c was added on branch matt-nb5-mips64 on 2010-04-21 00:28:12 +0000
 1.1.1.1.10.2 07-Aug-2009  snj Apply patch (requested by jmcneill in ticket 775):
Update to the open source atheros HAL.
 1.1.1.1.10.1 11-Dec-2008  snj file ar5416_power.c was added on branch netbsd-5 on 2009-08-07 06:43:48 +0000
 1.1.1.1.8.2 04-May-2009  yamt sync with head.
 1.1.1.1.8.1 11-Dec-2008  yamt file ar5416_power.c was added on branch yamt-nfs-mp on 2009-05-04 08:13:41 +0000
 1.1.1.1.4.2 19-Jan-2009  skrll Sync with HEAD.
 1.1.1.1.4.1 11-Dec-2008  skrll file ar5416_power.c was added on branch nick-hppapmap on 2009-01-19 13:19:32 +0000
 1.1.1.1.2.2 17-Jan-2009  mjf Sync with HEAD.
 1.1.1.1.2.1 11-Dec-2008  mjf file ar5416_power.c was added on branch mjf-devfs2 on 2009-01-17 13:29:15 +0000
 1.1 11-Dec-2008  alc branches: 1.1.1;
Initial revision
 1.1.1.1 11-Dec-2008  alc branches: 1.1.1.1.2; 1.1.1.1.4; 1.1.1.1.8; 1.1.1.1.10; 1.1.1.1.16;
Import Atheros HAL, from FreeBSD (revision 185521)
 1.1.1.1.16.2 21-Apr-2010  matt sync to netbsd-5
 1.1.1.1.16.1 11-Dec-2008  matt file ar5416_recv.c was added on branch matt-nb5-mips64 on 2010-04-21 00:28:12 +0000
 1.1.1.1.10.2 07-Aug-2009  snj Apply patch (requested by jmcneill in ticket 775):
Update to the open source atheros HAL.
 1.1.1.1.10.1 11-Dec-2008  snj file ar5416_recv.c was added on branch netbsd-5 on 2009-08-07 06:43:48 +0000
 1.1.1.1.8.2 04-May-2009  yamt sync with head.
 1.1.1.1.8.1 11-Dec-2008  yamt file ar5416_recv.c was added on branch yamt-nfs-mp on 2009-05-04 08:13:41 +0000
 1.1.1.1.4.2 19-Jan-2009  skrll Sync with HEAD.
 1.1.1.1.4.1 11-Dec-2008  skrll file ar5416_recv.c was added on branch nick-hppapmap on 2009-01-19 13:19:32 +0000
 1.1.1.1.2.2 17-Jan-2009  mjf Sync with HEAD.
 1.1.1.1.2.1 11-Dec-2008  mjf file ar5416_recv.c was added on branch mjf-devfs2 on 2009-01-17 13:29:15 +0000
 1.6 12-Feb-2012  wiz Consistently use ar5416SetPowerMode. From Henning Petersen in PR 45999.
 1.5 07-Mar-2011  cegger branches: 1.5.4; 1.5.8;
Get improvements from FreeBSD-current (January 2011).
Successfully tested with WEP, WPA and WPA2 on AR9285.
Reviewed by jmcneill@
 1.4 21-Feb-2011  cegger add AR9285 support
 1.3 20-Feb-2011  jmcneill add AR9280 support
 1.2 06-Jan-2009  mrg branches: 1.2.2; 1.2.4; 1.2.8; 1.2.10; 1.2.14; 1.2.16; 1.2.18; 1.2.20;
initialise some variables whined about by gcc -O3.
 1.1 11-Dec-2008  alc branches: 1.1.1;
Initial revision
 1.1.1.1 11-Dec-2008  alc Import Atheros HAL, from FreeBSD (revision 185521)
 1.2.20.1 05-Mar-2011  bouyer Sync with HEAD
 1.2.18.1 06-Jun-2011  jruoho Sync with HEAD.
 1.2.16.2 21-Apr-2010  matt sync to netbsd-5
 1.2.16.1 06-Jan-2009  matt file ar5416_reset.c was added on branch matt-nb5-mips64 on 2010-04-21 00:28:12 +0000
 1.2.14.2 21-Apr-2011  rmind sync with head
 1.2.14.1 05-Mar-2011  rmind sync with head
 1.2.10.2 07-Aug-2009  snj Apply patch (requested by jmcneill in ticket 775):
Update to the open source atheros HAL.
 1.2.10.1 06-Jan-2009  snj file ar5416_reset.c was added on branch netbsd-5 on 2009-08-07 06:43:49 +0000
 1.2.8.2 04-May-2009  yamt sync with head.
 1.2.8.1 06-Jan-2009  yamt file ar5416_reset.c was added on branch yamt-nfs-mp on 2009-05-04 08:13:41 +0000
 1.2.4.2 19-Jan-2009  skrll Sync with HEAD.
 1.2.4.1 06-Jan-2009  skrll file ar5416_reset.c was added on branch nick-hppapmap on 2009-01-19 13:19:32 +0000
 1.2.2.2 17-Jan-2009  mjf Sync with HEAD.
 1.2.2.1 06-Jan-2009  mjf file ar5416_reset.c was added on branch mjf-devfs2 on 2009-01-17 13:29:16 +0000
 1.5.8.1 18-Feb-2012  mrg merge to -current.
 1.5.4.1 17-Apr-2012  yamt sync with head
 1.1 11-Dec-2008  alc branches: 1.1.1;
Initial revision
 1.1.1.1 11-Dec-2008  alc branches: 1.1.1.1.2; 1.1.1.1.4; 1.1.1.1.8; 1.1.1.1.10; 1.1.1.1.16;
Import Atheros HAL, from FreeBSD (revision 185521)
 1.1.1.1.16.2 21-Apr-2010  matt sync to netbsd-5
 1.1.1.1.16.1 11-Dec-2008  matt file ar5416_xmit.c was added on branch matt-nb5-mips64 on 2010-04-21 00:28:12 +0000
 1.1.1.1.10.2 07-Aug-2009  snj Apply patch (requested by jmcneill in ticket 775):
Update to the open source atheros HAL.
 1.1.1.1.10.1 11-Dec-2008  snj file ar5416_xmit.c was added on branch netbsd-5 on 2009-08-07 06:43:49 +0000
 1.1.1.1.8.2 04-May-2009  yamt sync with head.
 1.1.1.1.8.1 11-Dec-2008  yamt file ar5416_xmit.c was added on branch yamt-nfs-mp on 2009-05-04 08:13:41 +0000
 1.1.1.1.4.2 19-Jan-2009  skrll Sync with HEAD.
 1.1.1.1.4.1 11-Dec-2008  skrll file ar5416_xmit.c was added on branch nick-hppapmap on 2009-01-19 13:19:32 +0000
 1.1.1.1.2.2 17-Jan-2009  mjf Sync with HEAD.
 1.1.1.1.2.1 11-Dec-2008  mjf file ar5416_xmit.c was added on branch mjf-devfs2 on 2009-01-17 13:29:16 +0000
 1.2 25-Jun-2013  joerg Fix header guards.
 1.1 11-Dec-2008  alc branches: 1.1.1;
Initial revision
 1.1.1.1 11-Dec-2008  alc branches: 1.1.1.1.2; 1.1.1.1.4; 1.1.1.1.8; 1.1.1.1.10; 1.1.1.1.16; 1.1.1.1.24; 1.1.1.1.34;
Import Atheros HAL, from FreeBSD (revision 185521)
 1.1.1.1.34.1 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.1.1.1.24.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.1.1.1.16.2 21-Apr-2010  matt sync to netbsd-5
 1.1.1.1.16.1 11-Dec-2008  matt file ar5416desc.h was added on branch matt-nb5-mips64 on 2010-04-21 00:28:12 +0000
 1.1.1.1.10.2 07-Aug-2009  snj Apply patch (requested by jmcneill in ticket 775):
Update to the open source atheros HAL.
 1.1.1.1.10.1 11-Dec-2008  snj file ar5416desc.h was added on branch netbsd-5 on 2009-08-07 06:43:49 +0000
 1.1.1.1.8.2 04-May-2009  yamt sync with head.
 1.1.1.1.8.1 11-Dec-2008  yamt file ar5416desc.h was added on branch yamt-nfs-mp on 2009-05-04 08:13:41 +0000
 1.1.1.1.4.2 19-Jan-2009  skrll Sync with HEAD.
 1.1.1.1.4.1 11-Dec-2008  skrll file ar5416desc.h was added on branch nick-hppapmap on 2009-01-19 13:19:32 +0000
 1.1.1.1.2.2 17-Jan-2009  mjf Sync with HEAD.
 1.1.1.1.2.1 11-Dec-2008  mjf file ar5416desc.h was added on branch mjf-devfs2 on 2009-01-17 13:29:16 +0000
 1.3 07-Mar-2011  cegger Get improvements from FreeBSD-current (January 2011).
Successfully tested with WEP, WPA and WPA2 on AR9285.
Reviewed by jmcneill@
 1.2 21-Feb-2011  cegger add AR9285 support
 1.1 11-Dec-2008  alc branches: 1.1.1;
Initial revision
 1.1.1.1 11-Dec-2008  alc branches: 1.1.1.1.2; 1.1.1.1.4; 1.1.1.1.8; 1.1.1.1.10; 1.1.1.1.14; 1.1.1.1.16; 1.1.1.1.18; 1.1.1.1.20;
Import Atheros HAL, from FreeBSD (revision 185521)
 1.1.1.1.20.1 05-Mar-2011  bouyer Sync with HEAD
 1.1.1.1.18.1 06-Jun-2011  jruoho Sync with HEAD.
 1.1.1.1.16.2 21-Apr-2010  matt sync to netbsd-5
 1.1.1.1.16.1 11-Dec-2008  matt file ar5416phy.h was added on branch matt-nb5-mips64 on 2010-04-21 00:28:12 +0000
 1.1.1.1.14.2 21-Apr-2011  rmind sync with head
 1.1.1.1.14.1 05-Mar-2011  rmind sync with head
 1.1.1.1.10.2 07-Aug-2009  snj Apply patch (requested by jmcneill in ticket 775):
Update to the open source atheros HAL.
 1.1.1.1.10.1 11-Dec-2008  snj file ar5416phy.h was added on branch netbsd-5 on 2009-08-07 06:43:49 +0000
 1.1.1.1.8.2 04-May-2009  yamt sync with head.
 1.1.1.1.8.1 11-Dec-2008  yamt file ar5416phy.h was added on branch yamt-nfs-mp on 2009-05-04 08:13:41 +0000
 1.1.1.1.4.2 19-Jan-2009  skrll Sync with HEAD.
 1.1.1.1.4.1 11-Dec-2008  skrll file ar5416phy.h was added on branch nick-hppapmap on 2009-01-19 13:19:32 +0000
 1.1.1.1.2.2 17-Jan-2009  mjf Sync with HEAD.
 1.1.1.1.2.1 11-Dec-2008  mjf file ar5416phy.h was added on branch mjf-devfs2 on 2009-01-17 13:29:16 +0000
 1.5 01-Aug-2011  jmcneill Fix AR_SREV_MERLIN_20 and AR_SREV_MERLIN_20_OR_LATER macros to match
rev 2.1 as well as 2.0, from FreeBSD. Fixes 5GHz mode on my 9280.
 1.4 07-Mar-2011  cegger Get improvements from FreeBSD-current (January 2011).
Successfully tested with WEP, WPA and WPA2 on AR9285.
Reviewed by jmcneill@
 1.3 21-Feb-2011  cegger add AR9285 support
 1.2 20-Feb-2011  jmcneill add AR9280 support
 1.1 11-Dec-2008  alc branches: 1.1.1;
Initial revision
 1.1.1.1 11-Dec-2008  alc branches: 1.1.1.1.2; 1.1.1.1.4; 1.1.1.1.8; 1.1.1.1.10; 1.1.1.1.14; 1.1.1.1.16; 1.1.1.1.18; 1.1.1.1.20;
Import Atheros HAL, from FreeBSD (revision 185521)
 1.1.1.1.20.1 05-Mar-2011  bouyer Sync with HEAD
 1.1.1.1.18.1 06-Jun-2011  jruoho Sync with HEAD.
 1.1.1.1.16.2 21-Apr-2010  matt sync to netbsd-5
 1.1.1.1.16.1 11-Dec-2008  matt file ar5416reg.h was added on branch matt-nb5-mips64 on 2010-04-21 00:28:12 +0000
 1.1.1.1.14.2 21-Apr-2011  rmind sync with head
 1.1.1.1.14.1 05-Mar-2011  rmind sync with head
 1.1.1.1.10.2 07-Aug-2009  snj Apply patch (requested by jmcneill in ticket 775):
Update to the open source atheros HAL.
 1.1.1.1.10.1 11-Dec-2008  snj file ar5416reg.h was added on branch netbsd-5 on 2009-08-07 06:43:49 +0000
 1.1.1.1.8.2 04-May-2009  yamt sync with head.
 1.1.1.1.8.1 11-Dec-2008  yamt file ar5416reg.h was added on branch yamt-nfs-mp on 2009-05-04 08:13:41 +0000
 1.1.1.1.4.2 19-Jan-2009  skrll Sync with HEAD.
 1.1.1.1.4.1 11-Dec-2008  skrll file ar5416reg.h was added on branch nick-hppapmap on 2009-01-19 13:19:32 +0000
 1.1.1.1.2.2 17-Jan-2009  mjf Sync with HEAD.
 1.1.1.1.2.1 11-Dec-2008  mjf file ar5416reg.h was added on branch mjf-devfs2 on 2009-01-17 13:29:16 +0000
 1.2 20-Feb-2011  jmcneill add AR9280 support
 1.1 11-Dec-2008  alc branches: 1.1.1;
Initial revision
 1.1.1.1 11-Dec-2008  alc branches: 1.1.1.1.2; 1.1.1.1.4; 1.1.1.1.8; 1.1.1.1.10; 1.1.1.1.14; 1.1.1.1.16; 1.1.1.1.18; 1.1.1.1.20;
Import Atheros HAL, from FreeBSD (revision 185521)
 1.1.1.1.20.1 05-Mar-2011  bouyer Sync with HEAD
 1.1.1.1.18.1 06-Jun-2011  jruoho Sync with HEAD.
 1.1.1.1.16.2 21-Apr-2010  matt sync to netbsd-5
 1.1.1.1.16.1 11-Dec-2008  matt file ar9160.ini was added on branch matt-nb5-mips64 on 2010-04-21 00:28:12 +0000
 1.1.1.1.14.1 05-Mar-2011  rmind sync with head
 1.1.1.1.10.2 07-Aug-2009  snj Apply patch (requested by jmcneill in ticket 775):
Update to the open source atheros HAL.
 1.1.1.1.10.1 11-Dec-2008  snj file ar9160.ini was added on branch netbsd-5 on 2009-08-07 06:43:49 +0000
 1.1.1.1.8.2 04-May-2009  yamt sync with head.
 1.1.1.1.8.1 11-Dec-2008  yamt file ar9160.ini was added on branch yamt-nfs-mp on 2009-05-04 08:13:41 +0000
 1.1.1.1.4.2 19-Jan-2009  skrll Sync with HEAD.
 1.1.1.1.4.1 11-Dec-2008  skrll file ar9160.ini was added on branch nick-hppapmap on 2009-01-19 13:19:32 +0000
 1.1.1.1.2.2 17-Jan-2009  mjf Sync with HEAD.
 1.1.1.1.2.1 11-Dec-2008  mjf file ar9160.ini was added on branch mjf-devfs2 on 2009-01-17 13:29:16 +0000
 1.2 20-Feb-2011  jmcneill add AR9280 support
 1.1 11-Dec-2008  alc branches: 1.1.1;
Initial revision
 1.1.1.1 11-Dec-2008  alc branches: 1.1.1.1.2; 1.1.1.1.4; 1.1.1.1.8; 1.1.1.1.10; 1.1.1.1.14; 1.1.1.1.16; 1.1.1.1.18; 1.1.1.1.20;
Import Atheros HAL, from FreeBSD (revision 185521)
 1.1.1.1.20.1 05-Mar-2011  bouyer Sync with HEAD
 1.1.1.1.18.1 06-Jun-2011  jruoho Sync with HEAD.
 1.1.1.1.16.2 21-Apr-2010  matt sync to netbsd-5
 1.1.1.1.16.1 11-Dec-2008  matt file ar9160_attach.c was added on branch matt-nb5-mips64 on 2010-04-21 00:28:12 +0000
 1.1.1.1.14.1 05-Mar-2011  rmind sync with head
 1.1.1.1.10.2 07-Aug-2009  snj Apply patch (requested by jmcneill in ticket 775):
Update to the open source atheros HAL.
 1.1.1.1.10.1 11-Dec-2008  snj file ar9160_attach.c was added on branch netbsd-5 on 2009-08-07 06:43:50 +0000
 1.1.1.1.8.2 04-May-2009  yamt sync with head.
 1.1.1.1.8.1 11-Dec-2008  yamt file ar9160_attach.c was added on branch yamt-nfs-mp on 2009-05-04 08:13:41 +0000
 1.1.1.1.4.2 19-Jan-2009  skrll Sync with HEAD.
 1.1.1.1.4.1 11-Dec-2008  skrll file ar9160_attach.c was added on branch nick-hppapmap on 2009-01-19 13:19:32 +0000
 1.1.1.1.2.2 17-Jan-2009  mjf Sync with HEAD.
 1.1.1.1.2.1 11-Dec-2008  mjf file ar9160_attach.c was added on branch mjf-devfs2 on 2009-01-17 13:29:16 +0000
 1.1 20-Feb-2011  jmcneill branches: 1.1.2; 1.1.4; 1.1.8;
add AR9280 support
 1.1.8.2 06-Jun-2011  jruoho Sync with HEAD.
 1.1.8.1 20-Feb-2011  jruoho file ar9280.c was added on branch jruoho-x86intr on 2011-06-06 09:09:20 +0000
 1.1.4.2 05-Mar-2011  rmind sync with head
 1.1.4.1 20-Feb-2011  rmind file ar9280.c was added on branch rmind-uvmplock on 2011-03-05 20:55:02 +0000
 1.1.2.2 05-Mar-2011  bouyer Sync with HEAD
 1.1.2.1 20-Feb-2011  bouyer file ar9280.c was added on branch bouyer-quota2 on 2011-03-05 15:10:37 +0000
 1.2 21-Feb-2011  cegger branches: 1.2.2; 1.2.4; 1.2.8;
add AR9285 support
 1.1 20-Feb-2011  jmcneill add AR9280 support
 1.2.8.2 06-Jun-2011  jruoho Sync with HEAD.
 1.2.8.1 21-Feb-2011  jruoho file ar9280.h was added on branch jruoho-x86intr on 2011-06-06 09:09:20 +0000
 1.2.4.2 05-Mar-2011  rmind sync with head
 1.2.4.1 21-Feb-2011  rmind file ar9280.h was added on branch rmind-uvmplock on 2011-03-05 20:55:02 +0000
 1.2.2.2 05-Mar-2011  bouyer Sync with HEAD
 1.2.2.1 21-Feb-2011  bouyer file ar9280.h was added on branch bouyer-quota2 on 2011-03-05 15:10:37 +0000
 1.3 12-Sep-2013  martin Remove unused variable
 1.2 21-Feb-2011  cegger branches: 1.2.2; 1.2.4; 1.2.8; 1.2.10; 1.2.20; 1.2.24;
add AR9285 support
 1.1 20-Feb-2011  jmcneill add AR9280 support
 1.2.24.1 18-May-2014  rmind sync with head
 1.2.20.1 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.2.10.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.2.8.2 06-Jun-2011  jruoho Sync with HEAD.
 1.2.8.1 21-Feb-2011  jruoho file ar9280_attach.c was added on branch jruoho-x86intr on 2011-06-06 09:09:20 +0000
 1.2.4.2 05-Mar-2011  rmind sync with head
 1.2.4.1 21-Feb-2011  rmind file ar9280_attach.c was added on branch rmind-uvmplock on 2011-03-05 20:55:02 +0000
 1.2.2.2 05-Mar-2011  bouyer Sync with HEAD
 1.2.2.1 21-Feb-2011  bouyer file ar9280_attach.c was added on branch bouyer-quota2 on 2011-03-05 15:10:37 +0000
 1.1 20-Feb-2011  jmcneill branches: 1.1.2; 1.1.4; 1.1.8;
add AR9280 support
 1.1.8.2 06-Jun-2011  jruoho Sync with HEAD.
 1.1.8.1 20-Feb-2011  jruoho file ar9280v1.ini was added on branch jruoho-x86intr on 2011-06-06 09:09:20 +0000
 1.1.4.2 05-Mar-2011  rmind sync with head
 1.1.4.1 20-Feb-2011  rmind file ar9280v1.ini was added on branch rmind-uvmplock on 2011-03-05 20:55:02 +0000
 1.1.2.2 05-Mar-2011  bouyer Sync with HEAD
 1.1.2.1 20-Feb-2011  bouyer file ar9280v1.ini was added on branch bouyer-quota2 on 2011-03-05 15:10:37 +0000
 1.1 20-Feb-2011  jmcneill branches: 1.1.2; 1.1.4; 1.1.8;
add AR9280 support
 1.1.8.2 06-Jun-2011  jruoho Sync with HEAD.
 1.1.8.1 20-Feb-2011  jruoho file ar9280v2.ini was added on branch jruoho-x86intr on 2011-06-06 09:09:20 +0000
 1.1.4.2 05-Mar-2011  rmind sync with head
 1.1.4.1 20-Feb-2011  rmind file ar9280v2.ini was added on branch rmind-uvmplock on 2011-03-05 20:55:02 +0000
 1.1.2.2 05-Mar-2011  bouyer Sync with HEAD
 1.1.2.1 20-Feb-2011  bouyer file ar9280v2.ini was added on branch bouyer-quota2 on 2011-03-05 15:10:37 +0000
 1.1 21-Feb-2011  cegger branches: 1.1.2; 1.1.4; 1.1.8;
add AR9285 support
 1.1.8.2 06-Jun-2011  jruoho Sync with HEAD.
 1.1.8.1 21-Feb-2011  jruoho file ar9285.c was added on branch jruoho-x86intr on 2011-06-06 09:09:20 +0000
 1.1.4.2 05-Mar-2011  rmind sync with head
 1.1.4.1 21-Feb-2011  rmind file ar9285.c was added on branch rmind-uvmplock on 2011-03-05 20:55:02 +0000
 1.1.2.2 05-Mar-2011  bouyer Sync with HEAD
 1.1.2.1 21-Feb-2011  bouyer file ar9285.c was added on branch bouyer-quota2 on 2011-03-05 15:10:37 +0000
 1.1 21-Feb-2011  cegger branches: 1.1.2; 1.1.4; 1.1.8;
add AR9285 support
 1.1.8.2 06-Jun-2011  jruoho Sync with HEAD.
 1.1.8.1 21-Feb-2011  jruoho file ar9285.h was added on branch jruoho-x86intr on 2011-06-06 09:09:20 +0000
 1.1.4.2 05-Mar-2011  rmind sync with head
 1.1.4.1 21-Feb-2011  rmind file ar9285.h was added on branch rmind-uvmplock on 2011-03-05 20:55:02 +0000
 1.1.2.2 05-Mar-2011  bouyer Sync with HEAD
 1.1.2.1 21-Feb-2011  bouyer file ar9285.h was added on branch bouyer-quota2 on 2011-03-05 15:10:37 +0000
 1.1 21-Feb-2011  cegger branches: 1.1.2; 1.1.4; 1.1.8;
add AR9285 support
 1.1.8.2 06-Jun-2011  jruoho Sync with HEAD.
 1.1.8.1 21-Feb-2011  jruoho file ar9285.ini was added on branch jruoho-x86intr on 2011-06-06 09:09:20 +0000
 1.1.4.2 05-Mar-2011  rmind sync with head
 1.1.4.1 21-Feb-2011  rmind file ar9285.ini was added on branch rmind-uvmplock on 2011-03-05 20:55:02 +0000
 1.1.2.2 05-Mar-2011  bouyer Sync with HEAD
 1.1.2.1 21-Feb-2011  bouyer file ar9285.ini was added on branch bouyer-quota2 on 2011-03-05 15:10:37 +0000
 1.2 12-Sep-2013  martin Remove unused variable
 1.1 21-Feb-2011  cegger branches: 1.1.2; 1.1.4; 1.1.8; 1.1.10; 1.1.20; 1.1.24;
add AR9285 support
 1.1.24.1 18-May-2014  rmind sync with head
 1.1.20.1 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.1.10.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.1.8.2 06-Jun-2011  jruoho Sync with HEAD.
 1.1.8.1 21-Feb-2011  jruoho file ar9285_attach.c was added on branch jruoho-x86intr on 2011-06-06 09:09:20 +0000
 1.1.4.2 05-Mar-2011  rmind sync with head
 1.1.4.1 21-Feb-2011  rmind file ar9285_attach.c was added on branch rmind-uvmplock on 2011-03-05 20:55:02 +0000
 1.1.2.2 05-Mar-2011  bouyer Sync with HEAD
 1.1.2.1 21-Feb-2011  bouyer file ar9285_attach.c was added on branch bouyer-quota2 on 2011-03-05 15:10:37 +0000
 1.2 21-Feb-2011  cegger branches: 1.2.2; 1.2.4; 1.2.8;
make it compile with ATHHAL_DEBUG
 1.1 21-Feb-2011  cegger add AR9285 support
 1.2.8.2 06-Jun-2011  jruoho Sync with HEAD.
 1.2.8.1 21-Feb-2011  jruoho file ar9285_reset.c was added on branch jruoho-x86intr on 2011-06-06 09:09:20 +0000
 1.2.4.2 05-Mar-2011  rmind sync with head
 1.2.4.1 21-Feb-2011  rmind file ar9285_reset.c was added on branch rmind-uvmplock on 2011-03-05 20:55:03 +0000
 1.2.2.2 05-Mar-2011  bouyer Sync with HEAD
 1.2.2.1 21-Feb-2011  bouyer file ar9285_reset.c was added on branch bouyer-quota2 on 2011-03-05 15:10:37 +0000
 1.1 21-Feb-2011  cegger branches: 1.1.2; 1.1.4; 1.1.8;
add AR9285 support
 1.1.8.2 06-Jun-2011  jruoho Sync with HEAD.
 1.1.8.1 21-Feb-2011  jruoho file ar9285v2.ini was added on branch jruoho-x86intr on 2011-06-06 09:09:21 +0000
 1.1.4.2 05-Mar-2011  rmind sync with head
 1.1.4.1 21-Feb-2011  rmind file ar9285v2.ini was added on branch rmind-uvmplock on 2011-03-05 20:55:03 +0000
 1.1.2.2 05-Mar-2011  bouyer Sync with HEAD
 1.1.2.1 21-Feb-2011  bouyer file ar9285v2.ini was added on branch bouyer-quota2 on 2011-03-05 15:10:37 +0000

RSS XML Feed