summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* Small LRO related fixes for mxge:gallatin2007-06-112-5/+39
| | | | | | | - Allow LRO to be enabled / disabled at runtime - Fix a double-free at module unload time. - Only update timestamp in lro merge when it is present in the frame Sponsored by: Myricom
* When we return from a "show" function without printing anything exceptbde2007-06-111-6/+6
| | | | | | | | | | | | a warning, return 1 instead of 0 to indicate that we didn't print anything, so that top-level callers don't print a spurious newline. This is mainly to fix output formatting when stderr is redirected. It also helps in some cases when stderr is interleaved with stdout, depending on the details of the interleaving (this program has the usual null explicit support for syncing stderr with stdout). Return 1 instead of -1 after printing the "malloc failed" warning, since the return value is boolean.
* Add missing \n to printfphk2007-06-111-1/+1
|
* MFp4 (missed in net80211 megaupdate)thompsa2007-06-112-7/+25
| | | | | | | | - Use a seperate taskqueue+thread for reset tasks since iwi_ops will block. - Return from iwi_ops if the interface has been downed - The firmware will fail if we are already associated - Add myself to the copyright
* Add wlan_scan_ap and wlan_scan_sta to platforms that include wlan.thompsa2007-06-114-0/+8
|
* Fix what seems to be a copy-paste buglet (`moused_type' is usedkeramida2007-06-111-3/+30
| | | | | | | | | | | in the description of `moused_flags', instead of the later), and add a description of `moused_XXX_flags' where `XXX' is the port name of a non-default moused invocation -- including an example of using "-3" with the default moused(8) instance, but no special flags for moused(8) invocations handling 3-button USB mice (which seems a very common scenario these days). MFC after: 3 days
* Fix an aliasing bug which was finally detected by gcc-4.2. fdlibm hasbde2007-06-111-1/+1
| | | | | | | | | hundreds of similar aliasing bugs, but all except this one seem to have been fixed by Cygnus and/or NetBSD before the modified version of fdlibm was imported into FreeBSD in 1994. PR: standards/113147 Submitted by: Steve Kargl <sgk@troutmask.apl.washington.edu>
* Add new files in the net80211 changes.thompsa2007-06-111-1/+3
|
* Add inet_ntoa_r, a reentrant version of inet_ntoa. This isdelphij2007-06-115-2/+25
| | | | | | available on a lot of platforms, as well as libkern for years. Submitted by: "MQ"
* Use tabs after #define.stefanf2007-06-111-5/+5
| | | | | Obtained from: NetBSD Spotted by: njl
* Expand DECLARE_USB_DMA_T inline in the one place it is used and eliminateimp2007-06-112-9/+6
| | | | from usb_port.h.
* Eliminate USB_ATTACH_SETUP and USB_MATCH_SETUP. They are no longer inimp2007-06-111-9/+0
| | | | the tree.
* Prefer device_printf over printf.imp2007-06-112-45/+34
|
* Minor tweak.imp2007-06-111-4/+2
|
* Prefer device_printf to printfimp2007-06-111-44/+41
| | | | | | Eliminate rue_unit from softc # saves ~200 bytes
* Prefer device_printf to printfimp2007-06-112-40/+36
| | | | | | Remove keu_unit from softc # this change saves about 180 bytes in the module, all in text
* Get rid of useless devinfo stuffimp2007-06-111-40/+28
| | | | | | | Kill bogus bzero prefer device_printf to printf Reviewed by: alfred@
* Prefer device_printf to printf where sane.imp2007-06-112-33/+29
| | | | Elimiante cue_unit from softc.
* Don't lose leading '/' for pathnames exactly 101 bytes long.kientzle2007-06-112-8/+25
| | | | Also, update the test harness to exercise this case.
* - Don't force to be the GDB port since dcons(4) is in GENERIC now.simokawa2007-06-111-1/+5
| | | | | | To enable the GDB port of dcons(4), you need to put dcons_gdb=1 in /boot/loader.conf.
* note 802.11 changessam2007-06-111-0/+13
|
* add 11n statssam2007-06-111-17/+60
|
* o add 11n knobsam2007-06-112-10/+22
| | | | o gcc42 stuff
* o add minimal radiotap support for 11nsam2007-06-113-15/+191
|
* track net80211 changes to get scan results ioctlsam2007-06-111-5/+5
|
* Update for revised 802.11 support:sam2007-06-114-171/+959
| | | | | | | | | | | | | | | | | | | | o revised channel handling support; ifconfig now queries the kernel to find the list of available channels and handles channel promotion; channel attributes can be specified as part of the channel; e.g. 36:a for channel 36 in 11a (as opposed to turbo A or HT A) o use channel list to map between freq and IEEE channel #; this eliminates all knowledge of how the mapping is done and fixes handling of cases where channels overlap in the IEEE channel # space but are distinct in the frequency+attributes space (e.g. PSB) o add new knobs: bgscan, ff (Atheors fast frames), dturbo (Atheros Dynamic Turbo mode), bgscanidle, bgscanintvl, scanvalid, roam:rssi11a, roam:rssi11b, roam:rssi11g, roam:rate11a, roam:rate11b, roam:rate11g (roaming parameters), burst, doth (forthcoming 11h support) o print contents of WME, ATH, WPA, RSN, information elements with -v option o print signal strength in dBm o print noise floor in dBm o add list txpow to print tx power caps/channel o change default channel display in status to be more informative
* Update 802.11 wireless support:sam2007-06-1169-4853/+13028
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | o major overhaul of the way channels are handled: channels are now fully enumerated and uniquely identify the operating characteristics; these changes are visible to user applications which require changes o make scanning support independent of the state machine to enable background scanning and roaming o move scanning support into loadable modules based on the operating mode to enable different policies and reduce the memory footprint on systems w/ constrained resources o add background scanning in station mode (no support for adhoc/ibss mode yet) o significantly speedup sta mode scanning with a variety of techniques o add roaming support when background scanning is supported; for now we use a simple algorithm to trigger a roam: we threshold the rssi and tx rate, if either drops too low we try to roam to a new ap o add tx fragmentation support o add first cut at 802.11n support: this code works with forthcoming drivers but is incomplete; it's included now to establish a baseline for other drivers to be developed and for user applications o adjust max_linkhdr et. al. to reflect 802.11 requirements; this eliminates prepending mbufs for traffic generated locally o add support for Atheros protocol extensions; mainly the fast frames encapsulation (note this can be used with any card that can tx+rx large frames correctly) o add sta support for ap's that beacon both WPA1+2 support o change all data types from bsd-style to posix-style o propagate noise floor data from drivers to net80211 and on to user apps o correct various issues in the sta mode state machine related to handling authentication and association failures o enable the addition of sta mode power save support for drivers that need net80211 support (not in this commit) o remove old WI compatibility ioctls (wicontrol is officially dead) o change the data structures returned for get sta info and get scan results so future additions will not break user apps o fixed tx rate is now maintained internally as an ieee rate and not an index into the rate set; this needs to be extended to deal with multi-mode operation o add extended channel specifications to radiotap to enable 11n sniffing Drivers: o ath: add support for bg scanning, tx fragmentation, fast frames, dynamic turbo (lightly tested), 11n (sniffing only and needs new hal) o awi: compile tested only o ndis: lightly tested o ipw: lightly tested o iwi: add support for bg scanning (well tested but may have some rough edges) o ral, ural, rum: add suppoort for bg scanning, calibrate rssi data o wi: lightly tested This work is based on contributions by Atheros, kmacy, sephe, thompsa, mlaier, kevlo, and others. Much of the scanning work was supported by Atheros. The 11n work was supported by Marvell.
* Conditionally acquire Giant in vm_contig_launder_page().alc2007-06-111-0/+4
|
* Diff reduction against other *BSDs: ANSIfy functiondelphij2007-06-114-141/+66
| | | | prototypes. No function changes.
* Add _PATH_FWMEM for libkvm.simokawa2007-06-111-0/+1
|
* Connect icsphy(4) to the build.yongari2007-06-112-1/+2
|
* Add icsphy(4), Integrated Circuit Systems PHY driver, ported fromyongari2007-06-112-0/+438
| | | | | | | NetBSD. ATM the only consumer of the PHY is XBox with nfe(4) driver. Submitted by: Ed Schouten <ed@fxq.nl> Tested by: Ed Schouten <ed@fxq.nl>
* Add ICS1889/ICS1892/ICS1893 PHY.yongari2007-06-111-0/+3
| | | | Submitted by: Ed Schouten <ed@fxq.nl>
* Increase a maximum segment size of DMA to 4096. Previously it usedyongari2007-06-112-2/+4
| | | | | | | | MCLBYTES for the segment size but it used too many Tx descriptors in TSO case. While I'm here adjust maximum size of the sum of all segment lengths in a given DMA mapping to 65535, the maximum size, in bytes, of a IP packet.
* Disable automatic IP ID increment. Due to a hardware bug the automaticyongari2007-06-111-15/+0
| | | | | IP ID increment in TSO case generated corrupted IP packets. This change brings back TSO capability.
* Filter/compress the amount of channel trigger. This should reduceariff2007-06-1129-31/+75
| | | | | | | much of lock/unlock contentions within the interrupt handler. Most of these drivers only need PCMTRIG_START or STOP (ABORT). Discussed with: scottl
* Use default options for default partitioning schemes, rather thanmarcel2007-06-1110-20/+21
| | | | | | | | making the relevant files standard. This avoids duplication and makes it easier to override/disable unwanted schemes. Since ARM doesn't have a DEFAULTS configuration file, leave the source files for the BSD and MBR partitioning schemes in files.arm for now.
* Add the machine-specific definitions for configuring the new physicalalc2007-06-102-1/+31
| | | | | | | | memory allocator. Set the size of phys_avail[] using one of these definitions. Approved by: re
* - Add codec id for ALC660 [1]ariff2007-06-101-1/+10
| | | | | | | | | - Add codec id for AD1988B, along with fixing its line-in and other issues (with proper quirks). [2] Submitted by: [1] barbara.xxx1975@libero.it [2] Oliver Brandmueller ob@e-Gitt.NET MFC after: 3 days
* Optimize vmmeter locking.attilio2007-06-109-91/+74
| | | | | | | | | | In particular: - Add an explicative table for locking of struct vmmeter members - Apply new rules for some of those members - Remove some unuseful comments Heavily reviewed by: alc, bde, jeff Approved by: jeff (mentor)
* Fix a case in tcp_do_segment() where tcp_update_sack_list() wouldandre2007-06-101-2/+1
| | | | | | | | | | | | | be called with an incorrect segment end value. tcp_reass() may trim segments when they overlap with already existing ones in the reassembly queue. Instead of saving the segment end value before the call to tcp_reass() compute it on the fly based on the effective segment length afterwards. This bug was not really problematic as no information got lost and the eventual SACK information computation was correct nontheless. MFC after: 1 week
* Fix style for comments, be more verbose and add some more.andre2007-06-101-23/+34
|
* Some improvements to the int-type printing code based on suggestions by bde.dwmalone2007-06-101-17/+13
|
* Fix a number of WARNS, including printf, constness and unsigned comparisondwmalone2007-06-101-12/+13
| | | | warnings.
* Some style improvements suggested by bde, including removing andwmalone2007-06-101-37/+36
| | | | | unused include, adding parens for return and sizeof and renaming, adding some missing whitespace and sorting some variables.
* Merge NetBSD changes, among them:stefanf2007-06-106-119/+264
| | | | | | | | | | | | | | el.c 1.44, el.h 1.17, editline.3 1.53, histedit.h 1.31: # add EL_GETFP, and EL_SETFP. el.c 1.42, term.c 1.46, term.h 1.18, editline.3 1.52, histedit.h 1.29: # - Add more readline functions, enough for gdb-6.5 # - Make el_get varyadic, and implement EL_GETTC. # - XXX: the EL_SETTC api will change in the future. Note: The latter change breaks the ABI of the el_get() function. Approved by: re (kensmith)
* Now pam_nologin(8) will provide an account management functionyar2007-06-1015-32/+45
| | | | | | | | | | | | | | | | | | | | | | | instead of an authentication function. There are a design reason and a practical reason for that. First, the module belongs in account management because it checks availability of the account and does no authentication. Second, there are existing and potential PAM consumers that skip PAM authentication for good or for bad. E.g., sshd(8) just prefers internal routines for public key auth; OTOH, cron(8) and atrun(8) do implicit authentication when running a job on behalf of its owner, so their inability to use PAM auth is fundamental, but they can benefit from PAM account management. Document this change in the manpage. Modify /etc/pam.d files accordingly, so that pam_nologin.so is listed under the "account" function class. Bump __FreeBSD_version (mostly for ports, as this change should be invisible to C code outside pam_nologin.) PR: bin/112574 Approved by: des, re
* Work around a firmware bug in the HP rx2660, where in ACPI an I/O portmarcel2007-06-102-3/+12
| | | | | | | | | | | | is really a memory mapped I/O address. The bug is in the GAS that describes the address and in particular the SpaceId field. The field should not say the address is an I/O port when it clearly is not. With an additional check for the IA64_BUS_SPACE_IO case in the bus access functions, and the fact that I/O ports pretty much not used in general on ia64, make the calculation of the I/O port address a function. This avoids inlining the work-around into every driver, and also helps reduce overall code bloat.
* Fix bogon in previous commit: <machine/cpu.h> is still needed.marcel2007-06-101-0/+1
|
* Cast len to be a uintmax_t and make format in KASSERT match so asmjacob2007-06-101-1/+2
| | | | | | to avoid different sizes on different platforms types of complaints. Reviewed by: Ariff
OpenPOWER on IntegriCloud