summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Minor whitespace cleanup.bz2006-01-041-2/+2
|
* Fix minor sorting issue.joel2006-01-041-1/+1
|
* Remove references to snd_vortex1(4).joel2006-01-043-3/+0
| | | | Approved by: tanimura, ariff
* dd some old gssapi libs.netchild2006-01-041-0/+6
| | | | Requested by: bz
* Fix broken capabilities, causing failure during channel reset.ariff2006-01-041-2/+2
| | | | | | | | | | | Its min/max speed were off by -/+ 1000. Reported by: [1] Ion-Mihai Tetcu <itetcu@people.tecnik93.com> [2] barner MFC after: 1 day [1] http://lists.freebsd.org/mailman/htdig/freebsd-multimedia/2005-December/003189.html [2] http://lists.freebsd.org/mailman/htdig/freebsd-multimedia/2006-January/003422.html
* Add a new leaf to the net.link.generic.ifdata.%d sysctl to retrieveharti2006-01-043-5/+44
| | | | | | | the name and unit number assigned by the driver. This is needed by SNMP to find interfaces after they have been renamed. MFC after: 4 weeks
* - Make sure the cpu_exthigh variable is initialized (page coloring case). [1]netchild2006-01-041-19/+39
| | | | | | | | - Remove a conditional in the AMD cache detection, it's always false. [2] - Don't try to detect a cache if only compiled for i386. Analyzed by: Antoine Brodin <antoine.brodin@laposte.net> [1] Submitted by: Antoine Brodin <antoine.brodin@laposte.net> [2]
* 1. Add SIGEV_THREAD notification for mq_notify.davidxu2006-01-042-198/+343
| | | | | 2. Reuse current timer code and abstract some common code to to support both timer and mqueue.
* Fix the promise modesetting for old chips.sos2006-01-041-4/+2
| | | | Pointy hat to: sos
* Deorbit ttymalloc() in preference for ttyalloc()phk2006-01-042-17/+2
|
* Use ttyalloc() instead of ttymalloc()phk2006-01-043-4/+7
|
* Use ttyalloc() instead of ttymalloc()phk2006-01-041-2/+2
|
* Use ttyalloc() instead of ttymalloc()phk2006-01-041-1/+1
|
* Use ttyalloc() instead of ttymalloc()phk2006-01-041-5/+2
|
* Use MTX_SYSINIT to set up the tty list mutex.phk2006-01-041-6/+1
|
* Fix promise probe printing.sos2006-01-041-3/+3
|
* Fix style bug.dds2006-01-042-4/+4
| | | | Prompted by: bde
* Replace tv_usec normalization with the return of EINVAL.dds2006-01-042-48/+12
| | | | | | | This addresses two objections to the previous behavior, and unbreaks the alpha tinderbox build. TODO: update the utimes(2) man page.
* Shuffle some definitions so that this can be included from userland.scottl2006-01-031-5/+11
|
* Add some more data structures and definitions for communicating with thescottl2006-01-031-1/+72
| | | | ServeRAID firmware.
* Normalize the tv_usec part of the utimes(2) arguments to ensuredds2006-01-032-6/+48
| | | | | | | | | | | that a file's atime and mtime are only set to correct fractional second values (0-999999000ns with the current interface). Prior to this change users could create files with values outside that range. Moreover, on 32-bit machines tv_usec offsets larger than 4.3s would result in an unnormalized AND wrong timestamp value, due to overflow. MFC after: 1 week
* Don't use threads when there's no real reason to.des2006-01-032-158/+142
| | | | MFC after: 2 weeks
* Fix a couple of issues with the ibcs2 module event handler. First, returnjhb2006-01-031-1/+4
| | | | | | | | | | | | success instead of EOPNOTSUPP when being loaded. Secondly, if there are no ibcs2 processes running when a MOD_UNLOAD request is made, break out to return success instead of falling through into the default case which returns EOPNOTSUPP. With these fixes, I can now kldload and subsequently kldunload the ibcs2 module. PR: kern/82026 (and several duplicates) Reported by: lots of folks MFC after: 1 week
* Correctly check the filter length. I committed the wrong version.jkim2006-01-031-1/+6
| | | | Pointy hat to me.
* - Explicitly validate an empty filter to match bpf_filter() comment[1].jkim2006-01-033-1/+9
| | | | | | - Do not use BPF JIT compiler for an empty filter. [1] Pointed out by: darrenr
* Release the pci_link acpi serial lock if a link device has no actual links.jhb2006-01-031-1/+3
| | | | MFC after: 3 days
* This signal handling code is worse than a no-op. If abrian2006-01-031-6/+1
| | | | | | | | | | signal is received during the msleep, the msleep is retried indefinitely as it just keeps returning ERESTART because of the pending signal. Instead, just don't PCATCH - the signal can wait. Sponsored by: Sophos/ActiveState
* - Don't list sleep() in the NAME section as we haven't had a sleep()jhb2006-01-032-9/+41
| | | | | | | | | function in years. - Change the 'ident' paramters to 'wchan' to match <sys/systm.h>. - Use 'otherwise' in place of 'else' in one place so that this reads like English rather than C. - Document the new msleep_spin() function. - Add history notes for msleep() and msleep_spin().
* For the ``#ifdef NOTYET'' code that allows calling non-async-safebrian2006-01-032-2/+2
| | | | | | | | | | functions in the child after a fork() from a threaded process, use __sys_setprocmask() rather than setprocmask() to keep our signal handling sane. Without this fix, signals are essentially ignored in said child and things such as protection violations result in an endless busy loop. Reviewed by: deischen
* Back out VFS_LOCK_GIANT.9:1.4, due to losing a race in change/updaterwatson2006-01-031-1/+0
| | | | | | | against revision 1.3. No need to include mount.h twice, once will be quite enough. Pointed out by: simon
* Remove in-progress wait code to sync with libpthread's behavior.davidxu2006-01-031-30/+8
|
* When returning EIO from DEVFSIO_RADD ioctl, drop the exclusive rulerwatson2006-01-031-2/+4
| | | | | | | lock. Otherwise the system comes to a rather sudden and grinding halt. MFC after: 1 week
* Fix the other su bug reintroduced two commits ago, namelybrian2006-01-031-1/+14
| | | | | | | | | | | | | $ su % kill -STOP $$ where su is executing (t)csh. csh's job handling is a little more special than that of (a)sh, bash and even zsh and blows up a little more spectacularly. This modification restores the original mucking about with the tty pgrp, but is careful to only do it when su (or su's child) is the foreground process. While I'm here, fix a STDERR_FILENO spelling as suggested by bde.
* - Tx side bus_dmamap_load_mbuf_sg(9) support. This reduces bookkeepingyongari2006-01-032-168/+157
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | requiried to keep consistent softc state before/after callback function invocation and supposed to be sligntly faster than previous one as it wouldn't incur callback overhead. With this change callback function was gone. - Decrease TI_MAXTXSEGS to 32 from 128. It seems that most mbuf chain length is less than 32 and it would be re-packed with m_defrag(9) if its chain length is larger than TI_MAXTXSEGS. This would protect ti(4) against possible kernel stack overflow when txsegs[] is put on stack. Alternatively, we can embed the txsegs[] into softc. However, that would waste memory and make Tx/Rx speration hard when we want to sperate Tx/Rx handlers to optimize locking. - Fix dma map tracking used in Tx path. Previously it used the dma map of the last mbuf chain in ti_txeof() which was incorrect as ti(4) used dma map of the first mbuf chain when it loads a mbuf chain with bus_dmamap_load_mbuf(9). Correct the bug by introducing queues that keep track of active/inactive dma maps/mbuf chain. - Use ti_txcnt to check whether driver need to set watchdog timer instead of blidnly clearing the timer in ti_txeof(). - Remove the 3rd arg. of ti_encap(). Since ti(4) now caches the last descriptor index(ti_tx_saved_prodidx) used in Tx there is no need to pass it as a fuction arg. - Change data type of producer/consumer index to int from u_int16_t in order to remove implicit type conversions in Tx/Rx handlers. - Check interface queue before getting a mbuf chain to reduce locking overhead. - Check number of available Tx descriptores to be 16 or higher in ti_start(). This wouldn't protect Tx descriptor shortage but it would reduce number of bus_dmamap_unload(9) calls in ti_encap() when we are about to running out of Tx descriptors. - Command NIC to send packets ony when the driver really has packets enqueued. Previously it always set TI_MB_SENDPROD_IDX which would command NIC to DMA Tx descriptors into NIC local memory regardless of Tx descriptor changes. Reviewed by: scottl
* Use the child to allocate the resource rather than bridge, since we'reimp2006-01-031-41/+6
| | | | | | | | | | allocating a resource that's in the card itself. Remove more now-redundant resource_list_add, and now-redunant code that lives in the pci layer. # This fixes the atheros card that I have which had its CIS in one of # the BARs. Don't know yet if this fixes the amd64 issues reported.
* Minor style(9) hacking, plus use a macro in place of (struct resource *)~0ULimp2006-01-031-6/+7
| | | | (what the heck does that mean?).
* Fix a brain-o in the last commit, the conditional was always false.thompsa2006-01-021-1/+1
|
* Reorganise bridge_rtupdate slightly to reduce duplication.thompsa2006-01-021-3/+2
|
* Reset the route expiry time on each update rather than always letting them getthompsa2006-01-021-4/+3
| | | | GC'd and recreated.
* It is better to use time_uptime here since it is monotonic.thompsa2006-01-021-5/+5
| | | | Pointed out by: glebius
* Revert the previous change - the lib32 build should work now.dfr2006-01-021-2/+2
|
* enable "aggressive mode" only when operating in ap or station mode; insam2006-01-021-1/+1
| | | | | | | | particular this fixes use of wme in adhoc demo mode, it wasn't possible to set the txop limit because the aggressive mode logic would override Reviewed by: apatti MFC after: 2 weeks
* update erp information element in the beacon frame to reflectsam2006-01-024-4/+21
| | | | | | | | changes in the bss Reviewed by: avatar Obtained from: atheros MFC after: 2 weeks
* Add EXTDOCDIR and EXTPORTSDIR.nyan2006-01-021-0/+12
| | | | MFC after: 1 week
* Add EXTPORTSDIR like EXTSRCDIR and EXTDOCDIR.nyan2006-01-021-1/+11
| | | | | | PR: misc/83287 Submitted by: Gabor Kovesdan MFC after: 1 week
* Fix the amd64 (and presumably ia64) lib32 build by ensuring that thedfr2006-01-021-1/+2
| | | | | | | | | heimdal GSS-API mechanism uses its own version of gssapi.h, including all the implementation-dependant pollution contained therein. This moves the file off the vendor branch, sadly. Submitted by: bz
* Temporarily disable the kerberos5 lib32 build while I try to fix itdfr2006-01-021-2/+2
| | | | properly.
* Minor whitespace cleanup.thompsa2006-01-022-19/+18
|
* Handle the case (that I just broke) where the following hangs:brian2006-01-021-1/+3
| | | | | | | $ su # kill -STOP $$ Pointed out by: David Xu <davidxu@freebsd.org>
* Read time_second directly rather than calling getmicrotime().thompsa2006-01-021-13/+5
| | | | Obtained from: DragonflyBSD
OpenPOWER on IntegriCloud