summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Use bus_get_dma_tag() to inherit the PCI bus' 4G boundary constraint.jhb2012-03-071-1/+1
| | | | Tested by: emaste
* Simplify the PCI bus dma tag code a bit. First, don't create a tag atjhb2012-03-072-8/+15
| | | | | | | all for platforms that only have 32-bit bus addresses. Second, remove the 'tag_valid' flag from the softc. Instead, if we don't create a tag in pci_attach_common(), just cache the value of our parent's tag so that we always have a valid tag to return.
* Improve multi-line kernel ident parsingemaste2012-03-071-3/+4
| | | | | | | | | | Instead of blindly grabbing the line with 'Version string' and the following one from the core info file, take all lines after 'Version string' until the one one that matches the field format in the core info file. This provides compatibility with VendorBSD modifications that have a different kernel ident format. Reviewed by: jhb
* In batch mode, exit after receiving SIGINT, instead of immediatekib2012-03-071-0/+4
| | | | | | | output of the next display. Submitted by: Andrey Zonov <andrey zonov org> MFC after: 1 week
* Move struct if_data basic description to a more suitable place, and removepluknet2012-03-071-14/+9
| | | | | | a bit of .Bx 4.4 history. MFC after: 1 week
* o Sync LOCK_PROFILING manpage with the current code: removemaxim2012-03-071-27/+9
| | | | | | | unexistent sysctls, add new ones. Reviewed by: gjb Sponsored by: Nginx, Inc.
* Reflect that if_output changed to take a struct route as its fourthpluknet2012-03-071-1/+1
| | | | | | argument (r191148). MFC after: 1 week
* Update ifa_rtrequest() description after post-4.4BSD change made in r85074.pluknet2012-03-071-9/+6
| | | | | | | | 3rd argument of ifa->ifa_rtrequest is now ``rt_addrinfo *'' instead of ``sockaddr *''. While here, un-document RTM_RESOLVE cmd argument for ifa_rtrequest() that became a stub after separating L2 tables in r186119. MFC after: 1 week
* The pipe_poll() performs lockless access to the vnode to testkib2012-03-074-15/+14
| | | | | | | | | | | | fifo_iseof() condition, allowing the v_fifoinfo to be reset and freed by fifo_cleanup(). Precalculate EOF at the places were fo_wgen is changed, and cache the state in a new pipe state flag PIPE_SAMEWGEN. Reported and tested by: bf Submitted by: gianni MFC after: 1 week (a backport)
* Move the vlan buffer space into the union which also fixes an unused variablethompsa2012-03-071-2/+2
| | | | | | warning with !INET & !INET6. Spotted by: pluknet
* Add support for the MosChip MCS9904 four serial portsremko2012-03-071-0/+2
| | | | | | | | controller. PR: 165804 Submitted by: Eugene Grosbein MFC after: 1 week
* Fix typo and bump the document date which I also forgot.thompsa2012-03-071-2/+2
| | | | Spotted by: Andrey Zonov
* Get rid of duplicated versions of the KSU bits.jmallett2012-03-063-13/+8
|
* Add the ability to set which packet layers are used for the load balance hashthompsa2012-03-065-15/+150
| | | | calculation.
* Break long lines.ray2012-03-061-25/+44
| | | | Approved by: adri (mentor)
* Remove EoL whitespaces.ray2012-03-061-67/+66
| | | | Approved by: adri (mentor)
* Fix build of libc.so after r232620. This caused a duplicate definitiondim2012-03-061-0/+6
| | | | | | of __getCurrentRuneLocale(). Pointy hat to: me
* Modify HWMP to be able to allocate memory for PREQ/PREP/PERR for all scenarios.adrian2012-03-063-69/+305
| | | | | | | | | | | | | | | * Added verify_mesh_*_len functions that verify the length according to the amendment spec and return number of destination addresses for allocation of appropriate struct size in memory; * Modified hwmp_recv_action_meshpath to allocate HWMP ie instead of storing them on the stack and store all available field according the flags; * Modify hwmp_add_mesh* to work with all cases of HWMP according to amendment. * Modify hwmp_send_* to calculate correct len of bytes for the HWMP ie. * Added new M_80211_MESH_* malloc defines. * Added macros with magic numbers for HWMP ie sizes according to amendment. * Added the external address to all HWMP ie structs. Submitted by: monthadar@gmail.com
* Add a note to clarify why we create a relocated copy of boot1 in lowerjhb2012-03-061-1/+4
| | | | memory.
* Remove unused file.jmallett2012-03-061-124/+0
|
* After r232498, programs built with -ansi or -std=c89 including <ctype.h>dim2012-03-062-3/+3
| | | | | | | | would not compile anymore, due to plain 'inline' keywords. Fix this by using __inline instead. Reported by: Jia-Shiun Li <jiashiun@gmail.com> Discussed with: theraven
* Disable the option VFS_ALLOW_NONMPSAFE by default on all the supportedattilio2012-03-069-22/+4
| | | | | | | | | | | | platforms. This will make every attempt to mount a non-mpsafe filesystem to the kernel forbidden, unless it is expressely compiled with VFS_ALLOW_NONMPSAFE option. This patch is part of the effort of killing non-MPSAFE filesystems from the tree. No MFC is expected for this patch.
* - Remove one more no-op #ifndefgonzo2012-03-061-2/+0
|
* At the risk of reducing source compatibility with old NetBSD and Sprite:jmallett2012-03-0610-489/+79
| | | | | | | | | | | | | | | | | | | | | o) Get rid of some unused macros related to features we don't intend to provide. o) Get rid of macro definitions for MIPS-I CPUs. We are not likely to support anything that predartes MIPS-III. o) Respell MIPS3_* macros as MIPS_*, which is how most of them were being used already. o) Eliminate a duplicate and mostly-unused set of exception vector macros. There's still considerable duplication and lots more obsolete in our headers, but this reduces one of the larger files to a size where one could reckon about the correctness of its contents with a mere few hours of contemplation. There is, of course, a question of whether we need definitions for fields, registers and configurations that we are unlikely to ever use or implement, even if they're not obsolete since 1991. FreeBSD is not a processor reference manual, and things that aren't used may be wrong, or may be duplicated because nobody could possibly actually know whether they're already defined.
* Provide wbwd(4), a driver for the watchdog timer found on variousbz2012-03-0611-0/+859
| | | | | | | | | | | | | Winbond Super I/O chips. With minor efforts it should be possible the extend the driver to support further chips/revisions available from Winbond. In the simplest case only new IDs need to be added, while different chipsets might require their own function to enter extended function mode, etc. Sponsored by: Sandvine Incorporated ULC (in 2011) Reviewed by: emaste, brueffer MFC after: 2 weeks
* Fix building with WITHOUT_INET_SUPPORT set.bz2012-03-061-2/+4
| | | | | Reviewed by: jamie (actually provided the real fix) MFC after: 3 days
* Properly mask off bits that are not supported in the IAP counters.gnn2012-03-061-1/+1
| | | | | | | This fixes a bug where users would see massively large counts, near to 2**64 -1, due to the bits not being cleared. MFC after: 3 weeks
* Use = rather than == for expressions to test(1) builtin(1) in sh(1) tobz2012-03-061-1/+1
| | | | | | | | | | comply with standards. On modern branches there is an undocumented alias (see r219084) but on stable/7 this is still an error. Sponsored by: Cisco Systems, Inc. MFC after: 3 days
* Add LUN resizing to CTL. Also make it possible to explicitly settrasz2012-03-0610-15/+441
| | | | | | | size when creating file-backed or device-backed LUN. Reviewed by: ken (earlier version) Sponsored by: The FreeBSD Foundation
* Remove some duplicated copyright notices.theraven2012-03-062-10/+0
| | | | Approved by: dim (mentor)
* Remove if_watchdog remnants after if_timer/if_watchdog removal in r199975.pluknet2012-03-061-2/+0
| | | | | | This part was missed in r199992. MFC after: 1 week
* Make racct and rctl correctly handle jail renaming. Previouslytrasz2012-03-063-8/+84
| | | | | | they would continue using old name, the one jail was created with. PR: bin/165207
* Fix a typo: use lower case in "A Shorthand".pluknet2012-03-061-1/+1
| | | | Noted by: maxim
* Kill EoL whitespaces.pluknet2012-03-061-5/+5
|
* Cosmetic nit:pluknet2012-03-061-10/+10
| | | | | | - rename isspace1() macro to the more appropriate rtld_isspace(). Discussed with: kib
* The missing part of r232588 that documents ifaddr_byindex() itself.pluknet2012-03-061-0/+4
| | | | MFC after: 1 week
* - ifnet_addrs has gone and replaced by ifaddr_byindex(), as per r83130pluknet2012-03-061-5/+16
| | | | | | - access to the AF_LINK address through if_addrhead is deprecated (r128315) MFC after: 1 week
* Garbage collect some unused symbols.jmallett2012-03-061-8/+0
|
* Make the native sigreturn just wrap set_mcontext, much as freebsd32_sigreturnjmallett2012-03-061-34/+5
| | | | does.
* Store TLS base in the sigframe just as is done in freebsd32_sendsig. Becausejmallett2012-03-061-0/+1
| | | | | | | the native sigreturn doesn't use set_mcontext like the COMPAT_FREEBSD32 version does, this wouldn't actually result in overwriting the TLS base. Probably it makes sense to restructure the native sigreturn to use set_mcontext for consistency, and to allow sigreturn to change the TLS base.
* Fix two and a half oversights in COMPAT_FREEBSD32 related to contexts andjmallett2012-03-062-3/+4
| | | | | | | | | | | | | TLS: o) The mc_tls field used to store the TLS base when doing context gets and restores was left a pointer and not converted to a 32-bit integer. This had the bug of not correctly capturing the TLS value desired by the user, and the extra nastiness of making the structure the wrong size. o) The mc_tls field was not being saved by sendsig. As a result, the TLS base would always be set to NULL when restoring from a signal handler. Thanks to gonzo for helping track down a bunch of other TLS bugs that came out of tracking these down.
* When emulating rdhwr for TLS, use the 32-bit offset under COMPAT_FREEBSD32.jmallett2012-03-062-0/+12
|
* - Switch ARM and MIPS to TLS Variant Igonzo2012-03-061-3/+10
| | | | | | - Fix TLS allocation for Variant I: both rtld and libc allocators assume that tls_static_space includes space for TLS structure. So increment calculated static size by the size of it.
* Implement _set_tpgonzo2012-03-061-0/+4
|
* - Remove NOSHARED parts since it seems to be no-opgonzo2012-03-061-4/+3
| | | | - Call _init_tls for statically linked binaries
* - Switch to saving non-offseted pointer to TLS block in order too keep ↵gonzo2012-03-061-8/+4
| | | | things simple
* - Switch to saving non-offseted pointer to TLS block in order too keep ↵gonzo2012-03-062-17/+4
| | | | things simple
* Prepare for large TLS redo. Save pointer to the beginning of TLS area,gonzo2012-03-063-20/+51
| | | | | | and offset it only if requested by RDHWR handler. Otherwise things get overly complicated - we need to track whether address passsed in request for setting td_md.md_tls is already offseted or not.
* In the trap messages that aid the primitive debugging environment of MIPS,jmallett2012-03-061-6/+14
| | | | | include the tid as well, so it's easier to tell which thread of a process with multiple is responsible for a crash.
* Link EV_SET(3) to kqueue(2).pjd2012-03-051-1/+1
| | | | MFC after: 3 days
OpenPOWER on IntegriCloud