summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Revert previous change for now. We traditionally add a new localedelphij2006-02-251-4/+0
| | | | | | | | directory when we have 10+ ports that make use of it, and now we have only 3. This change would come back if the tt/ usage grown up to the level. Knowledge provided by: krion, kris
* Fix hard lockup caused by kbdmux(4) when kbdmux(4), PS/2 keyboardemax2006-02-251-1/+1
| | | | | | | | | | | | | | | | | | (atkbd(4)) and PS/2 mouse (psm(4)) are used together. Turns out that atkbd(4) check_char() method may return "true" while read_char() method returns NOKEY. When this happens kbdmux(4) was simply stuck in the dead loop. Avoid dead loop in kbdmux(4) by breaking out of the loop if read_char() method returns NOKEY. It almost seems like a bug in atkkbd(4), atkbd_check_char() calls kbdc_data_ready(), and, the later will return "true" if there are pending data in either kbd or aux queue. However, because both aux and kbd are on the same controller, I'm not sure if this is a bug or feature. Tested by: markus MFC after: 1 day
* Add tt locale directory, since more and more ports create and use it.delphij2006-02-251-0/+4
|
* Add a missing ohci_waitintr() call that allows polled operation ofiedowse2006-02-251-0/+3
| | | | | | | | bulk transfers to have a chance of working. PR: usb/93720 Submitted by: Nate Nielsen MFC after: 1 week
* Fix ata_reinit so it does things in the right order to prevent panic's.sos2006-02-252-43/+33
| | | | Lock the channel so master/slave setups wont trash during reinit.
* Add definitions of SWIDTH. It fixes the problem that tcsh 6.14ume2006-02-251-0/+46
| | | | | | | | doesn't work correctly with ko_KR.eucKR locale. Tested by: cjh at the CBUG party Obtained from: NetBSD MFC after: 1 week
* Always print a newline char at the end of the line.scottl2006-02-251-1/+2
|
* Role a microrev of the MPI Library in preparation for target mode work.mjacob2006-02-2512-87/+471
| | | | | | Make my portions of the license clearer. Thank Chris Ellsworth for his support in getting a bunch of this done.
* consolidate calculation of capabilities iesam2006-02-251-47/+34
| | | | | Reviewed by: avatar MFC after: 2 weeks
* Add an alias 'unhalted-cycles' denoting cycles where the CPU isjkoshy2006-02-252-0/+6
| | | | not in a halt or sleep state.
* If we specify: mount -u (update), without specifying anrodrigc2006-02-251-11/+7
| | | | | | | | | | | | additional -r (read-only) flag or or -w (read-write) flag, then assume we want, mount -u -w. When doing a mount update, this will implicitly pass a "noro" mount option down to the VFS layer. vfs_mergeopts() in vfs_mount.c will then remove the "ro" mount option if it exists in the mount options for a mounted file system. This means that "mount -u" works the same as "mount -u -w" and will convert a read-only mount to read-write.
* Add frequency-voltage tables for Intel 778, 758, 773, 753, and 733Jcperciva2006-02-251-0/+210
| | | | | | processors. Obtained from: Intel Datasheet 302189-008
* Update text to reflect that:rodrigc2006-02-251-9/+31
| | | | | | | | - mount(8) now calls the nmount(2) system call directly, not mount(2) - specifying a filesystem type with -t will not automatically invoke an external /sbin/mount_XXXX program....this only happens for certain file system types. For all other file system types, nmount(2) is called directly.
* fix a race whereby a tx descriptor might get reused before the hardwaresam2006-02-242-18/+42
| | | | | | | | | | is finished with it; this may only occur when the tx queue is setup as dba-gated but since the fix is cheap apply it to all queues while here make the queue depth signed for use in assertions Reviewed by: apatti MFC after: 2 weeks
* Fix a race condition introduced when redzones were added. Use andeischen2006-02-242-10/+8
| | | | | | atomic operation to return and adjust the stack. Submitted by: luoqi
* Don't to forget to unlock the rwlock on trunk before destroying it.yar2006-02-241-2/+3
| | | | | | This should fix panic on "kldunload if_vlan" while vlanX are still there. Reviewed by: glebius
* Decrease the value of RES_DFLRETRY from 4 to 2.ume2006-02-241-1/+1
| | | | | | | PR: bin/62139 Reported by: Rostislav Krasny <rosti.bsd__at__gmail.com> Obtained from: BIND9 MFC after: 1 week
* - Just query 'as is', if there is a trailing dot in the name.ume2006-02-242-18/+40
| | | | | | | | | | - Don't query 'as is' twice. PR: bin/62139 Reported by: Rostislav Krasny <rosti.bsd__at__gmail.com> Tested by: Rostislav Krasny <rosti.bsd__at__gmail.com> Obtained from: BIND9 (with some modification) MFC after: 1 week
* Revert a minor glitch of revision 1.69keramida2006-02-241-2/+2
| | | | | Submitted by: Andriy Tkachuk <andrit@ukr.net> X-MFC after: RE approval
* Move the hard-coded ETHER_* options to where they belong --yar2006-02-241-7/+9
| | | | | | | | | | | | | inside !if defined(KERNBUILDDIR). Utilize the fact the module will support all frames by default -- it needs no ETHER_* options unless some frames need to be disabled. Fix the comment respectively. Don't forget to create fake opt_ef.h if no ETHER_* are set. MFC after: 3 days
* Trim unnecessary pointer alignment.ariff2006-02-241-1/+1
|
* Replace our local UART_SIGMASK_* with the global SER_MASK_*.marcel2006-02-245-10/+5
|
* When we probe a SAB82532, return BUS_PROBE_GENERIC. This allows puc(4)marcel2006-02-241-1/+3
| | | | | or scc(4) to grab the device by default. In fact, we probably shouldn't even claim the device at all...
* MFp4:marcel2006-02-247-52/+37
| | | | | Stop using our local UART_IPEND_* and instead use the global SER_INT_* as defined in <sys/serial.h>.
* MFp4:marcel2006-02-241-0/+21
| | | | | | | | o Add defines for the 5 interrupt sources typical for serial devices. These defines can be used for more finegrained interrupt handling between drivers that cooperatively handle multiple serial ports. o Add defines for the various bitmasks applicable when all information is passed between drivers as a single integral.
* MFp4:marcel2006-02-241-17/+17
| | | | style(9): <tab> after #define
* MFp4:marcel2006-02-242-2/+2
| | | | | | Return BUS_PROBE_LOW_PRIORITY for a successful probe. This is in preparation of the introduction of scc(4), which is going to handle SCCs in the near future.
* MFp4:marcel2006-02-241-3/+6
| | | | | Add CHAN_A & CHAN_B for channel register offsets. While here, fix a comment.
* Remove dev/uart/uart_if.m from the default MFILES (in kmod.mk) andmarcel2006-02-242-1/+5
| | | | instead define MFILES appropriately for the uart(4) module build.
* - Back out 1.155. I mismerged my ancient local patch. Luckily it wasjkim2006-02-232-36/+46
| | | | | | | | completely noop. - Geometry sanitization for non-interactive mode is moved to correct place. Reported by: Anton Yuzhaninov <citrin at citrin dot ru> Pointyhat: me
* - Use official version strings for LMP and HCI version reporting and addmarkus2006-02-234-7/+42
| | | | | | | | version strings up to Bluetooth 2.0 - Update manufacturer list Approved by: emax MFC after: 3 days
* Eliminate a race condition in timed waits (cv, mutex, and sleeps).deischen2006-02-236-60/+60
| | | | | | MFC Candidate. PR: 93592
* This patch fixes the problem where the current TCP code can not handleqingli2006-02-233-3/+4
| | | | | | | | | | simultaneous open. Both the bug and the patch were verified using the ANVL test suite. PR: kern/74935 Submitted by: qingli (before I became committer) Reviewed by: andre MFC after: 5 days
* Fix the way in which median is calculated. If the data source has evenwkoszek2006-02-232-14/+36
| | | | | | | number of data points, value should be calculated by adding two middle elements and dividing them by 2. Approved by: cognet (mentor)
* Keep the parent device (in this case the channel) around in ata_request,sos2006-02-232-17/+27
| | | | | so we dont panic device removal or failure. Clean up ata_fail_requests to prevent the queue munging to fail.
* Remove some dead code.jhb2006-02-231-3/+1
| | | | | | | Coverity ID: 822 Found by: Coverity Prevent Reviewed by: ariff MFC after: 1 week
* Use the recently added msleep_spin() function to simplify thejhb2006-02-231-56/+41
| | | | | | callout_drain() logic. We no longer need a separate non-spin mutex to do sleep/wakeup with, instead we can now just use the one spin mutex to manage all the callout functionality.
* - Use callout_init_mtx() to initialize toffhandle callout using the fdc'sjhb2006-02-231-9/+5
| | | | | | | | | | | | | | | mutex. - Don't use callout_drain() to stop the toffhandle callout while holding the fdc mutex (this could deadlock) in functions called from softclock (callouts aren't allowed to do voluntary sleeps). Instead, use callout_stop(). Note that since we hold the associated mutex and are now using callout_init_mtx(), callout_stop() is just as effective as callout_drain(). (Though callout_drain() is still needed in detach to make sure softclock isn't contesting on our mutex before we destroy the mutex.) - Remove unused callout 'tohandle' from softc. MFC after: 1 week
* In ata_cmd_allocate() only call ata_pci_allocate once.sos2006-02-231-1/+0
| | | | found by: jhb@
* Fix typojulian2006-02-231-1/+1
|
* Check the return value of copyin() and return an error if it fails.jhb2006-02-231-2/+4
| | | | | | | Coverity ID: 839 Found by: Coverity Prevent MFC after: 1 week Reviewed by: ps, scottl
* Unhook myri10ge from build in preparation for renamegallatin2006-02-231-3/+0
|
* 1. Refine kern_sigtimedwait() to remove redundant code.davidxu2006-02-231-31/+43
| | | | | | | 2. Fix a bug, if thread got a SIGKILL signal, call sigexit() to kill its process. MFC after: 3 days
* Update version numbers in &release.*;.hrs2006-02-233-11/+7
|
* Code cleanup, simply compare with curproc.davidxu2006-02-231-2/+1
|
* - Use vfs_ref/rel to protect a mountpoint from going away while VFS_STATFSjeff2006-02-232-20/+58
| | | | | | | is being called. Be sure to grab the ref before we unlock the vnode to prevent the mount from disappearing. Tested by: kris
* - Release the mount ref once the vnode has been recycled rather than oncejeff2006-02-231-3/+2
| | | | | | | | | the last reference is dropped. I forgot that vnodes can stick around for a very long time until processes discover that they are dead. This means that a vnode reference is not sufficient to keep the mount referenced and even more code will be required to ref mount points. Discovered by: kris
* Move comments to more accurate place.davidxu2006-02-231-4/+4
|
* Fix a sleep queue race for KSE thread.davidxu2006-02-233-53/+25
| | | | Reviewed by: jhb
* cleanup line break formattingsam2006-02-231-95/+95
| | | | MFC after: 1 week
OpenPOWER on IntegriCloud