summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Don't count InFramesL2FilterDiscards into Ierr. This value does not representdelphij2008-12-161-1/+0
| | | | | | | | | a real packet error but simply indicate that an unexpected unicast or multicast error was received by the NIC, which was not counted in the past as well. Reported by: many (on -stable@) Reviewed by: davidch MFC after: 3 days
* Test whether sc->tx_mbuf_map[i], not whether sc->tx_mbuf_map is NULL beforedelphij2008-12-161-1/+1
| | | | | | doing bus_dmamap_sync() since it operates on the former, not the latter. Reviewed by: davidch
* style and spelling fixkmacy2008-12-162-2/+2
|
* assert that the radix node head is locked when manipulating the treekmacy2008-12-161-0/+7
|
* Handle VFS_VGET() failing with an error other than EOPNOTSUPP in additionkensmith2008-12-161-3/+6
| | | | | | | | | to failing with that error. PR: 125149 Submitted by: Jaakko Heinonen (jh <at> saunalahti <dot> fi) Reviewed by: mohans, kan MFC after: 3 days
* check pointer against NULLkmacy2008-12-161-2/+3
| | | | add new line after declaration for style
* convert more pointer validation checks to checking against NULLkmacy2008-12-163-6/+6
|
* simplify locking in find_pfxlist_reachable_routerkmacy2008-12-161-8/+9
|
* don't unlock lle if it is NULLkmacy2008-12-161-1/+2
|
* explicitly check return of lla_lookup against NULLkmacy2008-12-162-8/+8
|
* advance tail pointer in nd6_output_lle and check lla_output return against NULLkmacy2008-12-161-4/+8
|
* check return from lla_lookup against NULL not zerokmacy2008-12-162-2/+2
|
* make sure redirect doesn't return without dropping the lockkmacy2008-12-161-6/+7
|
* need to check that lle is not null before unlock if the break condition is ↵kmacy2008-12-161-3/+4
| | | | | | not met also fix the break condition to explicitly check against NULL
* unlock the llentry after use in find_pfxlist_reachable_routerkmacy2008-12-161-1/+2
|
* If possible, try to obtain max_mhz on cpufreq attach instead of first request.mav2008-12-161-1/+8
| | | | | | | | | On HyperThreading CPUs logical cores have same frequency, so setting it on any core will change the other's one. In most cases first request to the second core will be the "set" request, done after setting frequency of the first core. In such case second CPU will obtain throttled frequency of the first core as it's max_mhz making cpufreq broken due to different frequency sets.
* Initialize the variable "router", and apply "static_route" flagqingli2008-12-161-4/+7
| | | | across the entire nd6_cache_lladdr() function.
* Stop treating Xorg as a distribution in the mainline portion of sysinstallkensmith2008-12-167-163/+6
| | | | | and leave it to be handled in the packages section (or post-install completely) along with all the other packages.
* fix commentsam2008-12-161-1/+1
| | | | Submitted by: Daan Vreeken
* unlock and destroy an llentry's lock before freeingkmacy2008-12-162-0/+4
| | | | Found by: sam
* add macro for destroying an llentry's rwlockkmacy2008-12-161-1/+2
|
* unlock looked up llentrys in defrouter_selectkmacy2008-12-161-0/+4
|
* fix two use after frees in nd6_cache_lladdr caused by last minute unlock ↵kmacy2008-12-161-2/+6
| | | | shuffling
* Add some HDMI codec IDs.mav2008-12-161-0/+10
|
* Add VIA VT1708B codec IDs.mav2008-12-151-0/+16
|
* Fix ucastkey teardown for drivers that plumb clear keys or similarsam2008-12-151-1/+1
| | | | | | | | | | (e.g. ath): we must check the key index and not whether the key points at a cipher other than "undef". This looks like it's been broken for a while. Might be worth adding an explicit clear cipher at some point though this would require changes to the usage of IEEE80211_KEY_UNDEFINED. PR: 125906
* remove extraneous ';'sam2008-12-151-1/+1
|
* By default assume a 8139 chip if the EEPROM contents prove inconclusive. Thewilko2008-12-151-3/+9
| | | | | | | | | | | same LOM hardware with goofed-up EEPROM programming also needed reading the Ethernet address from the chips registers as the EEPROM did not have a sensible address programmed. Patch developed by: pyun@ Funky hardware on loan: www.id-it.nl MFC after: 2 weeks
* Another step assimilating IPv[46] PCB code - directly usebz2008-12-1512-118/+100
| | | | | | | | | | | | | | the inpcb names rather than the following IPv6 compat macros: in6pcb,in6p_sp, in6p_ip6_nxt,in6p_flowinfo,in6p_vflag, in6p_flags,in6p_socket,in6p_lport,in6p_fport,in6p_ppcb and sotoin6pcb(). Apart from removing duplicate code in netipsec, this is a pure whitespace, not a functional change. Discussed with: rwatson Reviewed by: rwatson (version before review requested changes) MFC after: 4 weeks (set the timer and see then)
* Don't try reading the SXP_PINS_DIFF on the 10160 and 12160 SCSImarius2008-12-151-4/+17
| | | | | | | | | | controllers. Reading this register, for which there are indications that it doesn't really exist, returns 0 on at least some 12160 and doing so on Sun Fire V880 causes a data access error exception. Reported and tested by: Beat Gaetzi Approved by: mjacob Obtained from: OpenBSD (modulo setting isp_lvdmode)
* Unbreak ofwdump build by moving the pcell_t definition to after the kernelnwhitehorn2008-12-151-6/+6
| | | | | | types headers, and inside the _KERNEL ifdef. Pointy hat to: me
* Change Dell's gen2 catch-all from Dell PERC H700/H800 to Dell PERC Gen2ambrisko2008-12-152-2/+3
| | | | | | and bump the driver version from 2 to 3 and fix the related style problem. Suggested by: LSI
* Don't tell the user to remove the media until its actually possible forkensmith2008-12-152-4/+8
| | | | | them to remove the media. CDs need to be unmounted before they can be removed.
* Adapt parts of the sparc64 Open Firmware bus enumeration code (in particular,nwhitehorn2008-12-1527-510/+496
| | | | | | | | | | | | | | | the code for parsing interrupt maps) to PowerPC and reflect their new MI status by moving them to the shared dev/ofw directory. This commit also modifies the OFW PCI enumeration procedure on PowerPC to allow the bus to find non-firmware-enumerated devices that Apple likes to add, and adds some useful Open Firmware properties (compat and name) to the pnpinfo string of children on OFW SBus, EBus, PCI, and MacIO links. Because of the change to PCI enumeration on PowerPC, X has started working again on PPC machines with Grackle hostbridges. Reviewed by: marius Obtained from: sparc64
* - Disambiguate a few panic messages.jkoshy2008-12-151-35/+37
| | | | - Style fixes: wrap long lines, parenthesize return values.
* Elaborate on the hardware features fxp(4) supports.brueffer2008-12-151-1/+8
| | | | | Submitted by: yongari MFC after: 1 week
* Add a symlink from enc.4 to if_enc.4.bz2008-12-151-0/+1
| | | | | Reviewed by: brueffer MFC after: 4 weeks
* Add support for HTTP 1.1 If-Modified-Since behavior.murray2008-12-155-9/+90
| | | | | | | | | | | | | | fetch(1) accepts a new argument -i <file> that if specified will cause the file to be downloaded only if it is more recent than the mtime of <file>. libfetch(3) accepts the mtime in the url structure and a flag to indicate when this behavior is desired. PR: bin/87841 Submitted by: Jukka A. Ukkonen <jau@iki.fi> (partially) Reviewed by: des, ru MFC after: 3 weeks
* re-add accidentally deleted linekmacy2008-12-151-0/+1
|
* Add arpv2 management codekmacy2008-12-152-0/+502
|
* This main goals of this project are:qingli2008-12-1566-2471/+1636
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 1. separating L2 tables (ARP, NDP) from the L3 routing tables 2. removing as much locking dependencies among these layers as possible to allow for some parallelism in the search operations 3. simplify the logic in the routing code, The most notable end result is the obsolescent of the route cloning (RTF_CLONING) concept, which translated into code reduction in both IPv4 ARP and IPv6 NDP related modules, and size reduction in struct rtentry{}. The change in design obsoletes the semantics of RTF_CLONING, RTF_WASCLONE and RTF_LLINFO routing flags. The userland applications such as "arp" and "ndp" have been modified to reflect those changes. The output from "netstat -r" shows only the routing entries. Quite a few developers have contributed to this project in the past: Glebius Smirnoff, Luigi Rizzo, Alessandro Cerri, and Andre Oppermann. And most recently: - Kip Macy revised the locking code completely, thus completing the last piece of the puzzle, Kip has also been conducting active functional testing - Sam Leffler has helped me improving/refactoring the code, and provided valuable reviews - Julian Elischer setup the perforce tree for me and has helped me maintaining that branch before the svn conversion
* Spell "substitution" correctly.kientzle2008-12-151-3/+3
| | | | | | | PR: bin/128616 Submitted by: Jaakko Heinonen Pointy hat: Tim Kientzle MFC after: 30 days
* back out unintended changesam2008-12-151-30/+13
|
* Fix definition of IEEE80211_CHAN_MAX; it was defined as 255 butsam2008-12-159-33/+20
| | | | | | | really was meant to be 256. Adjust usage accordingly and replace bogus usage of this value in checking IEEE channel #'s. NB: this causes an ABI change; ifconfig must be recompiled
* o fix DEBUG sku definitionsam2008-12-151-1/+138
| | | | o add definitions for 900MHz radios: Ubiquiti SR9 and XR9, and ZComax GZ-901
* move channel parsing to a getchannel routine so it can be reused to checksam2008-12-151-30/+29
| | | | the channel argument supplied to chanswitch
* fix handling of sku codes like country codessam2008-12-151-2/+6
|
* fix handling of unknown country codes; atoi doesn't return -1sam2008-12-151-2/+6
| | | | for an invalid string as I thought; so use strtol instead
* 0 is a potential ISO CC; use new NO_COUNTRY #define to identifysam2008-12-151-2/+2
| | | | | | when the CC is not set. Note NO_COUNTRY is set to 0xffff for now (must be 16 bits as ieee80211_regdomain struct defines sku's and cc's as uint16_t which may need fixing).
* o distinguish between adhoc and ahdemo modessam2008-12-152-17/+46
| | | | | | | o do not require 1/2 and 1/4 rate channels be present in the calibration list when doing a gsm regulatory change; the existing 900MHz cards are not self-identifying so there is no way (using the calibration channel list) to check
OpenPOWER on IntegriCloud