summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* 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.
* Catch up with menus.c revision 1.399.obrien2005-07-172-58/+0
|
* snd_ess needs snd_sbc to compile.brueffer2005-07-161-1/+2
| | | | Noticed by: oliver
* Revert last commit: It fixed make universe but broke regular kernel make.phk2005-07-161-1/+1
|
* Use mp_maxid in preference to MAXCPU when creating exports of UMArwatson2005-07-161-3/+3
| | | | | | | | | per-CPU cache statistics. UMA sizes the cache array based on the number of CPUs at boot (mp_maxid + 1), and iterating based on MAXCPU could read off the end of the array (into the next zone). Reported by: yongari MFC after: 1 week
* Improve canonicalization of copyrights. Order copyrights by order ofrwatson2005-07-165-20/+15
| | | | | | | assertion (jeff, bmilekic, rwatson). Suggested ages ago by: bde MFC after: 1 week
* Move the unlocking of the zone mutex in sysctl_vm_zone_stats() so thatrwatson2005-07-161-5/+9
| | | | | | | | | | | | | it covers the following of the uc_alloc/freebucket cache pointers. Originally, I felt that the race wasn't helped by holding the mutex, hence a comment in the code and not holding it across the cache access. However, it does improve consistency, as while it doesn't prevent bucket exchange, it does prevent bucket pointer invalidation. So a race in gathering cache free space statistics still can occur, but not one that follows an invalid bucket pointer, if the mutex is held. Submitted by: yongari MFC after: 1 week
* Document IODATA USB-RSAQ3 USB-Serial Adapter as a supported device.hrs2005-07-161-1/+3
| | | | MFC after: 3 days
* Add missing reference to ukbdmap.hphk2005-07-161-1/+1
| | | | Fixes build of ukbd module under "make universe"
* Use better Korean translation for `trap'jkim2005-07-162-6/+6
| | | | | | Requested by: many Korean users from bsdforum.or.kr Submitted by: perky Approved by: anholt (mentor)
* Increase the flags field for kegs from a 16 to a 32 bit value;silby2005-07-163-12/+12
| | | | we have exhausted all 16 flags.
* Teach libmemstat(3) about UMA(9) failure statistics.rwatson2005-07-151-0/+1
| | | | | Requested by: victor cruceru <victor dot cruceru at gmail dot com> MFC after: 1 week
* Track UMA(9) allocation failures by zone, and export via sysctl.rwatson2005-07-153-18/+35
| | | | | Requested by: victor cruceru <victor dot cruceru at gmail dot com> MFC after: 1 week
* Note the events of 0707, lest we forget.ceri2005-07-151-0/+1
|
* Convert the atomic_ptr() operations over to operating on uintptr_tjhb2005-07-1511-321/+129
| | | | | | | | | | variables rather than void * variables. This makes it easier and simpler to get asm constraints and volatile keywords correct. MFC after: 3 days Tested on: i386, alpha, sparc64 Compiled on: ia64, powerpc, amd64 Kernel toolchain busted on: arm
OpenPOWER on IntegriCloud