summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* - Some fixes to Ukranian cataloggabor2010-08-061-2/+2
| | | | Submitted by: avg, Alex Kozlov <spam@rm-rf.kiev.ua>
* Mark /dev/zero and /dev/null as eternal.kib2010-08-061-4/+4
| | | | | In collaboration with: pho MFC after: 1 month
* Enable shared lookups and externed shared ops for devfs.kib2010-08-061-1/+2
| | | | | In collaboration with: pho MFC after: 1 month
* Add "show cdev" ddb command.kib2010-08-061-0/+68
| | | | | In collaboration with: pho MFC after: 1 month
* Add new make_dev_p(9) flag MAKEDEV_ETERNAL to inform devfs that createdkib2010-08-069-98/+146
| | | | | | | | | cdev will never be destroyed. Propagate the flag to devfs vnodes as VV_ETERNVALDEV. Use the flags to avoid acquiring devmtx and taking a thread reference on such nodes. In collaboration with: pho MFC after: 1 month
* Fix issue reported by alc :jchandra2010-08-061-5/+3
| | | | | | | | | MIPS doesn't really need to use atomic_cmpset_int() in situations like this because the software dirty bit emulation in trap.c acquires the pmap lock. Atomics like this appear to be a carryover from i386 where the hardware-managed TLB might concurrently set the modified bit. Reviewed by: alc
* Enable shared locks for the devfs vnodes. Honor the locking modekib2010-08-063-17/+20
| | | | | | | requested by lookup(). This should be a nop at the moment. In collaboration with: pho MFC after: 1 month
* Initialize VV_ISTTY vnode flag on the devfs vnode creation instead ofkib2010-08-061-4/+5
| | | | | | | doing it on each open. In collaboration with: pho MFC after: 1 month
* Fix the issue reported by alc:jchandra2010-08-062-6/+10
| | | | | | | | | | | | | | | | pmap_page_wired_mappings() counts the number of pv entries for the specified page that have the pv entry wired flag set to TRUE. pmap_enter() correctly initializes this flag. However, pmap_change_wiring() doesn't update the corresponding pv entry flag, only the PTE. So, the count returned by pmap_page_wired_mappings() will sometimes be wrong. In the short term, the best fix would be to eliminate the pv entry flag and use only the PTE. That flag is wasting non-trivial memory. Remove pv_wired flag, and use PTE flag to count the wired mappings. Reviewed by: alc
* Remove redundant declaration of 'pcib_driver' class from sb_zbpci.c. Thisneel2010-08-061-1/+0
| | | | | | causes a compilation error. The declaration is provided by sys/dev/pci/pcib_private.h starting from r210864.
* Force commit to remind me about MFCing r210909.pjd2010-08-060-0/+0
| | | | MFC after: 1 month
* Use a signed integer to hold the address of a register.neel2010-08-061-10/+10
| | | | | This does the right thing by sign extending the address when compiling for the n64 abi.
* uint64_t is 'unsigned long' in n64 build, so compiler is unhappy if theneel2010-08-061-3/+3
| | | | | | format specifier in printf is "%llu". Use "%ju" instead.
* Update the arguments to yy_config_parse() to match r210883.dougb2010-08-061-1/+1
| | | | | Choose the more conservative option ('yes' to exit on error) to match the equivalent code in hastd.
* Reflect default Tx interrupt moderation timer value change(50ms -> 1ms).yongari2010-08-061-1/+1
|
* Reduce Tx interrupt moderation timer from 50ms to 1ms. The defaultyongari2010-08-061-2/+2
| | | | | | | value resulted in poor performance for UDP packets. With this change, UDP bulk transfer performance is more than 940Mbps. While I'm here fix a wrong register definition.
* - Add interrupts counter for PCI devicesgonzo2010-08-051-2/+12
|
* Document 'none' value for remote.pjd2010-08-051-1/+6
| | | | | Reviewed by: dougb MFC after: 1 month
* Re-add flag register for output. Some BIOS calls actually use it to returnjkim2010-08-051-0/+1
| | | | success/failure status. Oops.
* Implement configuration reload on SIGHUP. This includes:pjd2010-08-053-12/+322
| | | | | | | | | | | - Load added resources. - Stop and forget removed resources. - Update modified resources in least intrusive way, ie. don't touch /dev/hast/<name> unless path to local component or provider name were modified. Obtained from: Wheel Systems Sp. z o.o. http://www.wheelsystems.com MFC after: 1 month
* Do not copy stack pointer and flags. These registers are unconditionallyjkim2010-08-051-6/+0
| | | | destroyed from vm86_prepcall().
* Prepare configuration parsing code to be called multiple times:pjd2010-08-053-58/+111
| | | | | | | | | | - Don't exit on errors if not requested. - Don't keep configuration in global variable, but allocate memory for configuration. - Call yyrestart() before yyparse() so that on error in configuration file we will start from the begining next time and not from the place we left of. MFC after: 1 month
* Make control_set_role() more public. We will need it soon.pjd2010-08-052-10/+20
| | | | MFC after: 1 month
* Allow to use 'none' keywork as remote address in case second cluster nodepjd2010-08-051-2/+12
| | | | | | is not setup yet. MFC after: 1 month
* Reset signal handlers after fork().pjd2010-08-052-0/+6
| | | | MFC after: 1 month
* - Use pjdlog_exitx() to log errors and exit instead of errx().pjd2010-08-052-5/+7
| | | | | | - Use 'unable to' (instead of 'cannot') consistently. MFC after: 1 month
* Enable closefrom(2) here, as we have supported it for some time now.csjp2010-08-051-4/+0
| | | | | Discussed with: mlaier MFC after: 2 weeks
* Implement a simple native VM86 backend for X86BIOS. Now i386 uses nativejkim2010-08-053-77/+268
| | | | | | | | | | | | | VM86 calls instead of the real mode emulator as a backend. VM86 has been proven reliable for very long time and it is actually few times faster than emulation. Increase maximum number of page table entries per VM86 context from 3 to 8 pages. It was (ridiculously) low and insufficient for new VM86 backend, which shares one context globally. Slighly rearrange and clean up the emulator backend to accommodate new code. The only visible change here is stack size, which is decreased from 64K to 4K bytes to sync. with VM86. Actually, it seems there is no need for big stack in real mode. MFC after: 1 month
* Assert that various buffers we are large enough.pjd2010-08-052-10/+13
| | | | MFC after: 1 month
* Problem with assertion is that it logs on stderr. Add two macros:pjd2010-08-052-0/+33
| | | | | | | | | PJDLOG_ASSERT() and PJDLOG_VERIFY() that will check the given condition and log the problem where appropriate. The difference between those two is that PJDLOG_VERIFY() always work and PJDLOG_ASSERT() can be turned off by defining NDEBUG. MFC after: 1 month
* Don't point users at the old csup homepage.joel2010-08-052-5/+0
| | | | Approved by: lulf
* Keep $FreeBSD$ in __FBSDID() only for C files.pjd2010-08-051-2/+0
| | | | MFC after: 1 month
* Mark two more places that we won't reach.pjd2010-08-051-0/+2
| | | | MFC after: 1 month
* o FreeBSD 8.1-RELEASED added.maxim2010-08-051-2/+7
| | | | | PR: misc/149118 Submitted by: pluknet
* Now that TCP will be checked last we don't need any knowledge about otherpjd2010-08-051-5/+6
| | | | | | protocols. MFC after: 1 month
* Add an argument to the proto_register() function which allows protocol topjd2010-08-055-10/+17
| | | | | | | declare it is the default and be placed at the end of the queue so it is checked last. MFC after: 1 month
* Change the MPTable and $PIR PCI-PCI bridge drivers to inherit from thejhb2010-08-053-75/+6
| | | | | generic PCI-PCI bridge driver and only override specific methods. This should fix suspend/resume of PCI-PCI bridges using these drivers.
* Fix a bug where endpoints bound to wildcard addresses wheretuexen2010-08-051-0/+36
| | | | | | | using addresses not announced to the peer due to address scoping. MFC after: 3 weeks
* Fix a bunch of errors (spelling and similar).olli2010-08-051-26/+24
| | | | | | | | | As des noted, the section on SCTP would benefit from a rewrite by a native speaker (which I am not). Any volunteers? Approved by: des (mentor) MFC after: 1 week
* - Retire acpi_pcib_resume(). It is has just been an alias forjhb2010-08-055-46/+6
| | | | | | | | | bus_generic_resume() since the pci_link(4) driver was added. - Change the ACPI PCI-PCI bridge driver to inherit most of its methods from the generic PCI-PCI bridge driver. In particular, this will now restore PCI config registers for ACPI PCI-PCI bridges. Tested by: Oleg Sharoyko osharoiko of gmail
* Add a daily script to the periodic framework that reportsolli2010-08-052-0/+46
| | | | | | | | | | | | | | | | | | changes to the package database, i.e. any packages that have been added, updated or deleted in the past 24 hours. The format is intentionally simple and concise. That information is particularly useful on servers that are maintained by multiple administrators. When someone adds, updates or deletes a package, the others will see it in the daily periodic output. This script is disabled by default. PR: conf/113913 Submitted by: olli Approved by: des (mentor) MFC after: 3 weeks
* /etc/rc.d/network_ipv6 was deprecated.ume2010-08-051-1/+0
| | | | Reported by: Alex Kozlov <spam__at__rm-rf.kiev.ua>
* /etc/rc.d/ip6fw was deprecated.ume2010-08-051-1/+0
| | | | | Reported by: Alex Kozlov <spam__at__rm-rf.kiev.ua> MFC after: 3 days
* Fix a race between clock_intr() and tick_ticker() when updatingneel2010-08-052-19/+29
| | | | | | | | | | | | | | | | | | | 'counter_upper' and 'counter_lower_last'. The race exists because interrupts are enabled even though tick_ticker() executes in a critical section. Fix a bug in clock_intr() in how it updates the cached values of 'counter_upper' and 'counter_lower_last'. They are updated only when the COUNT register rolls over. More interestingly it will *never* update the cached values if 'counter_lower_last' happens to be zero. Get rid of superfluous critical section in clock_intr(). There is no reason to do this because clock_intr() executes in hard interrupt context. Switch back to using 'tick_ticker()' as the cpu ticker for Sibyte. Reviewed by: jmallett, mav
* Comment out IEEE Std 1003.1-2001 conformance proclaimed too early,ache2010-08-051-5/+5
| | | | | see problems described in the comment to: http://www.freebsd.org/cgi/query-pr.cgi?pr=kern/128933
* Change kgdb_lookup() to resolve symbols via GDB instead of via libkvm(3).jhb2010-08-043-29/+23
|
* Copy inode birthtime to the struct stat32.kib2010-08-041-0/+1
| | | | MFC after: 1 week
* Fix style.kib2010-08-041-1/+2
| | | | MFC after: 1 week
* Add 3 level page tables for MIPS in n64.jchandra2010-08-045-264/+408
| | | | | | | | | - 32 bit compilation will still use old 2 level page tables - re-arrange pmap code so that adding another level is easier - pmap code for 3 level page tables for n64 - update TLB handler to traverse 3 levels in n64 Reviewed by: jmallett
* ithd_name no longer defined, use td_name. Fix compile with KTR enabled.jchandra2010-08-041-1/+1
|
OpenPOWER on IntegriCloud