summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* fixed the validation code of routing header length in inet6_rth_getaddr().ume2005-07-191-4/+3
| | | | | | | reported by Delia Kecskemeti <delia.kecskemeti__at__windriver.com> Submitted by: Keiichi SHIMA <keiichi__at__iijlab.net> Obtained from: KAME
* Remove FreeBSD 2.2 protocol usrreq compatibility code.rwatson2005-07-193-331/+1
| | | | | | | | Remove minor #ifdefs for early NetBSD and OpenBSD compatibility. Remove spl-related definitions. MFC after: 2 weeks
* Remove no-op spl references in in_pcb.c, since in_pcb locking has beenrwatson2005-07-191-15/+3
| | | | | | | basically complete for several years now. Update one spl comment to reference the locking strategy. MFC after: 3 days
* Remove no-op spl's and most comment references to spls, as TCP lockingrwatson2005-07-194-49/+8
| | | | | | is believed to be basically done (modulo any remaining bugs). MFC after: 3 days
* Remove spl() calls from ip_slowtimo(), as IP fragment queue locking wasrwatson2005-07-191-2/+0
| | | | | | | merged several years ago. Submitted by: gnn MFC after: 1 day
* - Embed the "buildkernels" target into the "universe" target so thatru2005-07-191-12/+11
| | | | | | | the "make -n universe" output looks more builder (human) friendly. - Wrap the "universe" target into a ".if make(universe)"; it's only intended to be called directly so it should be safe to do it.
* In multicast routines:rwatson2005-07-191-8/+8
| | | | | | | | | | | | Compare pointers with NULL rather than treating them as booleans. Compare pointers with NULL rather than 0 to make it more clear they are pointers. Assign pointers value of NULL rather than 0 to make it more clear they are pointers. MFC after: 3 days
* Rename equal() macro to sa_equal(), which matches the definitionsrwatson2005-07-191-14/+16
| | | | | | | of sa_equal() in other files, and makes it more clear what equal() is comparing. MFC after: 3 days
* Fix the "..." special command. If this command is found all furtherharti2005-07-191-1/+1
| | | | | | | | | | | commands for this target are appended to the .END target instead of beeing executed now. They are executed when the graph is finished. There was a bug with executing the .END target which came in when doing conversion to LST_FOREACH() which caused make to dump core. PR: bin/83698 Submitted by: Max Okumoto <okumoto@ucsd.edu> MFC after: 3 days
* Document passive cooling related sysctl MIB.ume2005-07-191-0/+7
|
* PLAY_MSF, PLAY_TRACK, PLAY_TRACK_REL, PAUSE, PLAY_12 commands to passdelphij2005-07-191-0/+5
| | | | | | | | | | | | | through umass(4), in order to make cdcontrol(1) to issue commands to a USB CD driver. The command IDs were obtained from the CAM subsystem. This was tested on half dozen of USB CD drivers from different vendors. Suggested by: "intron" <intron at intron dot ac> PR: usb/83439 Reviewed by: sanpei MFC After: 1 week
* This has worked for a while now. ex pccard attachmentimp2005-07-191-1/+1
|
* Build p4tcc and est cpu frequency modules on amd64.ps2005-07-191-0/+2
| | | | Reviewed by: njl
* Ignore AVM BlueFRITZ! USB Bluetooth Adapter v1.0 (product ID 0x2200).emax2005-07-191-0/+1
| | | | | | | | It does not work with ng_ubt(4) and require special driver and firmware. Obtained from: Marcel Holtmann < marcel at holtmann dot org > Submitted by: Rainer Goellner < rainer at jabbe dot de > MFC after: 3 days
* Add a "Load module on start up" comment, similar to mac_*.4 pages[1].trhodes2005-07-1961-107/+918
| | | | | | | | Quote .Cd and .Nd text. Bump doc date. Requested by: some user through ru Supported by: ru, dwmalone, brueffer
* Better name for type 4 chipsimp2005-07-181-1/+1
|
* remove the supposed max of 2^31, it hasn't been this small in a veryjmg2005-07-181-4/+1
| | | | | | | | long time... i.e. since this file was imported... (ufs1 supports much larger files then this)... Submitted by: Ivan Voras MFC after: 1 week
* Fix minor memory leak when expanding ${variable}sgad2005-07-181-1/+5
| | | | | Noticed by: Dave Hart MFC plans: after checking with re@
* o Add Toshiba's id. Make AGERE an alias for LUCENT. Add Ungermann's ID.imp2005-07-181-0/+7
| | | | | | o Add Agere Hermes II and II.5 PC Cards (from zipit web page), TDK GlobalNetworker 3410 (from dmesg for my card) and another alternate PANASONIC KXLC0005_2 (from pcmcia-cs id lists).
* s/then/thanschweikh2005-07-181-1/+1
|
* Ignore EPERM from sysctl(3). It is returned when passive coolingume2005-07-181-2/+5
| | | | | | is active. Reviewed by: njl
* Implement passive cooling. It is enabled for tz0 by default whereume2005-07-181-13/+277
| | | | | | it is available. Reviewed by: njl
* - Slightly reorder the events around the setting of PRS_ZOMBIE to be lessjhb2005-07-181-8/+20
| | | | | | | | | | | hokie and much more readable and expand the comment to explain why it is the way that it is. - Close a race where one CPU could free the process belonging to a thread on another CPU that hasn't quite finished exiting yet but is beyond the point of setting the process state as PRS_ZOMBIE. Reported and tested by: ps (2) MFC after: 3 days
* Mark if_sbsh as IFF_NEEDSGIANT, because it does.rwatson2005-07-181-1/+2
| | | | MFC after: 1 day
* Mark if_cnw as IFF_NEEDSGIANT, because it does.rwatson2005-07-181-1/+2
| | | | MFC after: 1 day
* Lock down netnatm and mark as MPSAFE:rwatson2005-07-185-65/+77
| | | | | | | | | | | | | | | | | | | | | | - Introduce a subsystem mutex, natm_mtx, manipulated with accessor macros NATM_LOCK_INIT(), NATM_LOCK(), NATM_UNLOCK(), NATM_LOCK_ASSERT(). It protects the consistency of pcb-related data structures. Finer grained locking is possible, but should be done in the context of specific measurements (as very little work is done in netnatm -- most is in the ATM device driver or socket layer, so there's probably not much contention). - Remove GIANT_REQUIRED, mark as NETISR_MPSAFE, remove NET_NEEDS_GIANT("netnatm"). - Conditionally acquire Giant when entering network interfaces for ifp->if_ioctl() using IFF_LOCKGIANT(ifp)/IFF_UNLOCKGIANT(ifp) in order to coexist with non-MPSAFE atm ifnet drivers.. - De-spl. MFC after: 2 weeks Reviewed by: harti, bms (various versions)
* Add support for AVM BlueFRITZ! USB Bluetooth Adapter v2.0. It appears thatemax2005-07-181-1/+1
| | | | | | | | | | | | there are at least two versions of the adapter. Version 1 (product ID 0x2200) of the adapter does not work with ng_ubt(4) and require special driver and firmware. Version 2 (product ID 0x3800) seems to work just fine, except it does not have bDeviceClass, bDeviceSubClass and bDeviceProtocol set to required (by specification) values. This change forces ng_ubt(4) to attach to the version 2 adapter. Obtained from: Marcel Holtmann <marcel at holtmann dot org> Submitted by: Rainer Goellner <rainer at jabbe dot de>
* Bump MEMSTAT_MAXCALLER to 16. memtop(8) seems to be able to happilyrwatson2005-07-181-1/+1
| | | | | | | consume that many slots to track snapshot-to-snapshot changes and running totals. And 16 is a nice round number. MFC after: 1 week
* Add another regression tests for msdosfs which covers msdosfs_conv.c rev 1.45.imura2005-07-182-0/+77
| | | | Requested by: silby
* Modify "netstat -mb" to use libmemstat(3) when acting on a live system,rwatson2005-07-182-36/+197
| | | | | | | | | | | | | | | | | | | | | | | | with a number of positive benefits: - Start using UMA(9) statistics for mbufs and clusters, which avoids using the mbuf allocator statistics which suffer from races under load on SMP. This should eliminate "negative" mbuf counts in netstat -mb. - We are now able to track cached (free) mbufs and clusters and count it towards memory allocated by the network stack. - We are now also able to track memory allocated to mbuf tags since libmemstat(3) can also query malloc(9). We don't print this except as part of the total (for now - #if 0). - We are now able to track mbuf/cluster/packet allocation failures, although they are not currently printed (#if 0). - Don't print out sfbuf statistics when running on a kernel core, as currently that code is able only to query sysctl for statistics. MFC after: 1 week
* Regen:sheldonh2005-07-181-159/+324
| | | | | | | * Hart: rev 533 of pcidevs.txt (2005-06-29) * Boemler: vendors.txt (2005-07-12) Approved by: re (kensmith)
* Fix for a NFS soft mounts bug where if the number of retries exceedsps2005-07-181-1/+2
| | | | | | | | the max rexmits, the request was not being bounced back with a ETIMEDOUT error. Reported by: Oliver Lehmann Submitted by: Mohan Srinivasan
* remove myself as maintainerwosch2005-07-171-2/+0
|
* remove myself as maintainer.wosch2005-07-171-1/+0
|
* I believe that this tsleep was placed here in 1.28 to try to solve theimp2005-07-171-3/+1
| | | | | | | problems we were having properly mapping the CIS attr space on some cards. Those problems have been solved other ways, so this kludge is no longer necessary. Remove it and have pccards come up a whole second faster.
* The Sony i.LINK CXD1947 device is a firewire bridge, but it doesn'timp2005-07-171-2/+2
| | | | | | | implement the OHCI programming interface. Thus it probes, but fails to attach because of an invalid OHCI version. Rather than count on the downstream tests properly failing, print a message that this chipset isn't supported and fail the probe.
* o The ricoh bridge needs us to turn off the function interrupts forimp2005-07-171-12/+22
| | | | | | | | | | | | | | | | | 16-bit cards when we're powering them up. Other bridges may have similar issues, so we do this for all of them by setting the interrupt in the PCIC register 3 to be 0 (done always anyway) and turning on the bit in the bridge control register to route these interrupts via the ISA bus (or via the interrupt configured in the PCIC register 3). '0' means disable completely. There's a small chance this may interfere with the o2micro power hacks, but I'll wait for reports to come in from o2micro users. o Expand some of the comments about why we do certain things. # this gets rid of the interrupt storm warnings on my 505TS. I think # that we may need to do something similar on suspend, but I'm unsure # since I don't have a laptop that supports suspened/resume with a # ricoh chipset in it.
* Rename a bit to make it clearer that it enables routing of the functionimp2005-07-172-2/+2
| | | | interrupts to the ISA bus.
* Add LIBMEMSTAT tp bsd.libnames.mk.rwatson2005-07-171-0/+1
| | | | MFC after: 1 week
* Define four constants, MBUF_{,MEM,CLUSTER,PACKET,TAG}_MEM_NAME, whichrwatson2005-07-173-5/+18
| | | | | | | | | | | are string names for their respective UMA zones and malloc types, and are passed into uma_zcreate() and MALLOC_DEFINE(). Export them outside of _KERNEL in mbuf.h so that netstat can reference them. Change the names to improve consistency, with each zone/type associated with the mbuf allocator being prefixed mbuf_. MFC after: 1 week
* Add __BEGIN_DECLS and __END_DECLS to make libmemstat(3) more C++-friendly.rwatson2005-07-171-0/+2
| | | | MFC after: 1 week
* sync function prototype with reality.charnier2005-07-171-1/+6
|
* Before calling g_orphan_provider(), add G_PF_WITHER flag, so GEOM will knowpjd2005-07-172-0/+2
| | | | | | | | to destroy it. PR: kern/81758 Submitted by: trasz <trasz@buziaczek.pl> MFC after: 3 days
* Check that we have first fragment before pulling up TCP/UDP header.glebius2005-07-171-12/+14
|
* The CD interrupt should only be enabled after we've initialized theimp2005-07-171-10/+38
| | | | | | | | | | | | | | card. Mask it while we're doing power things, as the PC Card standard suggests. Also, poll the POWER_CYCLE bit 10x a second as well as providing a timeout for power cycle interrupt to happen. The Ricoh '475 that I have doesn't seem to generate an interrupt for power at the present time, so the polling is necessary for reasons as yet unknown. This results in an interrupt storm warning that I'm still trying to quantify (the o2micro trick doesn't work to mitigate this storm). At the very least, this should help those users that lost pccards on boot with the prior rev of this code. My VAIO PCG-505TS is now happier, but more investigation is necessary.
* [1] unix2doschr()imura2005-07-171-10/+27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | If a character cannot be converted to DOS code page, unix2doschr() returned `0'. As a result, unix2dosfn() was forced to return `0', so we saw a file which was composed of these characters as `Invalid argument'. To correct this, if a character can be converted to Unicode, unix2doschr() now returns `1' which is a magic number to make unix2dosfn() know that the character must be converted to `_'. [2] unix2dosfn() The above-mentioned solution only works if a file has both of Unicode name and DOS code page name. Unicode name would not be recorded if file name can be settled within 11 bytes (DOS short name) and if no conversion from Unix charset to DOS code page has occurred. Thus, FreeBSD can create a file which has only short name, but there is no guarantee that the short name contains allways valid characters because we leave it to people by using mount_msdosfs(8) to select which conversion is used between DOS code page and unix charset. To avoid this, Unicode file name should be recorded unless a character is an ascii character. This is the way Windows XP do. PR: 77074 [1] MFC after: 1 week
* Use LK_CANRECURSE since when a PMC-owning process performs an exec,jkoshy2005-07-171-1/+1
| | | | | | the new text vnode is already locked by itself. MFC after: 3 days
* Remove confusing "single C char locales" phrase; arguments to thesetjr2005-07-1712-106/+44
| | | | | functions and must now be either an unsigned char or EOF, regardless of locale.
* Remove confusing "single C char locales" phrase; arguments to tolower()tjr2005-07-172-18/+6
| | | | | and toupper() must now be either an unsigned char or EOF, regardless of locale.
* Add additional sub-systems to the warning users get when they build aobrien2005-07-171-3/+6
| | | | kernel that has become GPL infected.
OpenPOWER on IntegriCloud