summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Do not prepend /dev/ when -C is used.ed2009-04-112-5/+7
| | | | Submitted by: Christoph Mallon <christoph mallon gmx de>
* When using -C, do not warn when the file is not a character device, but warn ↵ed2009-04-111-2/+7
| | | | | | when it is not a regular file. Submitted by: Christoph Mallon <christoph mallon gmx de>
* Fix a bug in r185587.ed2009-04-111-2/+3
| | | | | | | fstat(fd, &sb) was not executed unconditionally anymore so sb was read uninitialised when -C is used. Submitted by: Christoph Mallon <christoph mallon gmx de>
* Use ftruncate() instead of lseek()+write()+lseek() to set the createded2009-04-111-5/+1
| | | | | | file (-C) to the requested size. Submitted by: Christoph Mallon <christoph mallon gmx de>
* MFi386: revision 190919nyan2009-04-111-29/+8
| | | | | | | | Simplify in/out functions. Remove a hack to generate more efficient code for port numbers below 0x100, which has been obsolete for at least ten years, because GCC has an asm constraint to specify that.
* De-static local variables in main() (which is not recursive) and const-ifyed2009-04-111-10/+10
| | | | | | others. Submitted by: Christoph Mallon <christoph mallon gmx de>
* Show -@ and -C in usage, which were added in r185587.ed2009-04-111-0/+2
| | | | Submitted by: Christoph Mallon <christoph mallon gmx de>
* Clean up the usage() function to use a single fprintf().ed2009-04-111-26/+25
| | | | Submitted by: Christoph Mallon <christoph mallon gmx de>
* Simplify in/out functions (for i386 and AMD64).ed2009-04-114-216/+32
| | | | | | | | Remove a hack to generate more efficient code for port numbers below 0x100, which has been obsolete for at least ten years, because GCC has an asm constraint to specify that. Submitted by: Christoph Mallon <christoph mallon gmx de>
* Remove 'IMPLEMENTATION NOTES' section from acl(9); it was just a copy/pastetrasz2009-04-111-60/+0
| | | | from <sys/acl.h> and it would get out-of-date pretty soon.
* Bump __FreeBSD_version to 800077 for the removal of VOP_LEASE -- thisrwatson2009-04-111-1/+1
| | | | | changes the size of the vop_vector array and therefore requires file system modules to be rebuilt.
* Fix broken case where caused by last patch whererrs2009-04-111-1/+2
| | | | | a user uses 0.0.0.0/0 as an alias for default. Obtained from: Mykola Dzham (freebsd@levsha.org.ua)
* Previously, when vm_page_free_toq() was performed on a page belonging toalc2009-04-111-4/+4
| | | | | | | | | | | | | | | a reservation, unless all of the reservation's pages were free, the reservation was moved to the head of the partially-populated reservations queue, where it would be the next reservation to be broken in case the free page queues were emptied. Now, instead, I am moving it to the tail. Very likely this reservation is in the process of being freed in its entirety, so placing it at the tail of the queue makes it more likely that the underlying physical memory will be returned to the free page queues as one contiguous chunk. If a reservation must be broken, it will, instead, be the longest unchanged reservation, which is arguably the reservation that is least likely to ever achieve promotion or be freed in its entirety. MFC after: 6 weeks
* Kill hard sentence break added in the previous revision.trhodes2009-04-111-1/+4
|
* Bump doc date for previous changes.trhodes2009-04-111-1/+1
|
* Introduce vnet module registration / initialization framework withzec2009-04-1116-28/+390
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | dependency tracking and ordering enforcement. With this change, per-vnet initialization functions introduced with r190787 are no longer directly called from traditional initialization functions (which cc in most cases inlined to pre-r190787 code), but are instead registered via the vnet framework first, and are invoked only after all prerequisite modules have been initialized. In the long run, this framework should allow us to both initialize and dismantle multiple vnet instances in a correct order. The problem this change aims to solve is how to replay the initialization sequence of various network stack components, which have been traditionally triggered via different mechanisms (SYSINIT, protosw). Note that this initialization sequence was and still can be subtly different depending on whether certain pieces of code have been statically compiled into the kernel, loaded as modules by boot loader, or kldloaded at run time. The approach is simple - we record the initialization sequence established by the traditional mechanisms whenever vnet_mod_register() is called for a particular vnet module. The vnet_mod_register_multi() variant allows a single initializer function to be registered multiple times but with different arguments - currently this is only used in kern/uipc_domain.c by net_add_domain() with different struct domain * as arguments, which allows for protosw-registered initialization routines to be invoked in a correct order by the new vnet initialization framework. For the purpose of identifying vnet modules, each vnet module has to have a unique ID, which is statically assigned in sys/vimage.h. Dynamic assignment of vnet module IDs is not supported yet. A vnet module may specify a single prerequisite module at registration time by filling in the vmi_dependson field of its vnet_modinfo struct with the ID of the module it depends on. Unless specified otherwise, all vnet modules depend on VNET_MOD_NET (container for ifnet list head, rt_tables etc.), which thus has to and will always be initialized first. The framework will panic if it detects any unresolved dependencies before completing system initialization. Detection of unresolved dependencies for vnet modules registered after boot (kldloaded modules) is not provided. Note that the fact that each module can specify only a single prerequisite may become problematic in the long run. In particular, INET6 depends on INET being already instantiated, due to TCP / UDP structures residing in INET container. IPSEC also depends on INET, which will in turn additionally complicate making INET6-only kernel configs a reality. The entire registration framework can be compiled out by turning on the VIMAGE_GLOBALS kernel config option. Reviewed by: bz Approved by: julian (mentor)
* Two refinements to the 3c1 support:imp2009-04-113-8/+17
| | | | | | | 1) Flag it and only access that command on the 3c1 2) The TX PLL appears to power down when not in use, so we have to power it back up when we've been idle. Do this at the start of ifstart. Otherwise we fall off the net.
* o Report ethernet status for at least 10BaseT media. Since I don'timp2009-04-112-1/+30
| | | | | | | | | have other media to test against, I've left that media reporting unchanged. o Enable the TX_PLL when we enable TX. This is harmless on most cards, but required to get the 3c1 CF card working. Power savings could be had by managing this better, but for now it gets my card working.
* - fix my previous commit (added missing .gz)danger2009-04-101-1/+1
| | | | Submitted by: brueffer
* Added DT_GNU_HASH entry for GNU-style hash table.kaiw2009-04-101-0/+1
|
* Follow up for r190895 It's not only the "all" group that is affected, butmlaier2009-04-101-1/+50
| | | | | | | all groups on the given interface. PR: kern/130977, kern/131310 MFC after: 3 days (%vnet)
* Don't specify a hint, since it isn't needed.imp2009-04-101-2/+2
|
* Fix commentimp2009-04-101-4/+3
| | | | Submitted by: danfe@
* Improvements for TC5299J MII support.imp2009-04-101-25/+15
|
* The D-Link DE-650 isn't tagged as a network card, so allow it toimp2009-04-101-1/+2
| | | | | | attach anyway. Add a comment about a 'common' mfg/prod pair that's used in a very large array of different cards.
* Fix some comments.imp2009-04-101-9/+12
|
* No need to check for chip type here.imp2009-04-101-1/+1
|
* Updates based on my testing of the cards.imp2009-04-101-19/+18
|
* Remove interfaces from IFG_ALL on detach. This cures a couple of pf panicsmlaier2009-04-101-0/+1
| | | | | | | | | when using the "self" keyword in tables or as ()-style host address and fixes "ifconfig -g all" output. PR: kern/130977, kern/131310 Submitted by: Mikolaj Golub MFC after: 3 days
* - VOP_LEASE.9 has been removeddanger2009-04-101-0/+2
| | | | Approved by: rwatson
* - Better wording in comment.lulf2009-04-101-1/+1
| | | | Suggested by: Christoph Mallon <christoph.mallon - at - gmx.de>
* Remove VOP_LEASE(9) man page, as we no longer have a VOP_LEASE() in therwatson2009-04-102-62/+0
| | | | kernel.
* Remove VOP_LEASE and supporting functions. This hasn't been used sincerwatson2009-04-1022-124/+4
| | | | | | | | | | | | | | the removal of NQNFS, but was left in in case it was required for NFSv4. Since our new NFSv4 client and server can't use it for their requirements, GC the old mechanism, as well as other unused lease- related code and interfaces. Due to its impact on kernel programming and binary interfaces, this change should not be MFC'd. Proposed by: jeff Reviewed by: jeff Discussed with: rmacklem, zach loafman @ isilon
* Cache_lookup() for DOTDOT drops dvp vnode lock, allowing dvp to be reclaimed.kib2009-04-102-1/+10
| | | | | | | | | Check the condition and return ENOENT then. In nfs_lookup(), respect ENOENT return from cache_lookup() when it is caused by dvp reclaim. Reported and tested by: pho
* When vm_map_wire(9) is allowed to skip holes in the wired region, skipkib2009-04-102-1/+17
| | | | | | | | | | | | | | | the mappings without any of read and execution rights, in particular, the PROT_NONE entries. This makes mlockall(2) work for the process address space that has such mappings. Since protection mode of the entry may change between setting MAP_ENTRY_IN_TRANSITION and final pass over the region that records the wire status of the entries, allocate new map entry flag MAP_ENTRY_WIRE_SKIPPED to mark the skipped PROT_NONE entries. Reported and tested by: Hans Ottevanger <fbsdhackers beasties demon nl> Reviewed by: alc MFC after: 3 weeks
* Currently, when mapping an object, rtld reserves the whole address spacekib2009-04-101-7/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | for the mapping by the object' file with the protection and mode of the first loadable segment over the whole region. Then, it maps other segments at the appropriate addresses inside the region. On amd64, due to default alignment of the segments being 1Gb, the subsequent segment mappings leave the holes in the region, that usually contain mapping of the object' file past eof. Such mappings prevent wiring of the address space, because the pages cannot be faulted in. Change the way the mapping of the ELF objects is constructed, by first mapping PROT_NONE anonymous memory over the whole range, and then mapping the segments of the object over it. Take advantage of this new order and allocate .bss by changing the protection of the range instead of remapping. Note that we cannot simply keep the holes between segments, because other mappings may be made there. Among other issues, when the dso is unloaded, rtld unmaps the whole region, deleting unrelated mappings. The kernel ELF image activator does put the holes between segments, but this is not critical for now because kernel loads only executable image and interpreter, both cannot be unloaded. This will be fixed later, if needed. Reported and tested by: Hans Ottevanger <fbsdhackers beasties demon nl> Suggested and reviewed by: kan, alc
* - Implement the grow command to make it easier for users to extend plexeslulf2009-04-102-7/+95
| | | | | | without having to understand all gvinum internals. - Document the grow command in the manpage and update examples to use the command where possible.
* Update comment to the reality, rtld supports any number of loadable segments.kib2009-04-101-3/+2
| | | | | | Fix spacing. Reviewed by: kan
* - Move logic for finding a unique drive name into its own routine for futurelulf2009-04-101-5/+12
| | | | code reuse.
* - Move out allocation part of different gvinum objects into its own routine andlulf2009-04-103-30/+77
| | | | make use of it in the gvinum userland code.
* Import "flowid" support for serializing flows across transmit queueskmacy2009-04-105-2/+17
| | | | Reviewed by: rwatson and jeli
* Fix build problem with data format.jfv2009-04-101-2/+2
|
* Revert r190676,190677thompsa2009-04-1014-31/+10
| | | | | | | The geom and CAM changes for root_hold are the wrong solution for USB design quirks. Requested by: scottl
* Add missing file, sorry bout that :)jfv2009-04-101-0/+2444
|
* Add ixgbe to the GENERIC amd64 kernel in place of thejfv2009-04-101-1/+1
| | | | | | | older ixgb driver. I will add to other architectures after this one proves trouble free. MFC after: 2 weeks
* Add additional file to ixgbe files list, and uncomment NOTES entryjfv2009-04-102-1/+3
| | | | MFC after: 2 weeks
* Add support file for 82599 in Makefilejfv2009-04-101-1/+2
| | | | MFC after: 2 weeks
* Update the ixgbe driver to 1.7.4, this includes supportjfv2009-04-1013-811/+3209
| | | | | | | | for the new 82599 adapter family, adds header split, and many small fixes. The driver should now be added to the GENERIC kernel. MFC after: 2 weeks
* This delta syncs the em and igb drivers with Intel,jfv2009-04-1022-1042/+1722
| | | | | | | adds header split and SCTP support into the igb driver. Various small improvements and fixes. MFC after: 2 weeks
* Include a space between "send" and "broadcast".emaste2009-04-091-1/+1
|
OpenPOWER on IntegriCloud