summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Update to reflect net install changes.nwhitehorn2011-04-171-12/+44
|
* Get rid of the "nfscl: consider increasing kern.ipc.maxsockbuf"rmacklem2011-04-171-7/+2
| | | | | | | | | | message that was generated when doing experimental NFS client mounts. I put that message in because the krpc would hang with the default size for mounts that used large rsize/wsize values. Since the bug that caused these hangs was fixed by r213756, I think the message is no longer needed. MFC after: 2 weeks
* Fix up some of the sysctls for the experimental NFS client sormacklem2011-04-172-6/+10
| | | | | | | that they use the same names as the regular client. Also add string descriptions for them. MFC after: 2 weeks
* Make dialog's --prgbox option actually work.nwhitehorn2011-04-171-7/+6
|
* Update dialog to version 1.1-20110302.nwhitehorn2011-04-1799-2873/+5185
|\
| * Update dialog to 20110302 version.nwhitehorn2011-04-1798-2868/+5179
| |
| * Vendor import of dialog-1.1-20100428.nwhitehorn2011-01-13282-0/+61165
|
* Make in_proto.c dependent on either inet or inet6.bz2011-04-172-1/+10
| | | | | | | | | | | | | | | While it does not provide any functionality for IPv6, it provides the sysctl nodes for net.inet.* that a lot of functionality shared between IPv4 and IPv6 depends on. We cannot change these anymore without breaking a lot of management and tuning. In case of IPv6 only, we compile out everything but the sysctl node declarations. Reviewed by: gnn Sponsored by: The FreeBSD Foundation Sponsored by: iXsystems MFC After: 5 days
* Fix error where error variable was assigned result of comparison,glebius2011-04-171-1/+1
| | | | | | | instead of function return value. Submitted by: Przemyslaw Frasunek <przemyslaw frasunek.com> MFC after: 4 days
* Remove hast_proto_recv(). It was used only in one place, wheretrociny2011-04-173-21/+1
| | | | | | | | hast_proto_recv_hdr() may be used. This also fixes the issue (introduced by r220523) with hastctl, which crashed on assert in hast_proto_recv_data(). Suggested and approved by: pjd (mentor)
* Fix IPv6 ND. After r219562 we in nd6_ns_input() were erroneously alwaysbz2011-04-171-2/+2
| | | | | | | | | | | | | passing the cached proxydl reference (sockaddr_dl initialized or not) to nd6_na_output(). nd6_na_output() will thus assume a proxy NA. Revert to conditionally passing either &proxydl or NULL if no proxy case desired. Tested by: ipv6gw and ref9-i386 Reported by: Pete French (petefrench ingresso.co.uk on stable) Reported by: bz, simon on Y! cluster Reported by: kib PR: kern/151908 MFC after: 3 days
* Allow using CMSG_NXTHDR with -Wcast-align.jilles2011-04-171-1/+1
| | | | | | | | | | | | | | If various checks are omitted, the CMSG_NXTHDR macro expands to (struct cmsghdr *)((char *)(cmsg) + \ _ALIGN(((struct cmsghdr *)(cmsg))->cmsg_len)) Although there is no alignment problem (assuming cmsg is properly aligned and _ALIGN is correct), this violates -Wcast-align on strict-alignment architectures. Therefore an intermediate cast to void * is appropriate here. There is no workaround other than not using -Wcast-align. MFC after: 2 weeks
* Cleanup some left-over empty directories in contrib/llvm.dim2011-04-170-0/+0
|
* ktrace: Log the code for all signals (PSIG events).jilles2011-04-171-2/+2
| | | | | | | | | | | The code provides information on how the signal was generated. Formerly, the code was only logged for traps, much like only signal handlers for traps received a meaningful si_code before FreeBSD 7.0. In rare cases, no information is available and 0 is still logged. MFC after: 1 week
* Change some defaults in the experimental NFS client to be thermacklem2011-04-172-4/+21
| | | | | | | | | same as the regular NFS client for NFSv3. The main one is making use of a reserved port# the default. Also, set the retry limit for TCP the same and fix the code so that it doesn't disable readdirplus for NFSv4. MFC after: 2 weeks
* Mark the PHY as inactive before the chip is reset.adrian2011-04-171-0/+9
| | | | | | | | | | It's also marked inactive by the initvals, and enabled after the baseband/PLL has been configured, but before the RF registers have been programmed. The origin and reason for this particular change is currently unknown. Obtained from: Linux ath9k
* If we can retrieve interface address sleep for one second and try again.sobomax2011-04-171-9/+29
| | | | | | | This can happen during start-up, when natd starts before dhclient has a chance to receive IP address from the upstream provider. MFC after: 2 weeks
* Fix readdirplus in the experimental NFS client so that itrmacklem2011-04-171-1/+22
| | | | | | | skips over ".." to avoid a LOR race with nfs_lookup(). This fix is analagous to r138256 in the regular NFS client. MFC after: 2 weeks
* Add a lktype flags argument to nfscl_nget() and ncl_nget() in thermacklem2011-04-167-20/+25
| | | | | | | experimental NFS client so that its nfs_lookup() function can use cn_lkflags in a manner analagous to the regular NFS client. MFC after: 2 weeks
* Add mutex locking on the nfs node in ncl_inactive() for thermacklem2011-04-161-0/+4
| | | | | | experimental NFS client. MFC after: 2 weeks
* Remove malloc(9) return value checks when M_WAITOK is used.dchagin2011-04-162-44/+0
| | | | MFC after: 2 Week
* Add some new features:bschmidt2011-04-163-3/+69
| | | | | | | | | - 6000 series devices need enhanced sensitivity calibration. - 6000 series devices need a different setting for the shadow reg. - set the IWN_FLAG_HAS_11N bit if the EEPROM says the device has 11n support. Obtained from: OpenBSD
* Bring over the HAL/OPS changes, instead of two const structs it is nowbschmidt2011-04-162-166/+160
| | | | | | slightly more dynamic. Obtained from: OpenBSD
* Read RX/TX chainmasks directly of the EEPROM. Some chips are known tobschmidt2011-04-161-14/+8
| | | | | | | have the wrong/broken information stored, keep the hardcoded values for those. Obtained from: OpenBSD
* Just a whitespace sync, some more style(9) conform then others.bschmidt2011-04-163-225/+158
|
* Sync comments with OpenBSD.bschmidt2011-04-162-37/+38
|
* Sync debug and error messages with OpenBSD.bschmidt2011-04-161-84/+65
|
* Shuffle code around a bit. Mostly to group functional connected things,bschmidt2011-04-162-306/+301
| | | | others to get the same order as the OpenBSD code.
* Don't do Kite antenna switch selection this way (for now); antennaadrian2011-04-161-26/+3
| | | | diversity is done elsewhere now.
* Rename some stuff in favour of the OpenBSD names:bschmidt2011-04-161-26/+26
| | | | | | - prefer EDCA over WME - qid for a TXQ ID - reg for register values
* Fix WME/QoS handling:bschmidt2011-04-161-27/+43
| | | | | | - move the TX queue selection into iwn_tx_data/iwn_tx_data_raw - extract traffic identifier and use it - do not expect ACKs for frames marked as such
* Remove if_ierrors which do not necessarily indicate a RX error, alsobschmidt2011-04-161-3/+2
| | | | do account send packets. While here use the IWN_TX_FAIL constant.
* Disable classic-style fast diversity on the AR5416 and later.adrian2011-04-161-0/+2
| | | | | | Antenna diversity on the >= AR5416 is implemented differently than the AR5212 and previous chips. So for now, and not to confuse things, just disable it for now.
* Instead of hardcoding TX rates and using that to fill the retry tablebschmidt2011-04-162-85/+70
| | | | use the neogotiated ni_rates instead.
* Remove some duplicate code from the AR9285 TX power configuration path.adrian2011-04-163-58/+5
|
* Remove missing include directory in preparation for addingbrucec2011-04-161-1/+1
| | | | -Wmissing-include-dirs to CWARNFLAGS.
* Replace RX/TX ring allocation error messages with something more sanebschmidt2011-04-161-22/+14
| | | | and remove those where the caller already prints one.
* Prevent double-free, also use the same error codes as OpenBSD.bschmidt2011-04-161-3/+2
|
* Add missing bus_dmamap_sync calls as well as remove two duplicate ones.bschmidt2011-04-161-4/+8
| | | | Obtained from: OpenBSD
* Unify TX/RX ring allocation, finish the descriptior DMA stuff beforebschmidt2011-04-161-9/+10
| | | | starting with data.
* Make sure to destroy all DMA tags and maps.bschmidt2011-04-161-7/+19
|
* Rewrite DMA segment handling to be more inline with the OpenBSD code.bschmidt2011-04-161-46/+62
| | | | Also change the m_len == 0 hack to have less code churn.
* scratch_paddr has the same address pre-assigned, use that instead.bschmidt2011-04-161-4/+2
|
* In case a new mbuf can't be loaded, reuse the old one.bschmidt2011-04-161-0/+12
|
* OpenBSD uses IWN_RBUF_SIZE not MJUMPAGESIZE for the RX path, also replacebschmidt2011-04-161-12/+10
| | | | caddr_t with void * to be in sync.
* Remove the flags argument of iwn_dma_contig_alloc(), it is always setbschmidt2011-04-161-23/+21
| | | | as BUS_DMA_NOWAIT. While here also set BUS_DMA_COHERENT.
* Move a comment to the right place. The rearrange done in r208928 leftjh2011-04-161-4/+3
| | | | the comment to a wrong place.
* RSSI related syncs with the OpenBSD code:bschmidt2011-04-161-17/+11
| | | | | | | | - read RSSI only for the active chains - cast RSSI/NF to int8_t before passing it up to radiotap - remove the htole64() for the timestamp Obtained from: OpenBSD
* Pass errors that might happen during state transitions up to net80211.bschmidt2011-04-161-3/+11
|
* Obtain the channel number directly from the laster RXON command, alsobschmidt2011-04-161-5/+4
| | | | chan is an uint8_t.
OpenPOWER on IntegriCloud