summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* - Document targets run-depends-list and build-depends-listtabthorpe2009-01-211-2/+7
| | | | | | | PR: docs/127575 Submitted by: Walter Venable <walt relnor.com> Approved by: keramida MFC after: 3 days
* Add the dresden elektronik SensorTerminalBoard which uses an FT245.joerg2009-01-212-0/+19
|
* Change __FreeBSD_version to prepare for merging r184102.jkim2009-01-211-1/+1
|
* Fix a few style bogons.jhb2009-01-212-4/+3
| | | | Submitted by: bde
* Add Unicode rendering to the teken demo application.ed2009-01-212-11/+32
| | | | | | | | | Some time ago I tried adding Unicode rendering to the teken demo application, but I didn't get it working. It seems I forgot to call setlocale(). Polish this code and make sure it doesn't get lost. Also a small fix for my previous commit: all Unicode characters in teken_boxdrawing are below 0x10000, so store them as 16-bit values.
* Default to normal bus timing mode on SD cards. In practice, mostimp2009-01-211-0/+1
| | | | | | cards people have today support high speed mode, so the timing field would be initialized to bus_timing_hs, but there are some slow cards...
* o The f_max is really at91_master_clock / 2, not 30MHz, so compute it as such.imp2009-01-211-3/+6
| | | | | | | | | | o Only set 4-bit caps on those boards that have 4-bit caps (this means that because we don't set wire4 yet, this forces us to always use 1-bit bus). o Don't test wire4 when setting up the bus width, since bad things will happen if we do. # This likely won't fix the busted at91 sd card support, but these are # needful changes for correctness.
* Fix minor style nit for file consistency.imp2009-01-211-5/+4
|
* Make the command reporting be under boot verbose.imp2009-01-211-6/+10
| | | | | Also, report a few other things under boot verbose. Small style nit to make new code look like old code in this file.
* Move the code from ufs_lookup.c used to do dotdot lookup, intokib2009-01-213-22/+36
| | | | | | | | | the helper function. It is supposed to be useful for any filesystem that has to unlock dvp to walk to the ".." entry in lookup routine. Requested by: jhb Tested by: pho MFC after: 1 month
* Now that vfs_markatime() no longer requires an exclusive lock due tojhb2009-01-211-2/+2
| | | | | | the VOP_MARKATIME() changes, use a shared vnode lock for mmap(). Submitted by: ups
* Move the VA_MARKATIME flag for VOP_SETATTR() out into its own VOP:jhb2009-01-214-18/+31
| | | | | | | | | | | | VOP_MARKATIME() since unlike the rest of VOP_SETATTR(), VA_MARKATIME can be performed while holding a shared vnode lock (the same functionality is done internally by VOP_READ which can run with a shared vnode lock). Add missing locking of the vnode interlock to the ufs implementation and remove a special note and test from the NFS client about not supporting the feature. Inspired by: ups Tested by: pho
* Fix copy/paste mistake in variable name. This could lead to using incorrectmav2009-01-211-1/+1
| | | | bus frequency.
* Latest bulletin C from Daniel GAMBIS: no leap at the end of june 2009.phk2009-01-211-16/+7
|
* Merge-from-Googlecode r419kientzle2009-01-214-18/+81
| | | | | | | | | | | | | | | In archive_write_disk: If archive_write_header() fails to create the file, that's a failure and should return ARCHIVE_FAILED. Metadata restore failures still return ARCHIVE_WARN, because that's non-critical. Fix test_write_disk_secure test to verify the correct return code in one case; add test_write_disk_failures to do another very simple test of restore failure. This should fix cpio coredumping when it tries to restore to a write-protected directory. Thanks to: Giorgos Keramidas MFC after: 30 days
* Add functions WITNESS so it can be asserted that the lock is not released for athompsa2009-01-212-0/+59
| | | | | | | | | | | section of code, this uses WITNESS_NORELEASE() and WITNESS_RELEASEOK() to mark the boundaries. Both functions require the lock to be held when calling. This is intended for scenarios like a bus asserting that the bus lock is not dropped during a driver call. There doesn't appear to be a man page to document this in. Reviewed by: jhb
* correct typo that left programmed sifs time in the slot timesam2009-01-212-3/+3
| | | | | | (to be applied on subsequent resets) Submitted by: Jiri Fojtasek <jiri.fojtasek@hlohovec.net>
* Fix typo in commentemax2009-01-201-1/+1
| | | | Pointed out by: Daan Vreeken / Daan at vehosting dot nl
* Rename option 'C' to 'D' (damaged) in order to avoid a conflict with upcomingdelphij2009-01-204-28/+28
| | | | | | | Juniper 'C' (clean) flag. Requested by: obrien MFC after: 1 week
* Check for infinite recursion possible on some broken PPTP/L2TP/... VPN setups.mav2009-01-202-0/+21
| | | | | | | Mark packets with mbuf_tag on first interface passage and drop on second. PR: ports/129625, ports/125303, MFC after: 2 weeks
* Update (well, actually rewrite mostly) ng_ubt2 driver for USB2.emax2009-01-202-1147/+1362
| | | | | Reviewed by: HPS, alfred Blessed by: HPS
* The r187467 should remove all pages for V_NORMAL case too, becausekib2009-01-201-8/+17
| | | | | | | | | | | indirect block pages are not removed by the mentioned invocation of the vnode_pager_setsize(). Put a common code into the helper function ffs_pages_remove(). Reported and tested by: dchagin Reviewed by: ups MFC after: 3 weeks
* Dont assume $MACHINE is set, this breaks for regular builds.thompsa2009-01-201-1/+3
| | | | Reported by: pho
* - Add support for 8110SCe part. Some magic registers were taken fromjkim2009-01-202-23/+43
| | | | | | | Linux driver. - Swap hardware revisions for 8110S and 8169S as Linux driver claims. Reviewed by: yongari (early version)
* Retire RL_FLAG_INVMAR bit to match its comment and reality.jkim2009-01-202-12/+9
|
* - Do not read and write RX configuration register multiple times.jkim2009-01-201-66/+31
| | | | | | | | | - Always program RX configuration register from scratch instead of doing read/modify/write. - Rename re_setmulti() to re_set_rxmode() to be reflect reality. - Simplify hash filter logic a little while I am here. Reviewed by: yongari (early version)
* Fix a number of (innocuous) warnings, and remove a useless test.luigi2009-01-201-18/+18
| | | | | | | | | | | | | There are still several signed/unsigned warnings left, which require a bit more study for a proper fix. This file has grown beyond reasonable limits. We really need to split it into separate components (ipv4, ipv6, dummynet, nat, table, userland-kernel communication ...) so we can make mainteinance easier. MFC after: 1 weeks
* Implement MMCBR_IVAR_CAPS. It should better be implemented, or resultsmav2009-01-201-0/+4
| | | | | | can be unpredictable. PR: arm/128987
* Remove inlining of functions that are used mostly in different object files.rdivacky2009-01-203-4/+4
| | | | | | | | This gets rid of gnu89 style inlining. Also silence gcc by assigning two variables NULL. This lets use to remove NO_WERROR. Approved by: kib (mentor) Approved by: harti
* Add a comment explaining why the "bufwait" / "dirhash" LOR reported byjhb2009-01-201-0/+12
| | | | | | | WITNESS will not actually result in a deadlock. Discussed with: kib MFC after: 1 week
* Fix a race condition in kiic(4) made possible by the way the device's STOPnwhitehorn2009-01-201-18/+17
| | | | | | | condition is sent. We used to put the bus in the STOP state, but returned without waiting for that to actually occur. Submitted by: Marco Trillo
* Set the wrong softc size when defining the ofw_iicbus class. Change it tonwhitehorn2009-01-201-2/+2
| | | | the correct value.
* - Permit timestamps to be as far as 2048 ticks apart before we complainjeff2009-01-201-20/+54
| | | | | | | | | | | | | | | | about invalid timestamps. Nehalem CPUs seem to be synchronized but only within a fraction of a microsecond. - Make the Counter code more flexible to poor timestamps. In general we now complain a lot but render as much as we can. - Change the scaler behavior so it works better with very long and very short traces. We now set the maximum scale such that it properly displays the entire file by default and doesn't permit zooming out beyond the file. This improves other awkward navigation behavior. The interval is now set very small which can't be achieved by simply dragging the mouse. Clicking to the left of or right of the scaler bar will produce increments of a single, very small, interval now. Sponsored by: Nokia
* The context switch to the 32bit binary does not properly restorekib2009-01-201-1/+2
| | | | | | | | | | | the fsbase value. The switch loads the fs segment register, that invalidates the value in fsbase msr, thus value in %r9 can not be considered the current value for fsbase anymore. Unconditionally reload fsbase when switching to 32bit binary. PR: 130526 MFC after: 3 weeks
* Properly implement the VT100 SCS sequences in xterm-mode.ed2009-01-206-31/+201
| | | | | | | | | | | | | | | Even though VT100-like devices can display non-ASCII characters, they do not use an 8-bit character set. Special escape sequences allow the VT100 to switch character maps. The special graphics character set stores the box drawing characters, starting at 0x60, ending at 0x7e. This means we now pass the character map tests in vttest, even the save/restore cursor test, combined with character maps. dialog(1) also works a lot better now. This commit also includes some other minor fixes: - Default to 24 lines in teken_demo when using xterm emulation. - Make white foreground and background work in teken_demo.
* When extending inode size, we call vnode_pager_setsize(), to have akib2009-01-202-2/+6
| | | | | | | | | | | | | | address space where to put vnode pages, and then call UFS_BALLOC(), to actually allocate new block and map it. When UFS_BALLOC() returns error, sometimes we forget to revert the vm object size increase, allowing for the pages that are not backed by the logical disk blocks. Revert vnode_pager_setsize() back when UFS_BALLOC() failed, for ffs_truncate() and ffs_write(). PR: 129956 Reviewed by: ups MFC after: 3 weeks
* FFS puts the extended attributes blocks at the negative blocks for thekib2009-01-202-1/+10
| | | | | | | | | | | | | | | | | | vnode, from -1 down. When vinvalbuf(vp, V_ALT) is done for the vnode, it incorrectly does vm_object_page_remove(0, 0), removing all pages from the underlying vm object, not only the pages that back the extended attributes data. Change vinvalbuf() to not remove any pages from the object when V_NORMAL or V_ALT are specified. Instead, the only in-tree caller in ffs_inode.c:ffs_truncate() that specifies V_ALT explicitely removes the corresponding page range. The V_NORMAL caller does vnode_pager_setsize(vp, 0) immediately after the call to vinvalbuf(V_NORMAL) already. Reported by: csjp Reviewed by: ups MFC after: 3 weeks
* Add a limit on namecache entries.mckay2009-01-201-0/+6
| | | | | | | | | | In normal operation, the number of cache entries is roughly equal to the number of active vnodes. However, when most of the recently accessed vnodes have many hard links, the number of cache entries can be 32000 times as large, exhausting kernel memory and provoking a panic in kmem_malloc(). MFC after: 2 weeks
* Tone down warning about the quality of the NTFS VFS module. It appears thatsobomax2009-01-202-7/+5
| | | | | not all developers share luigi opinion about quality of sysutils/fusefs-ntfs compared to our kernel NTFS module.
* Change the probe priority for PCI and I2C generic bus modules fromnwhitehorn2009-01-202-2/+2
| | | | | | numerical constants to BUS_PROBE_GENERIC. Suggested by: jhb
* Provide a device description for macio-attached ATA cells.nwhitehorn2009-01-191-0/+2
|
* Properly return error code to the caller. This should fix the followingemax2009-01-191-20/+26
| | | | | | | | | | panic in ng_l2cap(4). panic: ng_l2cap_l2ca_con_req: ubt0l2cap - could not find connection! While i'm here get rid of few goto's. MFC after: 1 week
* Set the pipe pointer before calling usbd_transfer() as its possible for thethompsa2009-01-191-1/+1
| | | | | | xfer callback to be invoked on error. MFC after: 2 weeks
* Add two more nVidia HDMI codec IDs.mav2009-01-191-0/+4
|
* re-enable wi: was accidentally disabled in r1.502sam2009-01-191-1/+1
|
* Mention removal of NTFS from GENERIC/amd64.sobomax2009-01-191-0/+8
|
* Mention the fact that the NTFS kernel support isn'tsobomax2009-01-191-1/+5
| | | | | | | | very well maintained and point user to sysutils/fusefs-ntfs, which at the time of this writing seems to be a better alternative. Suggested by: luigi MFC after: 2 weeks
* In the CAVEATS section mention the fact that the NTFS kernel support isn'tsobomax2009-01-191-0/+6
| | | | | | | | | very well maintained and point user to sysutils/fusefs-ntfs, which at the time of this writing seems to be a better alternative. Suggested by: luigi MFC after: 2 weeks
* Take NTFS option out to match i386 GENERIC.sobomax2009-01-191-1/+0
| | | | Suggested by: phk, luigi
* asr(4) is not amd64-clean, not amr(4).sobomax2009-01-191-3/+3
| | | | | Pointy hat to: myself Submitted by: scottl
OpenPOWER on IntegriCloud