summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* - Remove accounting of locked memory from vsunlock(9) that I missed in r239818.zont2012-08-301-7/+0
| | | | Approved by: kib (mentor)
* Migrate the AR9285 diversity configuration LNA configuration to useadrian2012-08-303-110/+126
| | | | | | | | | some HAL definitions rather than local definitions. The original source (ath9k) pulled this stuff from the QCA driver and removed the HAL_* prefix. I'm just restoring the correct order of things. Obtained from: Qualcomm Atheros
* Do not call sati_check_data_io() for SATI_UNMAP sequences.jimharris2012-08-301-4/+0
| | | | | | | | | | | | This routine is intended only for commands such as INQUIRY where the controller may fill out a smaller amount of data than allocated by the host. The end result of this bug was that isci(4) would report non-zero resid for successful SCSI_UNMAP commands. Sponsored by: Intel MFC after: 3 days
* More attempts at space saving.adrian2012-08-291-2/+4
| | | | | | * add cam as a module to build - but build in scbus/da for now, as "cam" as a module includes all cam devices. Hardly space saving. * Don't build FFS snapshot support.
* Do a bunch of fixing and refactoring.adrian2012-08-291-8/+10
| | | | | | | Fix up gzip to crunch right. Add kenv, although I'm not yet sure why it isn't working on my MIPS boards (reading kenv always returns blank.)
* Disable fsck_ffs for now, 4MB target size issues.adrian2012-08-291-1/+1
|
* Disable building textproc for now, it doesn't fit on my 4MB flashadrian2012-08-291-2/+2
| | | | | | partition. Add -lcrypt as a dynamic target.
* For now, disable building wpa_supplicant.adrian2012-08-291-3/+3
| | | | My 4MB flash builds can't handle the bloat.
* Avoid passing uninitialized stack to addelem() if called with an empty arg.emaste2012-08-291-2/+2
| | | | PR: bin/171174
* After r239868, also remove the comment about the workaround fordim2012-08-291-1/+0
| | | | ah_eeprom_9287.c.
* Teach libdwarf about the DW_FORM_flag_present dwarf attribute, sodim2012-08-294-0/+9
| | | | | | | programs using libdwarf (such as ctfconvert) don't error out on files containing the attribute. MFC after: 2 weeks
* Teach gdb about the DW_FORM_flag_present dwarf attribute, so it doesn'tdim2012-08-292-1/+8
| | | | | | | error out on files that contain it. (This attribute can be emitted by newer versions of clang.) MFC after: 2 weeks
* Remove the argument-less .align directive in sys/i386/bios/smapi_bios.S.dim2012-08-291-1/+0
| | | | | | | | Specifying no argument is undocumented in the gas manual, and clang's integrated assembler refuses to parse it. Also, removing it causes no change at all in the resulting object file. MFC after: 1 week
* Remove workaround for the clang 3.2 warning in ah_eeprom_9287.c, sincedim2012-08-292-2/+1
| | | | the fix has been applied now.
* There's no nede to allocate a DMA map just before calling bus_dmamem_alloc().adrian2012-08-291-11/+0
| | | | | | | | | | | In fact, bus_dmamem_alloc() happily NULLs the dmat pointer passed in, before replacing it with its own. This fixes a MIPS crash when kldload'ing if_ath/if_ath_pci - bus_dmamap_destroy() was passed in a NULL dmat pointer and was doing all kinds of very bad things. Reviewed by: scottl
* - Unlike cache invalidation and TLB demapping IPIs, reading registers frommarius2012-08-294-20/+29
| | | | | | | | | | | | | other CPUs doesn't require locking so get rid of it. As the latter is used for the timecounter on certain machine models, using a spin lock in this case can lead to a deadlock with the upcoming callout(9) rework. - Merge r134227/r167250 from x86: Avoid cross-IPI SMP deadlock by using the smp_ipi_mtx spin lock not only for smp_rendezvous_cpus() but also for the MD cache invalidation and TLB demapping IPIs. - Mark some unused function arguments as such. MFC after: 1 week
* Fix whitespace.ed2012-08-291-2/+1
|
* Fix a dead link in sk(4).issyl02012-08-291-2/+2
| | | | | | PR: docs/146958 Approved by: gjb (mentor) MFC after: 3 days
* Change the gptboot example so the boot partition is aligned on a 4 kBdes2012-08-291-2/+3
| | | | | | boundary. MFC after: 3 days
* Follow r239818 and remove no more relevant vslock() ENOMEM error.pluknet2012-08-291-4/+1
| | | | | Reviewed by: zont MFC after: 2 weeks
* - Don't take an account of locked memory for current process in vslock(9).zont2012-08-291-21/+0
| | | | | | | | | | | There are two consumers of vslock(9): sysctl code and drm driver. These consumers are using locked memory as transient memory, it doesn't belong to a process's memory. Suggested by: avg Reviewed by: alc Approved by: kib (mentor) MFC after: 2 weeks
* 4-wire mode isn't working quite right, so turn it off for a bit.imp2012-08-291-1/+1
|
* Make this work on the AT91SAM9G20:imp2012-08-291-9/+22
| | | | | | | | | o Disable multi-block operations: they sometimes fail. o Don't use the PROOF bits yet: they hang the system hard. o Disable the the multi-block operations for !rm9200, but it still doesn't help. o Fix writing < 12 bytes errata to actually work. o Enable, for the moment, reporting extra bytes soaked up.
* When copying data, use memcpy instead of bcopy. It matches theimp2012-08-291-7/+7
| | | | | | arguments better. Also, set the need to use the workaround flag before we actually need to use it, rather than after.
* Set the HAL combined antenna diversity capability if the AR9285adrian2012-08-291-0/+3
| | | | EEPROM settings allow it.
* Add a new capability bit - whether the hardware supports AR9285 styleadrian2012-08-291-1/+2
| | | | combined diversity.
* Add AR5413 radar parameters and strong signal diversity capability.adrian2012-08-292-21/+155
| | | | | | | | | | | | This is a re-implementation based on the reference carrier code for the AR5413. Tested: * Pulse detection for AR5212 and AR5413, to ensure the correct behaviour for both chips PR: kern/170904 Obtained from: Qualcomm Atheros
* Add a (temporarily located) definition.adrian2012-08-291-0/+5
|
* Bring over a configuration for the Atheros AP91 reference board.adrian2012-08-292-0/+167
| | | | | | | | This has an AR7240 SoC with an AR9285 wireless NIC on-board. Since the kernel partition on the 4MiB flash is 960KiB, quite a bit is disabled to try and squeeze the build into that. Even lzma'ed, it's still quite large.
* Remove - not needed.adrian2012-08-291-2/+0
|
* Remove extra debugging - there's no longer any need.adrian2012-08-291-2/+0
|
* * Don't compile in sysctl descriptionsadrian2012-08-281-1/+4
| | | | * random is fine as a module
* Add a new flash part - 4MB SPI flash from Winbond.adrian2012-08-281-0/+1
|
* Remove unused SI_* flags.ed2012-08-282-6/+0
| | | | | The SI_DEVOPEN, SI_CONSOPEN and SI_CANDELETE flags are not used by any piece of code in the tree.
* Remove unneeded G_PF_CANDELETE flag.ed2012-08-289-24/+0
| | | | | This flag is only used by GEOM so it can be propagated to the character device's SI_CANDELETE. Unfortunately, SI_CANDELETE seems to do nothing.
* Use a proper destructor function.ed2012-08-281-9/+12
| | | | | | | | | | | | When calling a revoke(2) on a dtrace device, dtrace_close() could be called, even if threads are still stuck in the device. Defer the actual deallocation of datastructures to the cdevpriv destructor. While there, remove the unneeded D_TRACKCLOSE and D_NEEDMINOR flags. For the helper device, we never need it. For the regular dtrace devices, we only need these flags on FreeBSD pre-8. MFC after: 1 month
* Make AT91_MCI_ALLOW_OVERCLOCK a real option. Rename old use 30MHz toimp2012-08-281-86/+89
| | | | | this new option. Only try to use > 25MHz when our best frequency is < 15MHz and overclocking is enabled. Fix minor style chaff.
* Don't overwrite the global default CFLAGS when setting include paths.brooks2012-08-281-1/+1
| | | | MFC after: 3 days
* Clip the upper end to 31MHz for slow clock speeds. On fasterimp2012-08-281-5/+6
| | | | machines, we wind up with a 66MHz clock, which is too fast.
* Shorten the name of the fast SWI taskqueue to "fast taskq" so thatjhb2012-08-281-1/+1
| | | | | | | it fits. Reported by: lev MFC after: 1 week
* Link ipfilter(4) and ipfilter(5) to the build to stop the wrong man pageissyl02012-08-281-2/+2
| | | | | | | | displaying for 'man 4 ipfilter'. PR: docs/118020 Approved by: gjb (mentor) MFC after: 5 days
* Merge recent vendor changes:mm2012-08-2822-51/+200
| | | | | | | | | | | | | | 3100 zvol rename fails with EBUSY when dirty 3104 eliminate empty bpobjs 3120 zinject hangs in zfsdev_ioctl() due to uninitialized zc References: https://www.illumos.org/issues/3100 https://www.illumos.org/issues/3104 https://www.illumos.org/issues/3120 Obtained from: illumos (vendor/illumos, vendor/illumos-sys) MFC after: 2 weeks
* Fix misspelled "Infiniband".jhb2012-08-282-2/+2
| | | | | Submitted by: gcooper MFC after: 3 days
* - Don't allow watchdogd(8) to be swapped out.zont2012-08-281-0/+2
| | | | | | | | | On machines with huge amount of swap and high IO activity, watchdogd(8) may wait for a swap memory longer than timeout and sometimes fires. Approved by: kib (mentor) MFC after: 1 week
* oops, make cfg read-write.adrian2012-08-281-1/+1
|
* This is an initial board configuration for the D-Link DIR-825 dual-bandadrian2012-08-282-0/+135
| | | | | | | | | | | | | | | | | | | | | | | 802.11n router. The flash layout defaults to a 1 MiB section for the kernel so I'm trying very hard to squeeze a minimialistic (LZMA compressde) kernel image into that. I've verified that it boots through to single user mode fine. Issues: * USB doesn't yet work as a module - I need to add something else to the USB AR71xx build before that will work. * There's no switch PHY support - but for now it quite happily behaves as a useful dumb switch out of the box. Phew. * Since a previous flash attempt trashed my radio configuration block, I haven't yet verified whether the wireless works correctly. I'll test that out shortly (read: once I re-calibrate the board somehow.) Thanks to ray@ and the zrouter project for doing some of the initial hard work in figuring out how to bring this board up.
* Move to using a flag instead of checking the CPU type eachimp2012-08-281-2/+9
| | | | transaction for the MCI1 rev 2.x write workarounds.
* Style: Move these routines to be before the forward declared functionsimp2012-08-281-12/+12
| | | | as is the normal practice.
* Bring in the multi-block patches for mci. These required extensiveimp2012-08-281-193/+664
| | | | | | | | | | | | | restructuring of the driver. I've tried to preserve the other silicon workarounds that we've added over the years, but haven't had a chance to extensively test on other hardware. On my AT91RM9200 with 30MHz/1 wire/64 block transfers, I've been able to go from ~.66MB/s to 2.25MB/s in the simple tests I performed, almost a 3.5x improvement. This cuts the boot time almost in half when everything else goes right (timed from rtc message to login: prompt). PR: 155214 Submitted by: Ian Lapore
* Only print the descriptor contents!adrian2012-08-271-2/+2
| | | | | | Found by: magical CLANG build environments Submitted by: Sevan <venture37@gmail.com>
OpenPOWER on IntegriCloud