summaryrefslogtreecommitdiffstats
path: root/share
Commit message (Collapse)AuthorAgeFilesLines
* Note the temporary removal of these functions.julian2007-10-211-0/+7
|
* This was kthread.9julian2007-10-211-0/+302
| | | | | | | it has been duplicated to kproc.9 kthread.9 will continue on to describe the coming kthread_xxx functions which will actually make threads.
* - Convert NO_INSTALLLIB option to a new syntax: makefiles shouldru2007-10-202-1/+3
| | | | | | | | | | | test MK_INSTALLLIB, users can set WITHOUT_INSTALLLIB. The old NO_INSTALLLIB is still supported as several makefiles set it. - While here, fix an install when instructed not to install libs (usr.bin/lex/lib/Makefile). PR: bin/114200 Submitted by: Henrik Brix Andersen
* Align the warning message with the one in bsd.own.mk.ru2007-10-201-1/+1
|
* Regen (nscd -> cached, WITHOUT_LIBPTHREAD disabling BIND).ru2007-10-191-2/+16
|
* Small fix in man pages after cached -> nscd renaming.bushman2007-10-192-6/+6
| | | | Approved by: brooks (mentor)
* Explicitly verify if we have found the VERSION_GEN scriptyar2007-10-181-0/+3
| | | | | instead of passing the possibly null argument to awk(1) and getting an obscure error from it.
* Distinguish the cases when a dup symbol is in different versionsyar2007-10-181-6/+24
| | | | | | | (evil, needs a error) or in the same version (harmless, deserves a mere warning). Noticed by: grehan@, tinderbox
* MFp4:yar2007-10-171-29/+75
| | | | | | | | | | - Check for duplicated symbols and suggest moving them to ObsoleteVersions. - Improve and unify error handling. - Make the regular expressions more uniform, robust, and less sensitive to harmless variations in the input such as those to whitespace amount. Reviewed by: deischen Tested with: md5 (Version.map files in /usr/obj stay the same)
* Delete an extra backslash at the end of the xterm-basic entry.yar2007-10-171-1/+1
| | | | | | | It can be missed easily that the following blank line formally belongs to the xterm-basic entry due to the unneeded backslash. PR: bin/80256 (audit trail)
* Backout rev 1.62, and revert to use -march=armv5te -D__XSCALE__ insteadcognet2007-10-161-1/+3
| | | | | | | | | of -mcpu=xscale for XScale. gcc still has issues with -mcpu=xscale, and now crashes while building systat. Reported by: sam MFC After: 3 days
* Backout sensors framework.netchild2007-10-157-453/+7
| | | | | Requested by: phk Discussed on: cvs-all
* Markup nit.ru2007-10-151-1/+1
|
* Sort.ru2007-10-151-6/+6
|
* Fix markup.ru2007-10-152-11/+13
|
* Fix mdoc.ru2007-10-141-11/+22
|
* Remove trailing whitespace.ru2007-10-141-2/+2
|
* Convert coretemp(4) to the hardware sensors framework andnetchild2007-10-141-6/+14
| | | | | | | | | | make sure to never call sched_bind() for uninitialised CPUs. Submitted by: Constantine A. Murenin <cnst@FreeBSD.org> Sponsored by: Google Summer of Code 2007 (GSoC2007/cnst-sensors) Mentored by: syrinx Tested by: many OKed by: kensmith
* Import it(4) and lm(4), supporting most popular Super I/O Hardware Monitors.netchild2007-10-143-0/+245
| | | | | | | | | Submitted by: Constantine A. Murenin <cnst@FreeBSD.org> Sponsored by: Google Summer of Code 2007 (GSoC2007/cnst-sensors) Mentored by: syrinx Tested by: many OKed by: kensmith Obtained from: OpenBSD (parts)
* Import OpenBSD's sysctl hardware sensors framework.netchild2007-10-143-1/+181
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This commit includes the following core components: * sample configuration file for sensorsd * rc(8) script and glue code for sensorsd(8) * sysctl(3) doc fixes for CTL_HW tree * sysctl(3) documentation for hardware sensors * sysctl(8) documentation for hardware sensors * support for the sensor structure for sysctl(8) * rc.conf(5) documentation for starting sensorsd(8) * sensor_attach(9) et al documentation * /sys/kern/kern_sensors.c o sensor_attach(9) API for drivers to register ksensors o sensor_task_register(9) API for the update task o sysctl(3) glue code o hw.sensors shadow tree for sysctl(8) internal magic * <sys/sensors.h> * HW_SENSORS definition for <sys/sysctl.h> * sensors display for systat(1), including documentation * sensorsd(8) and all applicable documentation The userland part of the framework is entirely source-code compatible with OpenBSD 4.1, 4.2 and -current as of today. All sensor readings can be viewed with `sysctl hw.sensors`, monitored in semi-realtime with `systat -sensors` and also logged with `sensorsd`. Submitted by: Constantine A. Murenin <cnst@FreeBSD.org> Sponsored by: Google Summer of Code 2007 (GSoC2007/cnst-sensors) Mentored by: syrinx Tested by: many OKed by: kensmith Obtained from: OpenBSD (parts)
* Document quotachecks use of the passno field.mpp2007-10-141-1/+5
|
* Add comment stating that UCS-4 really used here, not UTF-8ache2007-10-141-0/+3
|
* Describe an error return that was missed out earlier.jkoshy2007-10-131-1/+6
|
* Style (whitespace-only) change.ru2007-10-121-1/+1
|
* Though it was possible to configure our BIND to build even whenru2007-10-121-5/+10
| | | | | libpthread support isn't present, our maintainer felt it's an overkill, so instead enforce the BIND dependency on libpthread.
* To honor the birth of RELENG_7 bump HEAD to 8.0-CURRENT.kensmith2007-10-111-4/+4
| | | | Approved by: re (implicit)
* Properly regen src.conf(5).ru2007-10-101-3/+3
| | | | Approved by: re (kensmith)
* Tweak the handling of "WITHOUT_LIBPTHREAD". Also remove the accidentalobrien2007-10-094-14/+25
| | | | | | | treatment of 'LIBKSE' as an "old style" knob. Submitted by: ru Approved by: re(kensmith)
* Repo copy libpthreads to libkse.obrien2007-10-094-4/+16
| | | | | | This introduces the WITHOUT_LIBKSE nob, and changes WITHOUT_LIBPTHREADS to mean with neither threading libs. Approved by: re(kensmith)
* MFV for tzdata2007hedwin2007-10-083-16/+89
| | | | | | | | | | | | | | Timezone data changes in the following locations: - Egypt (push possible DST ending one year ahead) - Iran gets DST again in 2008. - Palestine DST time for this year fixed. - Brasils DST rule change in 2008. - Venezuela time moves half an hour back at the end of this year. PR: conf/116900 Approved by: re (Ken Smith), grog@ (mentor) MFC after: 1 week
* Describe the process of importing new zoneinfo data and updatingedwin2007-10-081-0/+26
| | | | | | | it into CVS. PR: conf/116901 Approved by: re (Ken Smith), grog@ (mentor)
* Add an MLINKS for pci_find_dbsf.9.marius2007-10-051-0/+1
| | | | | Submitted by: ru Approved by: re (gnn)
* manpage update for the recent commit to uscanner.cluigi2007-10-051-190/+48
| | | | | | | | | | | I also took the chance to make the list of supported devices a bit more compact, as it was really long to read. Even though re@ and Warner only saw the diffs for the code, i expect their approval also covered the manpage update. Approved by: re, imp (implicitly i hope) MFC after: 3 days
* AMD CS5536 and VIA 8237S support.brueffer2007-10-051-3/+3
| | | | Approved by: re (blanket)
* Fixed "make checkdpadd" (missing library dependencies).ru2007-10-012-6/+6
| | | | Approved by: re (kensmith)
* Make the PCI code aware of PCI domains (aka PCI segments) so we canmarius2007-09-302-7/+35
| | | | | | | | | | | | | | | | | | | | | | | | support machines having multiple independently numbered PCI domains and don't support reenumeration without ambiguity amongst the devices as seen by the OS and represented by PCI location strings. This includes introducing a function pci_find_dbsf(9) which works like pci_find_bsf(9) but additionally takes a domain number argument and limiting pci_find_bsf(9) to only search devices in domain 0 (the only domain in single-domain systems). Bge(4) and ofw_pcibus(4) are changed to use pci_find_dbsf(9) instead of pci_find_bsf(9) in order to no longer report false positives when searching for siblings and dupe devices in the same domain respectively. Along with this change the sole host-PCI bridge driver converted to actually make use of PCI domain support is uninorth(4), the others continue to use domain 0 only for now and need to be converted as appropriate later on. Note that this means that the format of the location strings as used by pciconf(8) has been changed and that consumers of <sys/pciio.h> potentially need to be recompiled. Suggested by: jhb Reviewed by: grehan, jhb, marcel Approved by: re (kensmith), jhb (PCI maintainer hat)
* Add my self and my mentor.kaiw2007-09-291-0/+4
| | | | | Approved by: jkoshy (mentor) Approved by: re (bmah)
* - Change the description of sleepq_add(), sleepq_broadcast() andgabor2007-09-281-4/+13
| | | | | | | sleepq_signal() to reflect recent changes Submitted by: attilio Approved by: re (bmah)
* Fix previous commit: I should be in alphabetical order.rpaulo2007-09-271-1/+1
| | | | | Pointed out by: brueffer Approved by: re (bmah), njl
* Add myself and my mentor.rpaulo2007-09-271-0/+2
| | | | | Reviewed by: njl (mentor) Approved by: re
* Fix typo.brueffer2007-09-261-1/+1
| | | | Approved by: re (blanket)
* o Revert the part of if_gem.c rev. 1.35 which added a call to gem_stop()marius2007-09-261-6/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | to gem_attach() as the former access softc members not yet initialized at that time and gem_reset() actually is enough to stop the chip. [1] o Revise the use of gem_bitwait(); add bus_barrier() calls before calling gem_bitwait() to ensure the respective bit has been written before we starting polling on it and poll for the right bits to change, f.e. even though we only reset RX we have to actually wait for both GEM_RESET_RX and GEM_RESET_TX to clear. Add some additional gem_bitwait() calls in places we've been missing them according to the GEM documentation. Along with this some excessive DELAYs, which probably only were added because of bugs in gem_bitwait() and its use in the first place, as well as as have of an gem_bitwait() reimplementation in gem_reset_tx() were removed. o Add gem_reset_rxdma() and use it to deal with GEM_MAC_RX_OVERFLOW errors more gracefully as unlike gem_init_locked() it resets the RX DMA engine only, causing no link loss and the FIFOs not to be cleared. Also use it deal with GEM_INTR_RX_TAG_ERR errors, with previously were unhandled. This was based on information obtained from the Linux GEM and OpenSolaris ERI drivers. o Turn on workarounds for silicon bugs in the Apple GMAC variants. This was based on information obtained from the Darwin GMAC and Linux GEM drivers. o Turn on "infinite" (i.e. maximum 31 * 64 bytes in length) DMA bursts. This greatly improves especially RX performance. o Optimize the RX path, this consists of: - kicking the receiver as soon as we've a spare descriptor in gem_rint() again instead of just once after all the ready ones have been handled; - kicking the receiver the right way, i.e. as outlined in the GEM documentation in batches of 4 and by pointing it to the descriptor after the last valid one; - calling gem_rint() before gem_tint() in gem_intr() as gem_tint() may take quite a while; - doubling the size of the RX ring to 256 descriptors. Overall the RX performance of a GEM in a 1GHz Sun Fire V210 was improved from ~100Mbit/s to ~850Mbit/s. o In gem_add_rxbuf() don't assign the newly allocated mbuf to rxs_mbuf before calling bus_dmamap_load_mbuf_sg(), if bus_dmamap_load_mbuf_sg() fails we'll free the newly allocated mbuf, unable to recycle the previous one but a NULL pointer dereference instead. o In gem_init_locked() honor the return value of gem_meminit(). o Simplify gem_ringsize() and dont' return garbage in the default case. Based on OpenBSD. o Don't turn on MAC control, MIF and PCS interrupts unless GEM_DEBUG is defined as we don't need/use these interrupts for operation. o In gem_start_locked() sync the DMA maps of the descriptor rings before every kick of the transmitter and not just once after enqueuing all packets as the NIC might instantly start transmitting after we kicked it the first time. o Keep state of the link state and use it to enable or disable the MAC in gem_mii_statchg() accordingly as well as to return early from gem_start_locked() in case the link is down. [3] o Initialize the maximum frame size to a sane value. o In gem_mii_statchg() enable carrier extension if appropriate. o Increment if_ierrors in case of an GEM_MAC_RX_OVERFLOW error and in gem_eint(). [3] o Handle IFF_ALLMULTI correctly; don't set it if we've turned promiscuous group mode on and don't clear the flag if we've disabled promiscuous group mode (these were mostly NOPs though). [2] o Let gem_eint() also report GEM_INTR_PERR errors. o Move setting sc_variant from gem_pci_probe() to gem_pci_attach() as device probe methods are not supposed to touch the softc. o Collapse sc_inited and sc_pci into bits for sc_flags. o Add CTASSERTs ensuring that GEM_NRXDESC and GEM_NTXDESC are set to legal values. o Correctly set up for 802.3x flow control, though #ifdef out the code that actually enables it as this needs more testing and mainly a proper framework to support it. o Correct and add some conversions from hard-coded functions names to __func__ which were borked or forgotten in if_gem.c rev. 1.42. o Use PCIR_BAR instead of a homegrown macro. o Replace sc_enaddr[6] with sc_enaddr[ETHER_ADDR_LEN]. o In gem_pci_attach() in case attaching fails release the resources in the opposite order they were allocated. o Make gem_reset() static to if_gem.c as it's not needed outside that module. o Remove the GEM_GIGABIT flag and the associated code; GEM_GIGABIT was never set and the associated code was in the wrong place. o Remove sc_mif_config; it was only used to cache the contents of the respective register within gem_attach(). o Remove the #ifdef'ed out NetBSD/OpenBSD code for establishing a suspend hook as it will never be used on FreeBSD. o Also probe Apple Intrepid 2 GMAC and Apple Shasta GMAC, add support for Apple K2 GMAC. Based on OpenBSD. o Add support for Sun GBE/P cards, or in other words actually add support for cards based on GEM to gem(4). This mainly consists of adding support for the TBI of these chips. Along with this the PHY selection code was rewritten to hardcode the PHY number for certain configurations as for example the PHY of the on-board ERI of Blade 1000 shows up twice causing no link as the second incarnation is isolated. These changes were ported from OpenBSD with some additional improvements and modulo some bugs. o Add code to if_gem_pci.c allowing to read the MAC-address from the VPD on systems without Open Firmware. This is an improved version of my variant of the respective code in if_hme_pci.c o Now that gem(4) is MI enable it for all archs. Pointed out by: yongari [1] Suggested by: rwatson [2], yongari [3] Tested on: i386 (GEM), powerpc (GMACs by marcel and yongari), sparc64 (ERI and GEM) Reviewed by: yongari Approved by: re (kensmith)
* - Use the correct expanded name for SCTP (1)brueffer2007-09-251-2/+1
| | | | | | | | - Remove empty section PR: 116496 (1) Submitted by: koitsu Approved by: re (blanket)
* - added in missing \n for my entrytabthorpe2007-09-211-1/+1
| | | | | Submitted by: breueffer@ Approved by: re, miwi (mentor)
* - add my entrytabthorpe2007-09-211-0/+3
| | | | Approved by: re (bmah), clsung/miwi (mentors)
* - Fix a declaration examplegabor2007-09-201-2/+2
| | | | | | | PR: docs/115632 Submitted by: Romain Tartiere <romain@blogreen.org> Approved by: re (bmah) MFC after: 3 days
* Update the table of supported algorithms:brueffer2007-09-191-9/+10
| | | | | | | | | - Group hash functions together and sort - Add CRYPTO_CAMELLIA_CBC (1) PR: 116471 Submitted by: Philip Schulz <phs@deadc0.de> (1) Approved by: re (blanket)
* Bump the document date.thompsa2007-09-161-1/+1
| | | | | Forgotten by: thompsa Approved by: re (bmah)
* Allow additional packet filtering on the physical interface for locallythompsa2007-09-161-1/+10
| | | | | | | | | destined packets, disabled by default. PR: kern/116051 Submitted by: Eygene Ryabinkin Approved by: re (bmah) MFC after: 2 weeks
* Add my ports mentor, his mentor, and their offsprings including me.jkim2007-09-131-0/+12
| | | | | Reviewed by: sobomax, glewis, hq, znerd, demon Approved by: re (bmah)
OpenPOWER on IntegriCloud