summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Add lv_LV, move lt_LT to common partache2009-09-032-4/+7
|
* Do the first step in removing lukemftpd from the base system. Disconnectremko2009-09-033-3/+5
| | | | | | | | | | | | | | | it from the build. If you are using the FTP daemon, please consider using the port ftp/tnftpd which is the same FTP server, but newer and might have more/better functionality. This results in us providing only one ftp daemon by default. Reviewed by: bz Approved by: imp (mentor, implicit) MFC after: 3 days Silence from: obrien
* Expose the TF_REVERSE flag to the console driver.ed2009-09-034-24/+14
| | | | | | | | | | | | | | | Right now libteken processes TF_REVERSE internally and returns the toggled colors to the console driver. This isn't entirely correct. This means that the bold flag is always processed by the foreground color, while reversing should be done after the foreground color has been set to a brighter version by the bold flag. This is no problem with the syscons driver, because with VGA it only supports 16 foreground and 8 background colors. My WIP console driver reconfigures the graphics hardware to disable the blink functionality and uses 16 foreground and 16 background colors. This means that this driver will handle the TF_REVERSE flag a little different from what syscons does right now.
* correct timeout for doing NOL processing; need a ticks-relative valuesam2009-09-031-1/+1
| | | | | Obtained from: Marvell MFC after: 3 days
* Add la_LN.ISO8859-13 and lv_LVache2009-09-031-0/+12
|
* on transition to SLEEP state mark the station in power save, not awakesam2009-09-031-1/+1
| | | | MFC after: 3 days
* Add intermediate states for attaching and detaching that will beattilio2009-09-032-3/+22
| | | | | | | | reused by the enhached newbus locking once it is checked in. This change can be easilly MFCed to STABLE_8 at the appropriate moment. Reviewed by: jhb, scottl Tested by: Giovanni Trematerra <giovanni dot trematerra at gmail dot com>
* ATI SB600 can't handle 256 sectors transfers with FPDMA (NCQ).mav2009-09-031-0/+3
| | | | MFC after: 3 days
* Document the need for a cast when passing a char to a ctype function.des2009-09-0322-22/+218
| | | | MFC after: 2 weeks
* Move libteken out of the syscons directory.ed2009-09-0318-8/+4
| | | | | | | | | | I initially committed libteken to sys/dev/syscons/teken, but now that I'm working on a console driver myself, I noticed this was not a good decision. Move it to sys/teken to make it easier for other drivers to use a terminal emulator. Also list teken.c in sys/conf/files, instead of listing it in all the files.arch files separately.
* Fix regression introduced in r196712 - the 'name' string needstrasz2009-09-021-5/+9
| | | | | | to be rewritten for each file we want to check ACL on. Without this change, ls(1) would check only the ACL on the first file to list.
* Fix some bugs related to adaptive spinning:attilio2009-09-022-3/+12
| | | | | | | | | | | | | | | | | | | In the lockmgr support: - GIANT_RESTORE() is just called when the sleep finishes, so the current code can ends up into a giant unlock problem. Fix it by appropriately call GIANT_RESTORE() when needed. Note that this is not exactly ideal because for any interation of the adaptive spinning we drop and restore Giant, but the overhead should be not a factor. - In the lock held in exclusive mode case, after the adaptive spinning is brought to completition, we should just retry to acquire the lock instead to fallthrough. Fix that. - Fix a style nit In the sx support: - Call GIANT_SAVE() before than looping. This saves some overhead because in the current code GIANT_SAVE() is called several times. Tested by: Giovanni Trematerra <giovanni dot trematerra at gmail dot com>
* Fix confusing comments about default PAT entries.jkim2009-09-022-4/+4
|
* - Work around ACPI mode transition problem for recent NVIDIA 9400M chipsetjkim2009-09-022-45/+133
| | | | | | | | | | | | | based Intel Macs. Since r189055, these platforms started freezing when ACPI is being initialized for unknown reason. For these platforms, we just use the old PAT layout. Note this change is not enough to boot fully on these platforms because of other problems but it makes debugging possible. Note MacBook5,2 may be affected as well but it was not added here because of lack of hardware to test. - Initialize PAT MSR fully instead of reading and modifying it for safety. Reported by: rpaulo, hps, Eygene Ryabinkin (rea-fbsd at codelabs dot ru) Reviewed by: jhb
* Remove BSD.{local,x11,x11-4}.dist mtree files as they're either obsolete orflz2009-09-021-0/+4
| | | | they've moved to ports.
* - Remove BSD.{x11,x11-4}.dist as we merged prefixes a while ago and thoseflz2009-09-024-1646/+1
| | | | | | files aren't used anymore. - Remove BSD.local.dist as the file moved to ports/Templates when we merged prefixes.
* - Bump PKG_INSTALL_VERSION to 20090902 after dougb's changes.flz2009-09-021-3/+3
| | | | | - Change the comment to say that version must be changed when a non-cosmetic change is made.
* Improve HDA controller capabilities logging.mav2009-09-023-6/+10
|
* Add NFSv4 ACL support to cp(1) and fix a few memory leaks.trasz2009-09-021-30/+93
| | | | | | | | | Note that this changes error reporting behaviour somewhat - before, no error was reported if ACL couldn't be copied because the target filesystem doesn't support ACLs. Now, it will be reported - of course, only if there actually is an ACL to copy. Reviewed by: rwatson
* - Don't include both <sys/types.h> and <sys/param.h>trasz2009-09-021-9/+6
| | | | | | | | | | | | | | - Keep variables sorted - Fix logic error with -f and -v options - don't print the usual -v output if there was an error, whether or not we were passed -f - Don't call free(3) just before exit(2) - Whitespace fixes Submitted by: bde
* Use (unsigned char) cast for ctype macroache2009-09-021-1/+1
|
* Move <locale.h> out of NO_CATGETS define too (as setlocale() in prev.ache2009-09-021-2/+1
| | | | commit)
* 1) Use isprint() instead of hardcoded values to detect non-printable.ache2009-09-021-9/+9
| | | | | | 2) Use (unsigned char) cast in waddch() calls. It fix highlighting bug: sign extension of 8bit to the attributes area. 3) Use setlocale() in any case.
* Don't attempt to bind the current thread to the CPU an IRQ is bound tojhb2009-09-022-18/+24
| | | | | | | when removing an interrupt handler from an IRQ during shutdown. During shutdown we are already bound to CPU 0 and this was triggering a panic. MFC after: 3 days
* Fix regression introduced with NFSv4 ACL support - make acl_to_text(3)trasz2009-09-012-11/+12
| | | | | | | | | and acl_calc_mask(3) return error instead of crashing when acl passed to them is NULL. Submitted by: markus Reviewed by: rwatson MFC after: 3 days
* Add counters for the i7 architecture which were accidentally leftgnn2009-09-012-3/+82
| | | | | | | | | | out of the original commit of i7 support. These are all the counters on pages A-32 and A-33 of the _Intel(R) 64 and IA32 Architectures Software Developer's Manual Vol 3B_, June 2009. Almost all of these counters relate to operations on the L2 cache. Reviewed by: jkoshy MFC after: 1 month
* In case an upper layer protocol tries to send a packet but thebz2009-09-011-12/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | L2 code does not have the ethernet address for the destination within the broadcast domain in the table, we remember the original mbuf in `la_hold' in arpresolve() and send out a different packet with an arp request. In case there will be more upper layer packets to send we will free an earlier one held in `la_hold' and queue the new one. Once we get a packet in, with which we can perfect our arp table entry we send out the original 'on hold' packet, should there be any. Rather than continuing to process the packet that we received, we returned without freeing the packet that came in, which basically means that we leaked an mbuf for every arp request we sent. Rather than freeing the received packet and returning, continue to process the incoming arp packet as well. This should (a) improve some setups, also proxy-arp, in case it was an incoming arp request and (b) resembles the behaviour FreeBSD had from day 1, which alignes with RFC826 "Packet reception" (merge case). Rename 'm0' to 'hold' to make the code more understandable as well as diffable to earlier versions more easily. Handle the link-layer entry 'la' lock comepletely in the block where needed and release it as early as possible, rather than holding it longer, down to the end of the function. Found by: pointyhat, ns1 Bug hunting session with: erwin, simon, rwatson Tested by: simon on cluster machines Reviewed by: ratson, kmacy, julian MFC after: 3 days
* Adapt to the fact that ls(1) correctly prints '+' for symlinks with ACLs now.trasz2009-09-011-2/+1
|
* Delete whitespace not in i386/pmap.cadrian2009-09-011-1/+0
|
* Fix mount reference leak when V_XSLEEP is specified to vn_start_write().kib2009-09-011-1/+1
| | | | Submitted by: tegge
* Reintroduce the r196640, after fixing the problem with my testing.kib2009-09-019-81/+127
| | | | | | | | | | | | | | | | | | | | | | | | | Remove the altkstacks, instead instantiate threads with kernel stack allocated with the right size from the start. For the thread that has kernel stack cached, verify that requested stack size is equial to the actual, and reallocate the stack if sizes differ [1]. This fixes the bug introduced by r173361 that was committed several days after r173004 and consisted of kthread_add(9) ignoring the non-default kernel stack size. Also, r173361 removed the caching of the kernel stacks for a non-first thread in the process. Introduce separate kernel stack cache that keeps some limited amount of preallocated kernel stacks to lower the latency of thread allocation. Add vm_lowmem handler to prune the cache on low memory condition. This way, system with reasonable amount of the threads get lower latency of thread creation, while still not exhausting significant portion of KVA for unused kstacks. Submitted by: peter [1] Discussed with: jhb, julian, peter Reviewed by: jhb Tested by: pho (and retested according to new test scenarious) MFC after: 1 week
* Migrate to use cpuset_t.adrian2009-09-011-5/+4
|
* o Document MALLOC_PRODUCTION knob.maxim2009-09-011-1/+7
| | | | | | PR: docs/136029 Submitted by: anonymous MFC after: 2 weeks
* Merge in the pat_works work from sys/i386/i386/pmap.c - primarily to reduceadrian2009-09-011-65/+74
| | | | diff size.
* Fix broken build.adrian2009-09-011-0/+1
|
* Revert previous commit; that was left-over junk in the tree.adrian2009-08-311-0/+2
|
* Shuffle pagezero() into the same location as in sys/i386/i386/pmap.c.adrian2009-08-312-18/+16
|
* Make sure rx descriptor ring align on 16 bytes. I guess theyongari2009-08-311-2/+4
| | | | | | | | | | alignment requirement could be multiple of 4 bytes but I think using descriptor size would make intention clearer. Previously the size of rx descriptor was not power of 2 so it caused panic in bus_dmamem_alloc(9). Reported by: Jeff Blank (jb000003 <> mr-happy dot com) MFC after: 3 days
* On resume in sta mode program the beacon timers so when roaming (andsam2009-08-311-1/+10
| | | | | | | | | | the previous ap is no longer in range) the device will deliver bmiss interrupts and trigger the state machine. Also arrange to sync the beacon timers on the next received beacon frame so that when we don't roam we re-synchronize with the ap. Tested by: trasz MFC after: 1 week
* This patch fixes the following issues:qingli2009-08-311-5/+48
| | | | | | | | | | | | - Routing messages are not generated when adding and removing interface address aliases. - Loopback route installed for an interface address alias is not deleted from the routing table when that address alias is removed from the associated interface. - Function in_ifscrub() is called extraneously. Reviewed by: gnn, kmacy, sam MFC after: 3 days
* Add NFSv4 ACL support to ls(1).trasz2009-08-311-52/+54
|
* Make the code more readable and fix chmod(1) on symlinks withtrasz2009-08-311-13/+15
| | | | NFSv4 enabled.
* Add regression test for ACLs on device files - mostly to maketrasz2009-08-311-0/+16
| | | | sure we don't crash on attempt to set ACL on them.
* Simplify pmap_change_attr() a bit:jhb2009-08-312-30/+9
| | | | | | | | - Always calculate the cache bits instead of doing it on-demand. - Always set changed to TRUE rather than only doing it if it is false. Discussed with: alc MFC after: 3 days
* Add support for INDEX-9 [1]dougb2009-08-311-3/+3
| | | | | | While I'm here, strip off support for FreeBSD 5.x. Submitted by: Alexey Shuvaev <shuvaev@physik.uni-wuerzburg.de> [1]
* Improve pmap_change_attr() so that it is able to demote a large (2/4MB)jhb2009-08-312-52/+181
| | | | | | | | | | | | | | | | | | | page into 4KB pages as needed. This should be fairly rare in practice on i386. This includes merging the following changes from the amd64 pmap: 180430, 180485, 180845, 181043, 181077, and 196318. - Add basic support for changing attributes on PDEs to pmap_change_attr() similar to the support in the initial version of pmap_change_attr() on amd64 including inlines for pmap_pde_attr() and pmap_pte_attr(). - Extend pmap_demote_pde() to include the ability to instantiate a new page table page where none existed before. - Enhance pmap_change_attr(). Use pmap_demote_pde() to demote a 2/4MB page mapping to 4KB page mappings when the specified attribute change only applies to a portion of the 2/4MB page. Previously, in such cases, pmap_change_attr() gave up and returned an error. - Correct a critical accounting error in pmap_demote_pde(). Reviewed by: alc MFC after: 3 days
* Partially revert 196524: this part of change should not be committed asdelphij2009-08-311-20/+25
| | | | | | part of the changeset - it's an unrelated one. Reported by: danfe
* Backport the 'dirtying dbuf' panic fix from newer ZFS version.pjd2009-08-314-22/+40
| | | | | Reported by: Thomas Backman <serenity@exscape.org> MFC after: 1 week
* Remove empty directory.pjd2009-08-310-0/+0
|
* Make it easier to find proper manual page for newer ServeRAID controllers.trasz2009-08-311-0/+5
|
OpenPOWER on IntegriCloud