summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Remove the struct thread unuseful argument from bufobj interface.attilio2008-10-1023-77/+70
| | | | | | | | | | | | | | | | | | | | | In particular following functions KPI results modified: - bufobj_invalbuf() - bufsync() and BO_SYNC() "virtual method" of the buffer objects set. Main consumers of bufobj functions are affected by this change too and, in particular, functions which changed their KPI are: - vinvalbuf() - g_vfs_close() Due to the KPI breakage, __FreeBSD_version will be bumped in a later commit. As a side note, please consider just temporary the 'curthread' argument passing to VOP_SYNC() (in bufsync()) as it will be axed out ASAP Reviewed by: kib Tested by: Giovanni Trematerra <giovanni dot trematerra at gmail dot com>
* Typo.n_hibma2008-10-101-1/+1
|
* Close, but not eliminate, a race condition. It is one that properlyimp2008-10-101-4/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | designed drivers would never hit, but was exposed in diving into another problem... When expanding the devclass array, free the old memory after updating the pointer to the new memory. For the following single race case, this helps: allocate new memory copy to new memory free old memory <interrupt> read pointer to freed memory update pointer to new memory Now we do allocate new memory copy to new memory update pointer to new memory free old memory Which closes this problem, but doesn't even begin to address the multicpu races, which all should be covered by Giant at the moment, but likely aren't completely. Note: reviewers were ok with this fix, but suggested the use case wasn't one we wanted to encourage. Reviewed by: jhb, scottl.
* Fix content and spelling of comment on _ipfw_insn.len -- a count ofrwatson2008-10-101-1/+1
| | | | | | 32-bit words, not 32-byte words. MFC after: 3 days
* Typo in ifdef.n_hibma2008-10-101-1/+1
| | | | Submitted by: Andrew Thompson
* Add an entry about the split up of usb into usb+*hci modules.n_hibma2008-10-101-0/+10
| | | | Submitted by: Andrew Thompson
* Wrong FBSD version number in HISTORY section.n_hibma2008-10-101-1/+1
| | | | Submitted by: pluknet
* MFp4: Fix a bug in the mips relocation code that prevents shared imagesimp2008-10-101-22/+14
| | | | | | | | | | | | | | | | | | | | | | | | from working. From p4 filelog of the upstream file in p4 //depot/projects/mips2-jnpr/src/libexec/rtld-elf/mips/reloc.c ... #6 change 140737 edit on 2008/04/27 by gonzo@gonzo_jeeves (text+ko) o Looks like handler for R_MIPS_REL32 brought by CS 137942 is broken for tradmips. Code from NetBSD's libexec/ld.elf_so/arch/mips/mips_reloc.c works just fine. ... #3 change 137942 edit on 2008/03/17 by rrs@rrs-mips2-jnpr (text+ko) Any relocation symbol lookup if its 0. It looks like this is the way the compiler indicates you need to look in another shared library. When we hit these as we relocate a object we will do the symbol lookups and setup the relocation table with the right value. Submitted by: rrs@, gonzo@
* Mention the libpmc/hwpmc ABI change introduced in SVN r183725.jkoshy2008-10-101-0/+5
|
* Allow strong symbols to override weak ones for lookups done throughkan2008-10-101-4/+21
| | | | | | | | dlsym with RTLD_NEXT/RTLD_SELF handles. Allow symbols from ld-elf.so to be located this way too. Based on report and original patch from sobomax@.
* ata module additions now nest ata modules one deeper than any prior module.imp2008-10-091-1/+1
| | | | Increase heuristic used to find them by one.
* Say hello to the u3g driver, implementing support for 3G modems.n_hibma2008-10-0910-73/+449
| | | | | | | | | | | | | | | | | | | | | This was located in the ubsa driver, but should be moved into a separate driver: - 3G modems provide multiple serial ports to allow AT commands while the PPP connection is up. - 3G modems do not provide baud rate or other serial port settings. - Huawei cards need specific initialisation. - ubsa is for Belkin adapters, an Linuxy choice for another device like 3G. Speeds achieved here with a weak signal at best is ~40kb/s (UMTS). No spooky STALLED messages as well. Next: Move over all entries for Sierra and Novatel cards once I have found testers, and implemented serial port enumeration for Sierra (or rather have Andrea Guzzo do it). They list all endpoints in 1 iface instead of 4 ifaces. Submitted by: aguzzo@anywi.com MFC after: 3 weeks
* uark/ucom: Minor code cleanup.n_hibma2008-10-094-18/+4
| | | | | umass; Remove duplicated code. ukbd: Fill in the arg parameter on the through call.
* Prefix the static shl function with '__' like its parent function __qdivrem tothompsa2008-10-091-3/+3
| | | | | | | avoid being picked up by the DTrace fbt provider. This is called by __udivdi3() for doing 64bit division on a 32bit arch and may be called from within the dtrace context causing a double fault.
* Add high capacity MMC cards support.mav2008-10-091-5/+17
|
* Obfuscated by other diffs while committing r183728:n_hibma2008-10-091-5/+0
| | | | Remove the files for the HCI interfaces from the usb module.
* o Use seprate routines to decode cid and csd for sd and mmc cards. All theyimp2008-10-091-90/+103
| | | | | | | have in common right now is a memset. This saves a parameter to these routines, as well as a level of indentation. o Make mmc_get_bits a little clearer... It really only works on 128-bit registers right now.
* Add modules for the HCI part of USB. This is convenient when having a UHCIn_hibma2008-10-099-2/+52
| | | | controller in your laptop but inserting a (OHCI-based) Option Cardbus card.
* Avoid failing if the directory already exists (when restarting at customize).n_hibma2008-10-091-1/+1
| | | | MFC after: 2 days
* - Sparsely number enumerations 'pmc_cputype' and 'pmc_event' in order tojkoshy2008-10-093-565/+686
| | | | | | | | | | | reduce ABI disruptions when new cpu types and new PMC events are added in the future. - Support alternate spellings for PMC events. Derive the canonical spelling of an event name from its enumeration name in 'enum pmc_event'. - Provide a way for users to disambiguate between identically named events supported by multiple classes of PMCs in a CPU. - Change libpmc's machine-dependent event specifier parsing code to better support CPUs containing two or more classes of PMC resources.
* This is the roumored ATA modulerisation works, and it needs a little ↵sos2008-10-0962-6838/+8673
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | explanation. If you just config KERNEL as usual there should be no apparent changes, you'll get all chipset support code compiled in. However there is now a way to only compile in code for chipsets needed on a pr vendor basis. ATA now has the following "device" entries: atacore: ATA core functionality, always needed for any ATA setup atacard: CARDBUS support atacbus: PC98 cbus support ataisa: ISA bus support atapci: PCI bus support only generic chipset support. ataahci: AHCI support, also pulled in by some vendor modules. ataacard, ataacerlabs, ataadaptec, ataamd, ataati, atacenatek, atacypress, atacyrix, atahighpoint, ataintel, ataite, atajmicron, atamarvell, atamicron, atanational, atanetcell, atanvidia, atapromise, ataserverworks, atasiliconimage, atasis, atavia; Vendor support, ie atavia for VIA chipsets atadisk: ATA disk driver ataraid: ATA softraid driver atapicd: ATAPI cd/dvd driver atapifd: ATAPI floppy/flashdisk driver atapist: ATAPI tape driver atausb: ATA<>USB bridge atapicam: ATA<>CAM bridge This makes it possible to config a kernel with just VIA chipset support by having the following ATA lines in the kernel config file: device atacore device atapci device atavia And then you need the atadisk, atapicd etc lines in there just as usual. If you use ATA as modules loaded at boot there is few changes except the rename of the "ata" module to "atacore", things looks just as usual. However under atapci you now have a whole bunch of vendor specific drivers, that you can kldload individually depending on you needs. Drivers have the same names as used in the kernel config explained above.
* Add some examples to demostrate gpart(8).delphij2008-10-091-1/+36
| | | | | | | | | | | | | | | --此行及以下内容将会被忽略-- > Description of fields to fill in above: 76 columns --| > PR: If a GNATS PR is affected by the change. > Submitted by: If someone else sent in the change. > Reviewed by: If someone else reviewed your modification. > Approved by: If you needed approval for this commit. > Obtained from: If the change is from a third party. > MFC after: N [day[s]|week[s]|month[s]]. Request a reminder email. > Security: Vulnerability reference (one per line) or description. > Empty fields above will be automatically removed. M gpart.8
* Rework pmc-dependent flag handling.jkoshy2008-10-091-14/+22
|
* Clean out some empty mergeinfo records, presumably by people doing localpeter2008-10-090-0/+0
| | | | | cp/mv operations. The full repo-relative URL should be specified for the source in these cases.
* Only voltage bits should be zero in send_op_cond argument to ignore busy.mav2008-10-081-2/+4
|
* Generic SD Host Controller driver going to be named sdhci.mav2008-10-081-1/+1
|
* Another good day for historical quotes, Oliver Wendell Holmes brought tophk2008-10-081-0/+3
| | | | | | you by Thomas L. Friedman. (http://www.nytimes.com/2008/10/08/opinion/08friedman.html?ref=opinion)
* Remove stale BUGS.mav2008-10-081-3/+1
|
* Fix bit offset in mmc_sd_switch().mav2008-10-081-2/+2
|
* Set of mmc layer improvements:mav2008-10-086-35/+557
| | | | | | | - add MMC support. - add SDHC support. - add 4 and 8 bit bus width support. - add High Speed bus timing support.
* OpenSSH has been upgraded to 5.1p1.hrs2008-10-081-0/+3
|
* These directories have been empty since 2001, and are not present in thedes2008-10-080-0/+0
| | | | | | vendor tree. MFC after: 1 week
* This directory has been empty since 1997.des2008-10-080-0/+0
| | | | MFC after: 1 week
* Quirks for SDS-infrared.com "Hotfind-D" camera.phk2008-10-082-0/+5
| | | | PR: 127943
* Create separate cat directories for en.UTF-8. This, together with r183697,des2008-10-082-0/+41
| | | | | | allows users in en.UTF-8 locales to see non-ascii characters in man pages. MFC after: 1 week
* Whitespace nitdes2008-10-081-1/+1
| | | | MFC after: 1 week
* Enable UTF-8.des2008-10-081-0/+1
| | | | MFC after: 1 week
* Document new NGM_NETFLOW_SETCONFIG control message.mav2008-10-081-3/+31
|
* If the ABI-overriden interpreter was not loaded, do not setkib2008-10-081-1/+2
| | | | | | | | | have_interp to TRUE. This allows the code in image activator to try /libexec/ld-elf.so.1 as interpreter when newinterp is not found to execute. Reviewed by: peter MFC after: 2 weeks (together with r175105)
* Add ability to generate egress netflow instead or in addition to ingress.mav2008-10-083-20/+116
| | | | | | | | | | Use mbuf tagging for accounted packets to not account packets twice when both ingress and egress netflow enabled. To keep compatibility new "setconfig" message added to control new functionality. By default node works as before, doing only ingress accounting without using mbuf tags. Reviewed by: glebius
* Add a note about a bug in how sio manages its softc. This wasimp2008-10-081-0/+15
| | | | | discovered by Dorr H. Clark. I'm not at all sure how to fix it, but wanted to document it at the very least...
* A Wittgenstein quote according to David Ignatiusphk2008-10-081-0/+3
| | | | http://voices.washingtonpost.com/postpartisan/2008/10/the_town_hall_debate_in_praise.html
* Remove stale comment (and XXX saying so) about why we zero the filerwatson2008-10-081-6/+0
| | | | | | | | descriptor pointer in unp_freerights: we can no longer recurse into unp_gc due to unp_gc being invoked in a deferred way, but it's still a good idea. MFC after: 3 days
* Differentiate pr_usrreqs for stream and datagram UNIX domain sockets, andrwatson2008-10-081-4/+25
| | | | | | employ soreceive_dgram for the datagram case. MFC after: 3 months
* Don't mention lib/compat, it has gone long ago. Use ports/misc/compat*delphij2008-10-081-1/+6
| | | | instead.
* Pass bus_get_dma_tag() into the first argument of bus_dma_create_tag()imp2008-10-072-2/+2
| | | | rather than NULL.
* Update udpzerobyte to understand that passing 0 as a length to recv(2)rwatson2008-10-071-5/+26
| | | | | | | | will cause it to return 0, not EAGAIN. Add UNIX domain socket support to udpzerobyte, which suggests this regression test should be moved to the general sockets test area rather than netinet.
* In soreceive_dgram, when a 0-length buffer is passed into recv(2) andrwatson2008-10-071-1/+2
| | | | | | | | | no data is ready, return 0 rather than blocking or returning EAGAIN. This is consistent with the behavior of soreceive_generic (soreceive) in earlier versions of FreeBSD, and restores this behavior for UDP. Discussed with: jhb, sam MFC after: 3 days
* the 3945 firmware license does not require acknowledging the EULA,sam2008-10-072-18/+2
| | | | | | | | remove the sysctl ack requirement Pointed out by: Joerg Sonnenberger Reviewed by: thompsa Approved by: core
* More diff reductions against ixp425/boot2/boot2.c. This time, weimp2008-10-071-0/+87
| | | | | | | | | | | | bring in FIXUP_BOOT_DRV functionality as an #ifdef. This is not enabled at this time, and the md5 remains constant with this change. Apart from the 'accept any partitioning scheme on the device' changes, this was the biggest delta... # and yes, we'll merge these into one source file if we can do that in a # way that makes sense. Obtained from: sys/boot/arm/ixp425/boot2/boot2.c
OpenPOWER on IntegriCloud