summaryrefslogtreecommitdiffstats
path: root/sys/contrib/dev
Commit message (Collapse)AuthorAgeFilesLines
* Merge WIP from p4:sam2008-12-131-440/+673
| | | | | | | | | | | | | | | | | | o recognize ixp435 cpu o change memory layout for for ixp4xx to not assume memory is aliases to 0x10000000 (Cambria/ixp435 memory starts at zero) o handle 64 irqs for ixp435 o dual EHCI USB 2.0 controller integral to ixp435 o overhaul NPE code for ixp435 and better MAC+MII naming o updated NPE firmware (including NPE-A image for ixp435/ixp465) o Gateworks Cambria board support: - IDE compact flash - MCU - front panel LED on i2c bus - Octal LED latch Sanity-tested with NFS-root on Avila and Cambria boards. Requires pending boot2 mods for CF-boot on Cambria.
* Switch to ath hal source code. Note this removes the ath_halsam2008-12-0183-195147/+0
| | | | | | | | | | | | | | | | | module; the ath module now brings in the hal support. Kernel config files are almost backwards compatible; supplying device ath_hal gives you the same chip support that the binary hal did but you must also include options AH_SUPPORT_AR5416 to enable the extended format descriptors used by 11n parts. It is now possible to control the chip support included in a build by specifying exactly which chips are to be supported in the config file; consult ath_hal(4) for information.
* Merge ath again (addition of wisoc files).rpaulo2008-09-053-0/+4829
|\
| * Flatten the vendor-sys/ath tree for future imports.rpaulo2008-08-2782-137923/+0
| |
| * Workaround the detect-merge-conflicts.sh script and 's/^======$/&='.rpaulo2008-08-271-1/+1
| |
* | Merge fix for P4 expansion from vendor branch.rpaulo2008-09-051-1/+1
| |
* | Merge ath_hal 0.10.5.10 to head.rpaulo2008-08-2876-120629/+176586
| | | | | | | | Approved by: sam
* | Remove the oltr(4) driver. No one responded to calls for testing onjhb2008-07-0410-12482/+0
| | | | | | | | | | | | | | | | current@ and stable@ for the locking patches. The driver can always be revived if someone tests it. This driver also sleeps in its if_init routine, so it likely doesn't really work at all anyway in modern releases.
* | Make oltr(4) MPSAFE:jhb2008-07-044-145/+146
| | | | | | | | | | | | | | | | | | - Add a mutex to the softc and use it to protect the softc and device hardware. - Setup interrupt handler after interface attach. - Retire 'unit' from softc and use if_printf() instead. - Don't frob IFF_UP in the driver. - Use callout_() rather than timeout() and untimeout().
* | Intel 4965 wireless driver (derived from openbsd driver of the same name)sam2008-04-292-0/+3437
| |
* | Multi-bss (aka vap) support for 802.11 devices.sam2008-04-207-0/+3876
| | | | | | | | | | | | | | | | | | | | | | Note this includes changes to all drivers and moves some device firmware loading to use firmware(9) and a separate module (e.g. ral). Also there no longer are separate wlan_scan* modules; this functionality is now bundled into the wlan module. Supported by: Hobnob and Marvell Reviewed by: many Obtained from: Atheros (some bits)
* | This commit was generated by cvs2svn to compensate for changes in r175256,njl2008-01-121-3/+19
|\ \ | | | | | | | | | which included commits to RCS files with non-trunk default branches.
| * | Fix GPE livelock that occurs on HP/Compaq laptops, mostly in the thermalnjl2008-01-121-3/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | zone code. The GPE handler method (i.e. _L00) generates various Notify events that need to be run to completion before the GPE is re-enabled. In ACPI-CA, we queue an asynch callback at the same priority as a Notify so that it will only run after all Notify handlers have completed. The callback re-enables the GPE afterwards. We also changed the priority of Notifies to be the same as GPEs, given the possibility that another GPE could arrive before the Notifies have completed and we don't want it to get queued ahead of the rest. The ACPI-CA change was submitted by Alexey Starikovskiy (SUSE) and will appear in a later release. Special thanks to him for helping track this bug down. MFC after: 1 week Tested by: jhb, Yousif Hassan <yousif / alumni.jmu.edu>
* | | Initial Import of wpi driver based on p4 changeset 128641.benjsc2007-11-052-0/+2667
| | | | | | | | | | | | | | | | | | | | | | | | | | | This import includes: o wpi Wireless driver for the Intel 3945 Wireless Lan Controller (802.11abg) (sys/dev/wpi) o Intel firmware revision 2.14.4 & associated LICENSE (sys/dev/contrib/wpi, sys/contrib/dev/wpi/LICENSE) o wpifw Firmware driver (sys/modules/wpifw) Approved by: mlaier, sam (co-mentors)
* | | Ok I hope I got it right this time.cognet2007-09-272-0/+815
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | After discussion with Sam, switch back to use firmware(9) instead of having the firmware in hex format. Put the binary firmware uuencoded into sys/contrib/dev/npe, and slap a LICENSE file, as found on the Intel website. Approved by: re (blanket), mux (mentor) MFC After: 1 week
* | | This commit was generated by cvs2svn to compensate for changes in r172314,jkim2007-09-242-10/+15
|\ \ \ | |/ / | | | | | | which included commits to RCS files with non-trunk default branches.
| * | Fix global lock recursion bug.jkim2007-09-242-10/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch was part of ACPI-CA 20070508 release and the following is excerpt from its change log: Fixed a problem where the Global Lock handle was not properly updated if a thread that acquired the Global Lock via executing AML code then attempted to acquire the lock via the AcpiAcquireGlobalLock interface. Reported by Joe Liu. Approved by: re (kensmith) Tested by: ambrisko Obtained from: Intel
* | | This commit was generated by cvs2svn to compensate for changes in r168616,ru2007-04-111-0/+2
|\ \ \ | |/ / | | | | | | which included commits to RCS files with non-trunk default branches.
| * | Unbreak world build.ru2007-04-111-0/+2
| | |
* | | This commit was generated by cvs2svn to compensate for changes in r168609,njl2007-04-111-0/+3
|\ \ \ | |/ / | | | | | | which included commits to RCS files with non-trunk default branches.
| * | Put some overly verbose prints under bootverbose. This is on the vendornjl2007-04-111-0/+3
| | | | | | | | | | | | branch but we need to work out a different interface with the vendor.
* | | Merge from vendor branch to fix tinderbox breakage.jkim2007-03-221-2/+4
| | |
* | | This commit was generated by cvs2svn to compensate for changes in r167817,jkim2007-03-221-1/+2
|\ \ \ | |/ / | | | | | | which included commits to RCS files with non-trunk default branches.
| * | Fix tinderbox build breakage.jkim2007-03-222-3/+6
| | | | | | | | | | | | | | | Note that it is committed on the vendor branch because it will be submitted to the vendor.
| * | Remove files that are no longer needed or removed by vendor.jkim2007-03-225-3071/+0
| | |
* | | Update to reflect import of ACPI-CA 20070320.jkim2007-03-221-7/+6
| | |
* | | Resolve conflicts from import of Intel ACPI-CA 20070320.jkim2007-03-223-103/+143
| | |
* | | Resolve conflicts of unchanged files that are off the vendor branch.jkim2007-03-2221-1056/+1410
| | |
* | | Remove files that removed on the vendor branch.jkim2007-03-222-1549/+0
| | |
* | | This commit was generated by cvs2svn to compensate for changes in r167807,jkim2007-03-223-1522/+0
| | | | | | | | | | | | which included commits to RCS files with non-trunk default branches.
* | | This commit was generated by cvs2svn to compensate for changes in r167805,jkim2007-03-224-5/+21
|\ \ \ | |/ / | | | | | | which included commits to RCS files with non-trunk default branches.
| * | Add fixes for FreeBSD build that were submitted upstream.jkim2007-03-225-6/+22
| | |
* | | This commit was generated by cvs2svn to compensate for changes in r167802,jkim2007-03-22177-12462/+22966
|\ \ \ | |/ / | | | | | | which included commits to RCS files with non-trunk default branches.
| * | Vendor import of Intel ACPI-CA 20070320jkim2007-03-22201-13627/+24503
| | |
* | | - Add Intel firmwares for Intel PRO/Wireless LAN 2100/2200/2915 cards in aflz2007-03-028-0/+27708
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | uuencoded format along with their respective LICENSE files. - Add new share/doc/legal directory to BSD.usr.dist mtree file. This is the place we install LICENSE files for restricted firmwares. - Teach firmware(9) and kmod.mk about licensed firmwares. Restricted firmwares won't load properly unless legal.<name>.license_ack is set to 1, either via kenv(1) or /boot/loader.conf. Reviewed by: mlaier, sam Permitted by: Intel (via Andrew Wilson) MFC after: 1 month
* | | o break newbus api: add a new argument of type driver_filter_t topiso2007-02-231-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | bus_setup_intr() o add an int return code to all fast handlers o retire INTR_FAST/IH_FAST For more info: http://docs.freebsd.org/cgi/getmsg.cgi?fetch=465712+0+current/freebsd-current Reviewed by: many Approved by: re@
* | | This commit was generated by cvs2svn to compensate for changes in r165182,sam2006-12-1335-123531/+118083
|\ \ \ | | |/ | |/| | | | which included commits to RCS files with non-trunk default branches.
| * | Version 0.9.20.3:sam2006-12-1335-123531/+118083
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | o remove os-specific glue code; it's now the responsibility of the driver o add wackelf utility for patching the ELF magic number on arm builds since noone can agree on how to mark a .o file as not having any floating point instructions o remove radar/dfs-related entry points; folks have finally decided how to support dfs w/o polluting the hal o properly recognize AR2424 chips (they were being rejected on attach despite being fully supported) o add HAL_CAP_RXORN_FATAL capability to control how RXORN errors are handled; previously RXORN was always treated as fatal because older chips required a reset; now we do not treat it as fatal for "newer chips" (noone seems to know what the cutoff is so this capability can be used to override the current guestimate) o HAL_CAP_RXTSTAMP_PREC capability to export the number of bits of precision for timestamp data returned in the rx descriptor o remove public exposure of the compression buffer; it is chip specific and never belonged in the public view o change definition of HAL_INT_GLOBAL from an enum member to a #define to workaround compilers that bitch about enum values that appear overflow 31 bits o add support for newer chips that can store the tkip mic key together with the cipher key in a single key cache entry o split tx/rx descriptor into a h/w section and a s/w portion; this permits storing the s/w area in cached memory when the h/w area is stored in uncached memory; this also shrinks memory use since only one status block is needed while multiple tx/rx descriptors may be required per frame o add final transmit series index to the transmit descriptor status so rate control algorithms don't need to grovel through h/w state to find it o remove ds_vdata field from the descriptor state as part of the radar changes o fix excessive stack usage for some 5212 rf backends o correct rfkill handling when the pin polarity is 0 true o correct handling of tsf wrap when reading 64-bit values MFC after: 1 month
| * | o move ath hal os glue code from the hal to the driver: this code wassam2006-09-183-661/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | part of the hal distribution early on when the hal was built for each os but it's been portable for a long time so move the os-specific code out (and off the vendor branch) o correct the copyright on ah_osdep.?; it was mistakenly given a restricted license and not a dual-bsd/gpl license o remove the module api definition as it was never used o fixup include paths for move of ah_osdep.h MFC after: 2 weeks
* | | remove this from HEAD too since it got taken off the vendor branchsam2006-09-181-444/+0
| | |
* | | This commit was generated by cvs2svn to compensate for changes in r162413,sam2006-09-182-217/+0
| | | | | | | | | | | | which included commits to RCS files with non-trunk default branches.
* | | The strstr() function is in the libkern now.pjd2006-08-121-22/+0
| | |
* | | reposition defines so things build on architectures where AH_REGOPS_FUNCsam2006-06-071-14/+14
| | | | | | | | | | | | is defined
* | | resolve merge conflictssam2006-06-051-9/+36
| | | | | | | | | | | | MFC after: 1 month
* | | This commit was generated by cvs2svn to compensate for changes in r159285,sam2006-06-0574-102663/+127118
|\ \ \ | |/ / | | | | | | which included commits to RCS files with non-trunk default branches.
| * | Version 0.9.17.2:sam2006-06-0575-102672/+127154
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | o define HAL_SOFTC, HAL_BUS_TAG, and HAL_BUS_HANDLE to be machine independent; this fixes portability issues with bsd systems o add ah_disable api for turning off operation of both MAC and PHY o add ah_getAntennaSwitch and ah_setAntennaSwitch api's for better control of antenna usage and diversity o add ah_setAckCTSRate and ah_setAckCTSRate for controlling tx rate of h/w generated frames o add ah_setBeaconTimers api for simpler setting of the beacon timer registers o remove ah_waitForBeaconDone api o add HAL_TXDESC_DURENA flag to enable h/w duration setting in tx descriptor o correct documentation of min/max tx power units (.5 dBm) o switch arm, mips, and powerpc builds to use functions for register read/write operations o fix sparc builds to not reference %g2 and %g3 registers o add public builds for SoC's MFC after: 1 month
* | | Since DELAY() was moved, most <machine/clock.h> #includes have beenphk2006-05-161-1/+0
| | | | | | | | | | | | unnecessary.
* | | resolve merge conflictssam2006-02-101-4/+6
| | | | | | | | | | | | MFC after: 2 weeks
* | | This commit was generated by cvs2svn to compensate for changes in r155511,sam2006-02-1065-69379/+109156
|\ \ \ | |/ / | | | | | | which included commits to RCS files with non-trunk default branches.
| * | Version 0.9.16.16:sam2006-02-1066-69383/+109162
| | | | | | | | | | | | | | | | | | | | | | | | | | | o new chip support o new platforms: powerpc-be-elf, sparc64-be-elf, and alpha-elf (alpha is untested, others are known to work) o many fixes and improvements MFC after: 2 weeks
OpenPOWER on IntegriCloud