summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Add the add-stream capability. Still needs morerrs2009-02-2010-36/+281
| | | | | | testing.. MFC after: 1 month
* Delete files which serve no purpose in this environment.mr2009-02-205-237/+0
| | | | Inspired by: simon@
* Fix a bug. The sending was being restricted improperly byrrs2009-02-201-2/+2
| | | | | | | | the max_burst. It should only be gated by cwnd in the lower level send. Obtained from: Michael Tuexen MFC after: 1 week.
* when initializing, also build _includes and _librariesluigi2009-02-201-2/+2
| | | | | | On passing, fix a wrong comment MFC after: 3 days
* Fix pc98 build error due to missing variable.mav2009-02-201-0/+1
| | | | Submitted by: avg
* Don't make Linux stat() open character devices to resolve its name.ed2009-02-203-51/+63
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The existing code calls kern_open() to resolve the vnode of a pathname right after a stat(). This is not correct, because it causes random character devices to be opened in /dev. This means ls'ing a tape streamer will cause it to rewind, for example. Changes I have made: - Add kern_statat_vnhook() to allow binary emulators to `post-process' struct stat, using the proper vnode. - Remove unneeded printf's from stat() and statfs(). - Make the Linuxolator use kern_statat_vnhook(), replacing translate_path_major_minor_at(). - Let translate_fd_major_minor() use vp->v_rdev instead of vp->v_un.vu_cdev. Result: crw-rw-rw- 1 root root 0, 14 Feb 20 13:54 /dev/ptmx crw--w---- 1 root adm 136, 0 Feb 20 14:03 /dev/pts/0 crw--w---- 1 root adm 136, 1 Feb 20 14:02 /dev/pts/1 crw--w---- 1 ed tty 136, 2 Feb 20 14:03 /dev/pts/2 Before this commit, ptmx also had a major number of 136, because it silently allocated and deallocated a pseudo-terminal. Device nodes that cannot be opened now have proper major/minor-numbers. Reviewed by: kib, netchild, rdivacky (thanks!)
* Doh! r188813 modified an auto-generated file. Fix it for real:mtm2009-02-202-7/+4
| | | | | | | o grammar fix o remove mention of libkse Submitted by: Niclas Zeising <niclas.zeising@gmail.com>
* Handle nForce MCP67 and MCP73 SATA controllers as AHCI. They report itselfmav2009-02-202-1/+53
| | | | | | | as ATA RAID, but generic ATAPCI driver unable to detect drives there. AHCI driver reported to handle them fine. Linux does the same. Submitted by: Andrey V. Elsukov on stable@
* Tell CAM that CISS logical devices support tagged queueing. This fixesscottl2009-02-201-2/+5
| | | | | the low "max device openings" count that has led to poor performance in FreeBSD 7.0 and 7.1
* Tell CAM that SPI disconnect works, which in turn will let it use tags.scottl2009-02-201-1/+2
| | | | | | | | This fixes the low "max device openings" count that has lead to poor performance in FreeBSD 7.0 and 7.1. Extra thanks goes to Mike Tancsa at Sentex for providing a debug system for this.
* Add basic support for DDF, often found on Adaptec HostRAID controllers.scottl2009-02-203-1/+743
| | | | | Spares and rebuilds are not supported, so this code should be considered for entertainment purposes only.
* Provide compatibility symlink for logical partitions:marcel2009-02-205-1/+87
| | | | | | | | | | 1. Extend geom_dev by having it create the symlink (i.e. call make_dev_alias) based on the DIOCGPROVIDERALIAS ioctl. In this way the functionaility is generic and thus usable by any geom/provider. 2. Have g_part handle said ioctl through the devalias method, so that it's under control of the scheme itself. By design the alias will not be created for newly added partitions.
* Fix an infinite loop created when the last logical partition ismarcel2009-02-201-3/+3
| | | | removed.
* - Add glarkin and mva to mentor sectionbeech2009-02-201-0/+4
|
* use /boot/loader by default, because the boot code seems toluigi2009-02-201-60/+109
| | | | | | | | | | have problems with kernels larger than 4MB. Add a flag to avoid the /boot/loader and use the old method. Add support for an additional makefile to perform custom manipulation (this is not documented yet). Add support for building an ISO image (not complete)
* update 'sio' with 'uart' and apply related changes.luigi2009-02-194-13/+20
|
* Enable caching of negative pathname lookups in the NFS client. To avoidjhb2009-02-194-8/+73
| | | | | | | | | | | | | | stale entries, we save a copy of the directory's modification time when the first negative cache entry was added in the directory's NFS node. When a negative cache entry is hit during a pathname lookup, the parent directory's modification time is checked. If it has changed, all of the negative cache entries for that parent are purged and the lookup falls back to using the RPC. This required adding a new cache_purge_negative() method to the name cache to purge only negative cache entries for a given directory. Submitted by: mohans, Rick Macklem, Ricardo Labiaga @ NetApp Reviewed by: mohans
* When fetching attributes for a file for NFSv3 mounts, do not perform anjhb2009-02-191-6/+0
| | | | | | | | | opportunistic ACCESS RPC to populate both the access and attribute caches of the file and instead always use a GETATTR RPC. On many modern NFS servers, an ACCESS RPC is much more expensive to service than a GETATTR RPC. Submitted by: mohans
* Don't clear the attribute cache of a file when it is closed. A subsequentjhb2009-02-191-7/+0
| | | | | | | | | | | open() of the same file will load fresh attributes, so they do not need to be explicitly flushed in close() to guarantee close to open consistency. However, other file desciptors may still reference this file and clearing the attributes in close() forces those other file descriptors to fetch fresh attributes the next time they need them. Reviewed by: mohans MFC after: 1 week
* Display an error message when the requested mode is not known. So the user canrdivacky2009-02-191-0/+2
| | | | | | | | | distinguish between a typo in the mode name and that the device does not support a certain mode (till now both causes show the same result, i.e. the old mode is displayed). Submitted by: Christoph Mallon <christoph.mallon gmx.de> Approved by: kib (mentor)
* Include proper header files for system functions that are used andimp2009-02-1919-0/+21
| | | | | that gcc complains about this code changing from the built-in versions.
* These warnings are only relevant on NetBSD it seems. They don't seemimp2009-02-192-6/+0
| | | | to be relevant to FreeBSD at all.
* Include string.h for strncpy prototypeimp2009-02-191-0/+2
| | | | Include strings.h for bcopy and bzero prototype
* Enable building of ficl on MIPS. It compiles, but needs more testing.imp2009-02-191-4/+0
|
* Add basic mips support. This has been compile tested only.imp2009-02-192-0/+533
|
* These symbols don't belong here. Remove them. Since mips hasn't hadimp2009-02-191-4/+0
| | | | | | a release, I think there's no impact here... Reviewed by: cognet@
* Squash some small bugs in pts(4).ed2009-02-191-6/+3
| | | | | | | | | | | - Don't return a negative errno when using an unknown ioctl() on a pseudo-terminal master device. Be sure to convert ENOIOCTL to ENOTTY, just like the TTY layer does. - Even though we should return st_rdev of the master device node when emulating pty(4) devices, FIODGNAME should still return the name of the slave device. Otherwise ptsname(3) and ttyname(3) return an invalid device name.
* use 1/2 and 1/4 rate phy types to simplify txtime calculationsam2009-02-191-81/+73
|
* Properly convert bit value to a bit field. Before we were storingimp2009-02-191-2/+2
| | | | | | | | | | values like 0x80 or 0x40 into a uint8_t foo:1 bitfield. This would result in the bit always being 0. One of these caused a warning for overflow (one that was 0x80), but the other didn't. They were both wrong. This is why I hate code that mixes c struct bitfields and #defines. The rest of the fields accessed by the program should be audited.
* Add myself.makc2009-02-191-0/+1
|
* Add myself.makc2009-02-191-0/+2
|
* style nit in r188815avg2009-02-191-1/+1
| | | | | Pointed out by: jhb, rpaulo Approved by: jhb (mentor)
* fs/udf: fix incorrect error return (-1) when reading a large diravg2009-02-191-4/+3
| | | | | | | | | | | | Not enough space in user-land buffer is not an error, userland will read further until eof is reached. So instead of propagating -1 to caller we convert it to zero/success. cd9660 code works exactly the same way. PR: kern/78987 Reviewed by: jhb (mentor) Approved by: jhb (mentor)
* acpi_cpu: fixup for PIIX4E PCI config related to C2avg2009-02-191-1/+11
| | | | | | | | | | | | | | | | | This is triggered only if BIOS configures ACPI_BITREG_BUS_MASTER_RLD aka BRLD_EN_BM to 1. Rationale: 1. we do not support C3 on PIIX4E 2. bus master activity need not break out of C2 state 3. because of CPU_QUIRK_NO_BM_CTRL quirk we may reset bus master status which would result in immediate break out from C2 So if you have seen cpu0: too many short sleeps, backing off to C1 with this chipset before you may want to try cx_lowest of C2 again. Reviewed by: rpaulo (mentor), njl Approved by: rpaulo (mentor)
* o grammar fixmtm2009-02-191-7/+4
| | | | o remove mention of libkse
* Use channel driver's attach/detach routines instead of ata_attach()/mav2009-02-197-13/+58
| | | | | | ata_detach() to implement IOCATAATTACH/IOCATADETACH ioctls. This will permit channel drivers to properly shutdown port hardware on channel detach and init it on attach.
* revamp after 1/2 and 1/4 rate changessam2009-02-191-89/+77
|
* Fixup handling of roaming and xmit parameters to support 1/2 and 1/4-widthsam2009-02-191-110/+125
| | | | | | | | | channel modes: o usurp 'h' mode flag for half-width channels o add 'q' mode flag for quarter-width channels o rewrite rate parameter parsing to handle fractional values o merge mode loops to eliminate ordering assumptions o replace 0x80 with IEEE80211_RATE_MCS
* remove private support for IEEE80211_MODE_HALF and IEEE80211_MODE_QUARTERsam2009-02-192-9/+2
| | | | now that net80211 has them
* Add modes for 1/2 and 1/4-width channels so we have separate roamingsam2009-02-199-8/+69
| | | | | | | | | | | | | | | | | | and xmit parameters. This makes it possible to use tdma on fractional channels. o add IEEE80211_MODE_HALF and IEEE80211_MODE_QUARTER; note these are band-agnostic (may need revisiting) o setup all default rates in ic_sup_rates instead of doing it only for active modes; we need these to calculate the default tx parameters which are not recalculated after a regulatory update (can't just recalculate after installing a new channel list because we might clobber user settings) o remove special case code in ieee80211_get_suprates; this is now a candidate for an inline or removal o add various entries for new modes (roaming+tx params, wme, rate mapping, scan set setup, country ie construction, tdma, basic rates) Note these modes are intentionally not visible through if_media.
* o looseen abi dependencies on IEEE80211_MODE_MAX by accepting smallersam2009-02-191-49/+31
| | | | | | parameters for IEEE80211_IOC_ROAM and IEEE80211_IOC_TXPARAMS; this lets us add more modes and still have old apps work o consolidate loops to remote assumptions about mode ordering
* use c99 initializerssam2009-02-192-112/+112
|
* o consolidate loops to eliminate assumptions about ordering of modessam2009-02-191-13/+10
| | | | o replace 0x80 by IEEE80211_RATE_MCS
* Change country ie construction to simplify forthcoming changes:sam2009-02-191-11/+17
| | | | | o use c99 initializer for skipflags o calculate band flags instead of statically listing them in the table
* use c99 initializersam2009-02-191-10/+13
|
* simplify setting up the roaming parameters; writing default parameters onlysam2009-02-191-43/+29
| | | | | for active modes hasn't turned out to be useful so just define a const table and copy it in place
* check ptr against NULLsam2009-02-191-1/+1
|
* instead of special casing lookups for the 11na/g legacy rate set, justsam2009-02-192-8/+4
| | | | install the rates once when creating the com structure
* Cleanup ath_hal_computetxtime's handling of 1/2 and 1/4-width channels:sam2009-02-193-86/+74
| | | | | | | | | o mark phy type to indicate 1/2 or 1/4-rate operation o use phy type instead of channel attributes to identify 1/2 and 1/4-rate operation o general cleanup of code including move phy constants to ah_internal.h Eventually this code should go away and we should use the net0211 equivalents.
* add phy types for 1/2 and 1/4-rate modessam2009-02-191-0/+2
|
OpenPOWER on IntegriCloud