summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Change default key allocation method to do the right thing forsam2005-07-091-1/+18
| | | | | | | | | legacy parts (i.e. those that have 4 global key slots). We blindly assign unicast keys to key slot 0. Devices that need alternate allocation logic must override this method. Reviewed by: avatar Approved by: re (scottl)
* - Grammar fixesmarkus2005-07-091-12/+12
| | | | | | | - s/spdcontrol/sdpcontrol/ Approved by: re (hrs, rwatson), brueffer MFC after: 3 days
* Repair this:cracauer2005-07-091-0/+1
| | | | | | | | | ext2fs fails to set the device in the stat(2) system call. Subsequently, that makes fts(3) fail, which goes as far as make ls(1) fail (which uses fts) on ext2fs. Approved by: re (Robert Watson <rwatson@FreeBSD.org>)
* sys/dev/hwpmc/hwpmc_{amd,piv,ppro}.c:jkoshy2005-07-096-36/+46
| | | | | | | | | | | | | | | | | | - Update driver interrupt statistics correctly. sys/sys/pmc.h, sys/dev/hwpmc/hwpmc_mod.c: - Fix a bug affecting debug printfs. - Move the 'stalled' flag from being in a bit in the 'pm_flags' field of a 'struct pmc' to a field of its own in the same structure. This flag is updated from the NMI handler and keeping it separate makes it easier to avoid races with other parts of the code. sys/dev/hwpmc/hwpmc_logging.c: - Do arithmetic with 'uintptr_t' types rather that casting to and from 'char *'. Approved by: re (scottl)
* New release notes:hrs2005-07-092-8/+92
| | | | | | | | | | | | | | | | | | | amd64/i386 ELF kernel crash dump, snd_csa(4) suspend/resume support, ste(4) ALTQ support, address family check of routing table added, env(1) -v, -S, and -P options added, libkvm crash dump support improvement: ELF format, >4GB on 32-bit arch, and PAE, $jail_<name>_flags for rc.d/jail added, and new manual pages: central(4), clkbrd(4), creator(4), ebus(4), eeprom(4), fhc(4), machfb(4), ofw.console(4), openfirm(4), openprom(4), rtc(4), and sbus(4). Update release notes: Use &man.ofw.console.4;. Approved by: re (implicitly)
* Have the NMI handler call the C language trap() routine and directlyjkoshy2005-07-091-2/+27
| | | | | | | | | | exit via 'doreti_exit'. Since the NMI interrupt may be taken at any time, including when the processor has masked external interrupts, it is not safe to call ast() as is done for normal interrupts. Approved by: re (scottl)
* Fix a bug in pmclog_read() that causes it to return with a falsejkoshy2005-07-091-2/+15
| | | | | | error when a log record crosses an internal buffer boundary. Approved by: re (scottl)
* Fix a bug that affected on-the-fly gmon.out file generation.jkoshy2005-07-093-12/+9
| | | | Approved by: re (scottl)
* Use m_length (m, NULL) instead of m->m_pkthdr.len.rik2005-07-093-3/+3
| | | | | Problems reported by: strijar at urai dot ru Approved by: re (scottl)
* Lost cx_mpsafenet check.rik2005-07-091-2/+3
| | | | | Pointy hat: me Approved by: re (scottl)
* Lost t_oproc() callback assignment.rik2005-07-091-0/+1
| | | | | Pointyhats: phk (who lost it), me (who didn't notice that) Approved by: re (scottl)
* Lost CX_UNLOCK().rik2005-07-091-0/+4
| | | | | Pointy hat: me Approved by: re (scottl)
* Protect from partially initialized channels.rik2005-07-093-0/+6
| | | | Approved by: re (scottl)
* Regrab dvp only when ISDOTDOT.tanimura2005-07-091-1/+2
| | | | Approved by: re (scottl)
* Space & alignment nits.rik2005-07-093-21/+20
| | | | Approved by: re (scottl)
* Some cleanups and tweaks to some of the atomic.h files in preparation forjhb2005-07-093-253/+234
| | | | | | | | | | | | | | | further changes and fixes in the future: - Use aliases via macros rather than duplicated inlines wherever possible. - Move all the aliases to the bottom of these files and the inline functions to the top. - Add various comments. - On alpha, drop atomic_{load_acq,store_rel}_{8,char,16,short}(). - On i386 and amd64, don't duplicate the extern declarations for functions in the two non-inline cases (KLD_MODULE and compiler doesn't do inlines), instead, consolidate those two cases. - Some whitespace fixes. Approved by: re (scottl)
* Add Giant around linux_getcwd_common() in linux_getcwd().jhb2005-07-091-0/+2
| | | | Approved by: re (scottl)
* Add missing locking to linux_connect() so that it can be marked MP safe:jhb2005-07-091-8/+15
| | | | | | | | | - Conditionally grab Giant around the EISCONN hack at the end based on debug.mpsafenet. - Protect access to so_emuldata via SOCK_LOCK. Reviewed by: rwatson Approved by: re (scottl)
* Document that SOCK_LOCK is used to protect so_emuldata.jhb2005-07-091-1/+1
| | | | Approved by: re (scottl)
* The nsegs parameter to bus_dmamap_load_mbuf_sg is not required togrehan2005-07-091-0/+2
| | | | | | | | | be set to 0 on input. This caused a panic in an an MP test version of the GEM driver from Marius, and from inspection of other PCI drivers, the same problem would happen there. Fix by explicitly setting to 0. Approved by: re
* Fix the build. The SMC_8020BT define doesn't exist yet.scottl2005-07-091-0/+2
| | | | Approved by: re (implicit)
* Add Farrallon EtherMac PC Card to the list of supported cards.imp2005-07-091-4/+11
| | | | | | | | | Fix XJack card description to reflect the actual model that we support (I've never seen a CC-10BT and I've been looking). List the specific chipsets supported. Bump date. Approved by: re (scottl, indirectly due to driver approval)
* Noticed that NetBSD's sm driver has the PSION GOLDCARD listed, so listimp2005-07-091-3/+2
| | | | | | | | | | | that since I can't test it directly. The driver also lists the EM1144 as being supported, but in reality it isn't. The EM1144-T, {XJ,CC}{3288,3336} have the SMC chips in them, but aren't conformant MFC cards, so they need their own driver. Also, it does little harm to list the 8020BT, so remove #if 0. Approved by: re (scottl)
* correct check for high priority wme trafficsam2005-07-081-1/+1
| | | | | | Noticed by: Ralf Assmann Reviewed by: apatti Approved by: re (scottl)
* Sync which ggate changes.pjd2005-07-081-16/+34
| | | | Approved by: re (scottl)
* Reimplement ggatec/ggated applications.pjd2005-07-086-455/+1094
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Change communication protocol to be much more resistant on network problems and to allow for much better performance. Better performance is achieved by creating two connections between ggatec and ggated one for sending the data and one for receiving it. Every connection is handled by separeted thread, so there is no more synchronous data flow (send and wait for response), now one threads sends all requests and another receives the data. Use two threads in ggatec(8): - sendtd, which takes I/O requests from the kernel and sends them to the ggated daemon on the other end; - recvtd, which waits for ggated responses and forwards them to the kernel. Use three threads in ggated(8): - recvtd, which waits for I/O requests and puts them onto incoming queue; - disktd, which takes requests from the incoming queue, does disk operations and puts finished requests onto outgoing queue; - sendtd, which takes finished requests from the outgoing queue and sends responses back to ggatec. Because there were major changes in communication protocol, there is no backward compatibility, from now on, both client and server has to run on 5.x or 6.x (or at least ggated should be from the same FreeBSD version on which ggatec is running). For Gbit networks some buffers need to be increased. I use those settings: kern.ipc.maxsockbuf=16777216 net.inet.tcp.sendspace=8388608 net.inet.tcp.recvspace=8388608 and I use '-S 4194304 -R 4194304' options for both, ggatec and ggated. Approved by: re (scottl)
* Add CANCEL command which allows to remove one request from the queue orpjd2005-07-082-4/+53
| | | | | | | | all requests from the queue if request number is not given. Bump version number. Approved by: re (scottl)
* oops ... forgot to declare sc in my previous commit. unbreak build.damien2005-07-081-0/+1
| | | | Approved by: re (scottl)
* fix allocation of rx dma buffers. buffers must be contiguous.damien2005-07-081-2/+2
| | | | Approved by: re (scottl)
* document ENABLE_WPA_SUPPLICANT_EAPOLsam2005-07-082-1/+19
| | | | Approved by: re (scottl)
* Make sure that all the necessary USB endpoints are found during devicedamien2005-07-082-2/+7
| | | | | | | attachment. Reviewed by: silby (mentor) Approved by: re (scottl)
* ral_init() takes a struct ral_softc as parameter not a struct ifnet.damien2005-07-082-2/+2
| | | | | | | Fixes a panic that occured when setting the interface parameters while the interface was associated. Approved by: re (scottl)
* Use implicit type cast for ->k_lock to fix compilation of ndisrik2005-07-081-3/+3
| | | | | | | | | | | as a part of the GENERIC kernel with INVARIANT* and WITNESS* turned off. (For non GENERIC kernel KTR and MUTEX_PROFILING should be also off). Submitted by: Eygene A. Ryabinkin <rea at rea dot mbslab dot kiae dot ru> Approved by: re (scottl) PR: 81767
* fix another instance of the MORE_DATA bit handling for frames on thesam2005-07-081-2/+1
| | | | | | | power save queue (missed in previous commit) Submitted by: Bruno Randolf Approved by: re (scottl)
* handle RTM_IFINFO events so we terminate when an interface issam2005-07-081-1/+14
| | | | | | | marked down Reviewed by: brooks, avatar Approved by: re (scottl)
* reclaim node reference when ieee80211_encap failssam2005-07-083-4/+13
| | | | | Reviewed by: avatar Approved by: re (scottl)
* update ural idssam2005-07-082-2/+34
| | | | | | Reviewed by: damien Approved by: re (scottl) Obtained from: openbsd
* Regen.jhb2005-07-085-6/+6
| | | | Approved by: re (scottl)
* Mark second instance of lchown() MP safe just like the first.jhb2005-07-081-1/+1
| | | | Approved by: re (scottl)
* Missed one piece of the cluster's quirk. Need to override WARNS becausekensmith2005-07-081-0/+1
| | | | | | | | if _FREEFALL_CONFIG is set gcc bails since pam_sm_setcred() in pam_krb5.c no longer uses any of its parameters. Pointy hat: kensmith Approved by: re (scottl)
* Merge the following from the English version:den2005-07-081-2/+25
| | | | | | | 1.879 -> 1.880 new.sgml Obtained from: The FreeBSD Russian Documentation Project Approved by: re (scottl)
* ALTQify ste(4).mlaier2005-07-082-7/+10
| | | | | Requested and tested by: <nike_d at cytexbg dot com> Approved by: re (scottl)
* This commit was generated by cvs2svn to compensate for changes in r147824,obrien2005-07-071-101/+63
|\ | | | | | | which included commits to RCS files with non-trunk default branches.
| * Fix bogus fmov* SPARC opcodes.obrien2005-07-071-101/+63
| | | | | | | | | | | | | | | | | | (Note this makes the vendor branch not represent Binutils in the vendor's CVS repository at any point in time. Portmgr did not like the state of Binutils on Sparc that represented the point in time the vendor fixed this issue. I'd rather have fixed this on RELENG_6.) Approved by: re
* | Patch the freebsd spec file for PowerPC so that PIC code builds correctly.scottl2005-07-071-0/+6
| | | | | | | | | | | | | | | | This allows FreeBSD/PPC to build and run out of stock CVS sources. This also takes the file off of the vendor branch. Submitted by: kan, grehan Approved by: re, kan
* | Lock Giant around a call to userland_sysctl() in ibcs2_sysi86().jhb2005-07-071-2/+7
| | | | | | | | Approved by: re (scottl)
* | Remove an extra call to read() in ibcs2_read() that can never be reached.jhb2005-07-071-2/+0
| | | | | | | | | | | | (It's already called a few lines earlier.) Approved by: re (scottl)
* | Conditionally acquire Giant around the ISC and Xenix system calls basedjhb2005-07-072-10/+24
| | | | | | | | | | | | | | on the SYF_MPSAFE flag in the wrapper system calls for the ISC and Xenix system call vectors. Approved by: re (scottl)
* | Lock Giant in svr4_add_socket() so that the various svr4_*stat() callsjhb2005-07-071-0/+6
| | | | | | | | | | | | | | can be marked MP safe as this is the only part of them that is not already MP safe. Approved by: re (scottl)
* | Remove an unused syscallarg() macro leftover from this code's origins injhb2005-07-071-2/+0
| | | | | | | | | | | | NetBSD. Approved by: re (scottl)
OpenPOWER on IntegriCloud