aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Hide x86bios stuff in i386/amd64 specific files as atkbdc would getXin LI2009-09-223-5/+15
| | | | | | | these stuff into build. Notes: svn path=/head/; revision=197399
* Build x86bios only for i386/amd64 for now. More work is requiredXin LI2009-09-214-3/+11
| | | | | | | | | | to make these functional on other architectures, and the current code breaks sparc64 and powerpc. Spotted by: tinderbox via des Notes: svn path=/head/; revision=197397
* Improve mxge watchdog routine's ability to reliably reset a failed NIC:Andrew Gallatin2009-09-211-27/+72
| | | | | | | | | | | | | | | | | | - Mark the link as down, so if watchdog reset fails, link watching failover software can notice it - Don't send MXGEFW_CMD_ETHERNET_DOWN if the NIC has been reset, it is not needed, and will fail on a freshly reset NIC. - Ensure the transmit routines aren't attempting to PIO write to doorbells while the NIC is being reset. - Download the correct f/w, rather than using the EEPROM f/w after reset. - Export a count of the number of watchdog resets via sysctl - Zero all f/w stats at reset. This will lead to less confusing diagnostic output when investigating NIC failures. MFC after: 3 days Notes: svn path=/head/; revision=197395
* Correct a section name; specifically, "AUTHOR" should be "AUTHORS". [1]Alan Cox2009-09-211-3/+4
| | | | | | | | | Turn the "AUTHORS" section into a full sentence. Pointed out by: ru [1] Notes: svn path=/head/; revision=197394
* Add FreeBSD 7.2 and 7.3.Alan Cox2009-09-211-0/+2
| | | | | | | Discussed with: ru Notes: svn path=/head/; revision=197393
* - List newsletters VI-2, VI-3 and VI-4 that were already applied.Ruslan Ermilov2009-09-211-2/+18
| | | | | | | - Apply newsletters VI-5 (BO's name change) and VI-6 (VE's name change). Notes: svn path=/head/; revision=197392
* Add support for throttling transmit bandwidth. This is most commonlyAndrew Gallatin2009-09-212-2/+60
| | | | | | | | used to reduce packet loss on high delay (WAN) paths with a slow link. Notes: svn path=/head/; revision=197391
* Remove forward_roundrobin(), it is unused for quite some time.Konstantin Belousov2009-09-212-34/+0
| | | | | | | | Reviewed by: jhb MFC after: 1 week Notes: svn path=/head/; revision=197390
* If CPU happens to be in usermode when a T_RESERVED trap occured,Konstantin Belousov2009-09-212-0/+10
| | | | | | | | | | | | | | then trapsignal is called with ksi.ksi_signo = 0. For debugging kernels, that should end up in panic, for non-debugging kernels behaviour is undefined. Do panic regardeless of execution mode at the moment of trap. Reviewed by: jhb MFC after: 1 month Notes: svn path=/head/; revision=197389
* To be safe, make this module initialize earlier by specifying SI_SUB_CPUXin LI2009-09-211-1/+1
| | | | | | | | | | | instead of SI_SUB_KLD. Note that we don't believe that there is any consumers of x86bios that would be triggered in the early stage of boot, so this is more or less just a safebelt. Submitted by: swell.k at gmail.com Notes: svn path=/head/; revision=197388
* Style(9) fixes.Xin LI2009-09-213-10/+10
| | | | | | | Submitted by: swell.k at gmail.com Notes: svn path=/head/; revision=197387
* Use __FBSDID to embed RCS ID.Xin LI2009-09-212-2/+6
| | | | Notes: svn path=/head/; revision=197386
* Fixed markup (mostly) errors.Ruslan Ermilov2009-09-211-48/+54
| | | | Notes: svn path=/head/; revision=197385
* Allow atkbd to obtain keyboard repeat rate from BIOS on amd64.Xin LI2009-09-212-23/+22
| | | | | | | Submitted by: swell.k at gmail.com Notes: svn path=/head/; revision=197384
* Collapase interrupt supporting functions to a new module, and switch fromXin LI2009-09-2112-357/+659
| | | | | | | | | | | | | x86emu to this new module. This changeset also brings a fix for bugs introduced with the initial x86emu commit, which prevents the user from using some display mode or cause instant reboots during mode switch. Submitted by: paradox <ddkprog yahoo com> Notes: svn path=/head/; revision=197383
* Revert part that should not be in my previous commit.Xin LI2009-09-211-29/+0
| | | | | | | Pointy hat to: delphij Notes: svn path=/head/; revision=197381
* Automatically depend on x86emu when vesa or dpms is being built intoXin LI2009-09-215-10/+39
| | | | | | | | | | kernel. With this change the user no longer need to remember building this option. Submitted by: swell.k at gmail.com Notes: svn path=/head/; revision=197380
* Enable s3pci on amd64 which works on top of VESA, and allowXin LI2009-09-216-1/+9
| | | | | | | | | static building it into kernel on i386 and amd64. Submitted by: swell.k at gmail.com Notes: svn path=/head/; revision=197379
* Disable a check on a disk size because it's too strict. This change isYoshihiro Takahashi2009-09-211-0/+2
| | | | | | | | | | | | to avoid using incorrect geometry. It seems that this is the same problem in g_part_bsd_read()@g_part_bsd.c. Reviewed by: rink MFC after: 3 days Notes: svn path=/head/; revision=197374
* (semiforced commit to add comment missed in last delta)Matt Jacob2009-09-213-2/+1
| | | | | | | | | | | | | Add a maximum response length for FCP RSPNS IUs. Clarify some of the FC option words for setting parameters and try and disable automatic PRLI when in target mode- this should correct some cases of N-port topologies with 23XX cards where we put out an illegal PRLI (in target mode only we're not supposed to put out a PRLI). Notes: svn path=/head/; revision=197373
* Remove file unused in freebsd.Matt Jacob2009-09-214-457/+66
| | | | Notes: svn path=/head/; revision=197372
* Mention that NUL characters are not allowed in sh(1) input.Jilles Tjoelker2009-09-201-0/+4
| | | | | | | | | | | I do not consider this a bug because POSIX permits it and argument strings and environment variables cannot contain '\0' anyway. PR: bin/25542 MFC after: 2 weeks Notes: svn path=/head/; revision=197371
* - Update the list of known-working machines based on feedback for 7.2.Marius Strobl2009-09-201-1/+10
| | | | | | | | | | | - Update the V440 entry regarding added support for the on-board NICs in 8.0. Approved by: blackend MFC after: 3 days Notes: svn path=/head/; revision=197368
* A wrong variable is used when setting up the interfaceQing Li2009-09-201-2/+2
| | | | | | | | | | | | address route, which broke source address selection in some code paths. Submitted by: noted by bz Reviewed by: hrs MFC after: immediately Notes: svn path=/head/; revision=197364
* Update find(1) man page for -L/-delete interaction.Jilles Tjoelker2009-09-201-1/+2
| | | | | | | | | | | | It is a bit unfortunate that the example to delete broken symlinks now uses rm(1), but allowing this with -delete would require fixing fts(3) to not imply FTS_NOCHDIR if FTS_LOGICAL is given (or hacks in the -delete option). PR: bin/90687 MFC after: 2 weeks Notes: svn path=/head/; revision=197363
* IEEE Std 1003.1, 2004 Edition states:Diomidis Spinellis2009-09-204-2/+7
| | | | | | | | | | | | | | | | "The escape sequence '\n' shall match a <newline> embedded in the pattern space." It is unclear whether this also applies to a \n embedded in a character class. Disable the existing handling of \n in a character class following Mac OS X, GNU sed version 4.1.5 with --posix, and SunOS 5.10 /usr/bin/sed. Pointed by: Marius Strobl Obtained from: Mac OS X Notes: svn path=/head/; revision=197362
* Follow POSIX (IEEE Std 1003.1, 2004 Edition) in the implementationDiomidis Spinellis2009-09-203-9/+17
| | | | | | | | | | | | | | of the y (translate) command. "If a backslash character is immediately followed by a backslash character in string1 or string2, the two backslash characters shall be counted as a single literal backslash character" Pointed by: Marius Strobl Obtained from: Mac OS X Notes: svn path=/head/; revision=197361
* Add correct test results.Diomidis Spinellis2009-09-203-0/+42
| | | | Notes: svn path=/head/; revision=197360
* Describe how other systems treat this case.Diomidis Spinellis2009-09-201-1/+5
| | | | Notes: svn path=/head/; revision=197357
* Allow [ to be used as a delimiter.Diomidis Spinellis2009-09-202-1/+10
| | | | | | | | Pointed by: Marius Strobl Obtained from: Apple Notes: svn path=/head/; revision=197356
* The transition to Subversion allows us to rename files withoutDiomidis Spinellis2009-09-20124-9/+7
| | | | | | | | | repo-copy hacks. Remove the test-number prefix from the name of the output files, so that new test cases can be easily added. Notes: svn path=/head/; revision=197352
* Purge namecache in the same place OpenSolaris does.Pawel Jakub Dawidek2009-09-202-6/+3
| | | | Notes: svn path=/head/; revision=197351
* Re-remove the IBM0057 ID used for PS/2 mouse controllers. The asl for theJohn Baldwin2009-09-201-1/+1
| | | | | | | | | | | 61p includes the hotkey device as IBM0068 and the mouse as IBM0057 similar to other systems. Submitted by: marius MFC after: 3 days Notes: svn path=/head/; revision=197350
* Old (a.out) rtld attempts to mmap zero-length region, e.g. when bssKonstantin Belousov2009-09-201-1/+3
| | | | | | | | | | | | | | of the linked object is zero-length. More old code assumes that mmap of zero length returns success. For a.out and pre-8 ELF binaries, allow the mmap of zero length. Reported by: tegge Reviewed by: tegge, alc, jhb MFC after: 3 days Notes: svn path=/head/; revision=197348
* Fix handling of sctp_drain().Michael Tuexen2009-09-201-5/+8
| | | | | | | | Approved by: rrs (mentor) MFC after: 2 month Notes: svn path=/head/; revision=197342
* Fix errnos.Michael Tuexen2009-09-201-6/+12
| | | | | | | | Approved by: rrs(mentor) MFC after: 3 days. Notes: svn path=/head/; revision=197341
* Extract version information from git repositories. Try to find aMax Laier2009-09-191-9/+28
| | | | | | | | | | | | corresponding svn version if this is a git-svn clone'ed repo. This prefers svn version information over git in case a working directory has both .svn and .git directories. MFC after: 3 days X-MFC: not stable/8 before 8.0 Notes: svn path=/head/; revision=197334
* Tell about the full name we opened, not the unit.Matt Jacob2009-09-191-1/+1
| | | | | | | | Obtained from: Sean Bruno MFC after: 1 month Notes: svn path=/head/; revision=197333
* Remember to unlock the peripheral prior to notifying the user. Make someMatt Jacob2009-09-191-15/+70
| | | | | | | | | | | | | allocations M_NOWAIT so that we don't try and sleep with a nested non-sleepable lock. This makes the userland scsi_target begin to function again. Obtained from: Sean Bruno MFC after: 1 month Notes: svn path=/head/; revision=197332
* Add getpagesizes(3). This functions either the number of supported pageAlan Cox2009-09-195-3/+184
| | | | | | | | | | sizes or some number of the sizes themselves. It is functionally compatible with a function by the same name under Solaris. Reviewed by: jhb Notes: svn path=/head/; revision=197331
* Make the keyboard layer Unicode aware.Ed Schouten2009-09-194-15/+28
| | | | | | | | | | | | | | | Just take keyent_t to use an u_int to store the Unicode codepoints. Unfortunately the keymap is now too big to be loaded using an ioctl argument, so change the ioctl to pick a pointer. This change breaks kbdcontrol ABI. It doesn't break X11, because X11 doesn't do anything with syscons keymaps. It just switches the device out of K_XLATE. Obtained from: //depot/user/ed/newcons/... Notes: svn path=/head/; revision=197330
* Use appropriate locking when using interface list.Michael Tuexen2009-09-191-8/+0
| | | | | | | | Approved by: rrs (mentor) MFC after: 1 month. Notes: svn path=/head/; revision=197328
* Fix the disabling of sctp_drain().Michael Tuexen2009-09-191-5/+4
| | | | | | | | Approved by: rrs (mentor) MFC after: 1 month. Notes: svn path=/head/; revision=197327
* Get SCTP working in combination with VIMAGE.Michael Tuexen2009-09-198-46/+93
| | | | | | | | | Contains code from bz. Approved by: rrs (mentor) MFC after: 1 month. Notes: svn path=/head/; revision=197326
* intpm/sb700: force polling mode if configured interrupt is SMIAndriy Gapon2009-09-191-0/+6
| | | | | | | instead of failing to attach Notes: svn path=/head/; revision=197325
* Change cache attribute for VESA frame buffer from UC to write-combining.Jung-uk Kim2009-09-191-1/+2
| | | | | | | This improves scrolling speed for high resolution graphics mode console. Notes: svn path=/head/; revision=197323
* Correct BIOS header sanitizing on pc98.Yoshihiro Takahashi2009-09-191-3/+6
| | | | | | | MFC after: 3 days Notes: svn path=/head/; revision=197322
* When superpages are enabled, add the 2 or 4MB page size to the array ofAlan Cox2009-09-182-0/+10
| | | | | | | | | | supported page sizes. Reviewed by: jhb MFC after: 3 weeks Notes: svn path=/head/; revision=197317
* Add a new sysctl for reporting all of the supported page sizes.Alan Cox2009-09-1810-0/+44
| | | | | | | | Reviewed by: jhb MFC after: 3 weeks Notes: svn path=/head/; revision=197316
* Just use ttydisc_rint_simple() instead of doing it ourselves.Ed Schouten2009-09-181-8/+2
| | | | | | | | | | This code seems to do exactly the same as ttydisc_rint_simple() does nowadays. Just remove it. Obtained from: //depot/user/ed/newcons/sys/dev/syscons/syscons.c Notes: svn path=/head/; revision=197315