aboutsummaryrefslogtreecommitdiff
path: root/sys
Commit message (Collapse)AuthorAgeFilesLines
* kernel clean up to make the sun4v kernel buildKip Macy2006-10-0914-27/+199
| | | | | | | | Reviewed by: jmg Approved by: rwatson (mentor) Notes: svn path=/head/; revision=163146
* add sun4v support to the sparc64 boot loaderKip Macy2006-10-095-10/+1109
| | | | | | | | | Approved by: rwatson (mentor) Reviewed by: jmg Tested by: kris, dwhite, and jmg Notes: svn path=/head/; revision=163145
* Use LIST_FOREACH_SAFE instead of a hand rolled version.Andrew Thompson2006-10-091-8/+4
| | | | Notes: svn path=/head/; revision=163142
* Change vnode_pager_generic_getpages() so that it does not panic if theAlan Cox2006-10-081-2/+13
| | | | | | | | | | | given file is sparse. Instead, it zeroes the requested page. Reviewed by: tegge PR: kern/98116 MFC after: 3 days Notes: svn path=/head/; revision=163140
* Added few more pci ids for Intel, ATI, NVidia, VIA and SiS.Ariff Abdullah2006-10-081-2/+30
| | | | Notes: svn path=/head/; revision=163136
* Added some aliases:Bruce Evans2006-10-081-0/+3
| | | | | | | | | | | | | | | | - `b' is now an official alias for `break'. It used to be an unofficial alias, but this was broken by adding the `bt' alias for `trace'. - `t' is now an official alias for `trace'. It used to be an unofficial alias, but this was broken by adding the `thread' command. - `registers' is now an alias for `show registers'. This is a hack to break the unofficial `r' alias for `reset'. `r' really means `registers' in some debuggers, so I sometimes type it accidentally and am annoyed when it resets the system. A short command shouldn't have such a large effect. Now at least `res' must be typed to disambiguate `reset'. Notes: svn path=/head/; revision=163135
* Fixed formatting of printing of command tables. WIth the default maxBruce Evans2006-10-084-6/+6
| | | | | | | | | | | | | | | | | | output width of 79, only 6 columns of width 12 each fit, but 7 columns were printed. The fix is to pass the width of the next output to db_end_line() and not assume there that this width is always 1. Related unfixed bugs: - 1 character is wasted for a space after the last column - suppression of trailing spaces used to limit the misformatting, but seems to have been lost - in db_examine(), the width of the next output is not know and is still assumed to be 1. Notes: svn path=/head/; revision=163134
* Remove unnecessary test case. (As written, that branch will neverAlexander Leidinger2006-10-081-2/+0
| | | | | | | | | | | be followed.) Submitted by: ryanb Found with: Coverity Prevent CID: 239860 Notes: svn path=/head/; revision=163133
* - change if (cond) panic() to KASSERT.Alexander Leidinger2006-10-081-3/+4
| | | | | | | | | | | - Dont forget to free em in a case of error. Suggested by: ssouhlal Submitted by: rdivacky Tested with: LTP Notes: svn path=/head/; revision=163132
* - Replace homegrown check for FIFO with S_ISFIFO. [1]Alexander Leidinger2006-10-081-1/+7
| | | | | | | | | | | - Check the status of the options before messing with it. Inspired by: NetBSD [1] Submitted by: rdivacky Tested with: LTP Notes: svn path=/head/; revision=163131
* Implement /proc/sys/kernel/pid_max.Alexander Leidinger2006-10-081-0/+19
| | | | | | | | Submitted by: rdivacky Tested with: LTP Notes: svn path=/head/; revision=163129
* Various mdoc and grammar fixes.Paolo Pisati2006-10-081-279/+282
| | | | | | | | Approved by: glebius Reviewed by: glebius, ru Notes: svn path=/head/; revision=163127
* Sort libalias files.Paolo Pisati2006-10-081-2/+2
| | | | | | | | Approved by: glebius Reviewed by: glebius, ru Notes: svn path=/head/; revision=163126
* Add missing PCI ID for the acer m5288Søren Schmidt2006-10-081-0/+1
| | | | Notes: svn path=/head/; revision=163124
* Add a USB umass(4) quirk for Panasonic KXL-840AN CD-R drive.Florent Thoumie2006-10-072-0/+5
| | | | | | | | | PR: usb/81073 Submitted by: James E. Flemer <jflemer@alum.rpi.edu> MFC after: 3 days Notes: svn path=/head/; revision=163105
* Add a USB quirk for CMOTECH CDMA USB modem.Florent Thoumie2006-10-072-0/+5
| | | | | | | | | PR: usb/97948 Submitted by: Alexei Volkov <kot@kotzone.ru> MFC after: 3 days Notes: svn path=/head/; revision=163104
* Add a USB quirk for Motorola A41x/V32x USB phones.Florent Thoumie2006-10-072-0/+3
| | | | | | | | | PR: usb/97512 Submitted by: Mark Diekhans <markd@kermodei.com> MFC after: 3 days Notes: svn path=/head/; revision=163103
* Add a SCSI da(4) quirk for Rekam USB Camera.Florent Thoumie2006-10-071-0/+8
| | | | | | | | | PR: usb/98713 Submitted by: Alex <goo@t72.ru> MFC after: 3 days Notes: svn path=/head/; revision=163101
* Add SCSI da(4) quirk for the iRiver H10.Florent Thoumie2006-10-071-0/+8
| | | | | | | | | PR: usb/102547 Submitted by: Sven Esbjerg <freebsd-pr@xbsd.net> MFC after: 3 days Notes: svn path=/head/; revision=163097
* Add support for Novatech NV902 wireless NIC in ural(4).Florent Thoumie2006-10-072-0/+5
| | | | | | | | | PR: usb/102852 Submitted by: Jonathan Fosburgh <jonathan@fosburgh.org> MFC after: 3 days Notes: svn path=/head/; revision=163096
* Add support for Epson Stylus CX4200 in uscanner(4).Florent Thoumie2006-10-072-0/+2
| | | | | | | | | PR: usb/102851 Submitted by: Jonathan Fosburgh <jonathan@fosburgh.org> MFC after: 3 days Notes: svn path=/head/; revision=163095
* Add support for Psion Gold Port Ethernet USB NIC.Florent Thoumie2006-10-072-0/+4
| | | | | | | | | PR: usb/102296 Submitted by: Volker <volker@vwsoft.com> MFC after: 3 days Notes: svn path=/head/; revision=163094
* Add support for Netgear FA101 ethernet USB NIC.Florent Thoumie2006-10-072-0/+2
| | | | | | | | | PR: usb/102286 Submitted by: Volker <volker@vwsoft.com> MFC after: 3 days Notes: svn path=/head/; revision=163093
* Add a quirk for the Belkin FC6550-AVR UPS.Florent Thoumie2006-10-072-0/+3
| | | | | | | | | PR: usb/102260 Submitted by: David Grochowski <grocho98@students.rowan.edu> MFC after: 3 days Notes: svn path=/head/; revision=163092
* Add support for Familiar Linux powered iPaq handhelds to cdce(4).Florent Thoumie2006-10-072-0/+2
| | | | | | | | | PR: usb/103865 Submitted by: Alexey Roslyakov <internetworking@mail.ru> MFC after: 3 days Notes: svn path=/head/; revision=163091
* Add quirk for Logitech iFeel MouseMan USB mouse.Florent Thoumie2006-10-072-1/+3
| | | | | | | | | PR: usb/101066 Submitted by: Heiko Przybyl <zuxez@uni.de> MFC after: 3 days Notes: svn path=/head/; revision=163087
* - Add support for Epson USB Scanners (3590 [1] and 4990 [2]).Florent Thoumie2006-10-072-0/+4
| | | | | | | | | | | | - Add entries in the uscanner.4 man page (along with missing 3500). PR: usb/100957 [1], usb/100992 [2] Submitted by: Jim Teresco <terescoj@teresco.org> [1], Walter C. Pelissero <walter.pelissero@iesy.net> [2] MFC after: 3 days Notes: svn path=/head/; revision=163084
* - Update URL of Intel documentationPav Lucistnik2006-10-071-1/+1
| | | | | | | | Submitted by: Rob <spamrefuse@yahoo.com> on freebsd-doc MFC after: 3 days Notes: svn path=/head/; revision=163070
* Set scope on MC address so IPv6 carp advertisement will not get droppedBjoern A. Zeeb2006-10-072-2/+18
| | | | | | | | | | | | | | in ip6_output. In case this fails handle the error directly and log it[1]. In addition permit CARP over v6 in ip_fw2. PR: kern/98622 Similar patch by: suz Discussed with: glebius [1] Tested by: Paul.Dekkers surfnet.nl, Philippe.Pegon crc.u-strasbg.fr MFC after: 3 days Notes: svn path=/head/; revision=163069
* fix fxp so that it will reset the link when you change the speed... ThisJohn-Mark Gurney2006-10-061-0/+5
| | | | | | | | | | | | | | will fix a problem where you boot w/ the default of autoselect, but then set the speed to 100/full, the switch will keep the autoselect/100/full negotiation... This will continue to work till someone resets the switch or unplugs the cable resulting in the switch failing to autoneg and falling back to 100/half, causing a hard to track down duplex mismatch.. Submitted by: nCircle Network Security, Inc. MFC after: 1 week Notes: svn path=/head/; revision=163061
* Include freebsd32_signal.h now that signal-related definitions areMarcel Moolenaar2006-10-061-0/+1
| | | | | | | | | moved there. Found by: ia64 tinderbox. Notes: svn path=/head/; revision=163058
* - Fix wrong id for ALC882, add ALC883 id.Ariff Abdullah2006-10-062-281/+484
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Add support for the Conexant Waikiki/CX20551-22, found in most Toshiba P100 series laptops. Despite of growing urban legend of "unsupported Conexant", this codec is fully supported in this driver. Note: Toshiba P100 has broken (acpi) BIOS, thus rendering its soundchip useless. Please disable ACPI, or get BIOS updates (if any). Found/tested by: Vulpes Velox <v.velox@vvelox.net> URL: http://lists.freebsd.org/pipermail/freebsd-multimedia/2006-September/004896.html - Parser cleanups to handle possible oss/mixer collision. Found after parsing Conexant Waikiki nodes. - Increase resilient against resource failure during attach/detach. - Implement simple config through hint.pcm.<unit>.config. Supported options: gpio0 (default on Acer), gpio1, gpio2, softpcmvol, fixedrate (default), forcestereo (default) * Option prefixed with "no" (such as "nofixedrate") will do the opposite. * Options can be separated using space " " or comma ",". * The "no" option will take precedence over anything else. Example: hint.pcm.0.config="gpio2,nofixedrate,noforcestereo,nogpio0,softpcmvol" hint.pcm.0.config="softpcmvol noforcestereo" Notes: svn path=/head/; revision=163057
* Actually make bounds checking for PCIOCREAD and PCIOCWRITE work.Ruslan Ermilov2006-10-061-6/+8
| | | | Notes: svn path=/head/; revision=163055
* Added the GEOM_CACHE option.Ruslan Ermilov2006-10-063-0/+3
| | | | | | | Reminded by: pjd Notes: svn path=/head/; revision=163050
* A GEOM cache can speed up read performance by sending fixed sizeRuslan Ermilov2006-10-064-0/+1192
| | | | | | | | | | | | | read requests to its consumer. It has been developed to address the problem of a horrible read performance of a 64k blocksize FS residing on a RAID3 array with 8 data components, where a single disk component would only get 8k read requests, thus effectively killing disk performance under high load. Documentation will be provided later. I'd like to thank Vsevolod Lobko for his bright ideas, and Pawel Jakub Dawidek for helping me fix the nasty bug. Notes: svn path=/head/; revision=163048
* Regenerate.David Xu2006-10-064-6/+16
| | | | Notes: svn path=/head/; revision=163047
* Implement 32bit umtx_lock and umtx_unlock system calls, these two systemDavid Xu2006-10-062-2/+16
| | | | | | | | | | calls are not used by libthr in RELENG_6 and HEAD, it is only used by the libthr in RELENG-5, the _umtx_op system call can do more incremental dirty works than these two system calls without having to introduce new system calls or throw away old system calls when things are going on. Notes: svn path=/head/; revision=163046
* - Remove SCHED_ULE from GENERIC to better avoid foot-shooting bySimon L. B. Nielsen2006-10-058-8/+2
| | | | | | | | | | | | | | unsuspecting users. - Add a comment in NOTES about experimental status of SCHED_ULE. - Make warning about experimental status in sched_ule(4) a bit stronger. Suggested and reviewed by: dougb Discussed on: developers MFC after: 3 days Notes: svn path=/head/; revision=163041
* The IPMI spec is ambiguous (or rather, it contradicts itself) about whetherJohn Baldwin2006-10-051-4/+4
| | | | | | | | | | | | | | or not the OS has to wait for RX_RDY or TX_RDY to be set before the OS sets the control code in the control/status register. Looking at the interface design, it seems that RX_RDY and TX_RDY are probably there to protect access to the data register and have nothing to do with the control/status register. Nevertheless, try to take what I think is the more conservative approach and always wait for the appropriate [TR]X_RDY flag to be set before writing any of the WR_NEXT, WR_END, RD_START, or RD_NEXT control codes to the control/status register. Notes: svn path=/head/; revision=163035
* Add detailed debugging printf's for SMIC under SMIC_DEBUG.John Baldwin2006-10-051-2/+50
| | | | Notes: svn path=/head/; revision=163034
* Oops, don't toss the last character read during an SMIC transaction withJohn Baldwin2006-10-051-2/+0
| | | | | | | | | at least 1 data byte beyond the completion code. Tested by: Terry Kennedy <terry at tmk dot com> Notes: svn path=/head/; revision=163033
* - Fix a couple of improper uses of leal in the previous space savingJohn Baldwin2006-10-051-5/+7
| | | | | | | | | | | | | | | | | | commits. For some reason I thought the scale factor was a shift count rather than the multiplicand (that is, I thought leal (%eax,%edx,4) was going to generate %eax + %edx << 4 rather than %eax + %edx * 4). What I need is to multiply by 16 to convert a real-mode (seg, offset) tuple into a flat address. However, the max multiplicand for scaled/index addressing on i386 is 8, so go back to using a shl and an add. - Convert two more inter-register mov instructions where we don't need to preserve the source register to xchg instructions to keep our space savings. Tested by: Ian FREISLICH if at hetzner.co.za MFC after: 1 week Notes: svn path=/head/; revision=163032
* Workaround bad locking design:Oleg Bulyzhin2006-10-051-3/+9
| | | | | | | | | | | | | do not try to lock/unlock destroyed/non-existsing mutex. PR: kern/103569 Reviewed by: guido Approved by: glebius (mentor) Silence from: darrenr MFC: 2 week Notes: svn path=/head/; revision=163027
* o Add Adaptec ServeRAID 7x IDs. IDs taken from Linux.Maxim Konovalov2006-10-052-2/+8
| | | | | | | | | PR: kern/90012 Submitted by: Andrey V. Elsukov MFC after: 1 month Notes: svn path=/head/; revision=163024
* placate Grim Reaper with sun4v supportKip Macy2006-10-05178-0/+37469
| | | | Notes: svn path=/head/; revision=163022
* Catch up with recent clock modifications:Peter Grehan2006-10-052-2/+2
| | | | | | | | - include <sys/clock.h> for inittodr prototype - remove now-conflicting SECDAY definition that is in <sys/clock.h> Notes: svn path=/head/; revision=163021
* Regenerate.David Xu2006-10-054-8/+23
| | | | Notes: svn path=/head/; revision=163020
* Oops, add the missing file.David Xu2006-10-051-0/+75
| | | | Notes: svn path=/head/; revision=163019
* Move some declaration of 32-bit signal structures into fileDavid Xu2006-10-058-80/+105
| | | | | | | freebsd32-signal.h, implement sigtimedwait and sigwaitinfo system calls. Notes: svn path=/head/; revision=163018
* PR:John Birrell2006-10-049-360/+562
| | | | | | | | | | | | | | | | | Submitted by: Reviewed by: Approved by: Obtained from: MFC after: Security: Move the relocation definitions to the common elf header so that DTrace can use them on one architecture targeted to a different one. Add the additional ELF types defines in Sun's "Linker and Libraries" manual. Notes: svn path=/head/; revision=163016