summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Forced commit to note that this file has been repo-copiedgrehan2005-11-080-0/+0
| | | | from pmap.c
* Add utility function to propagate mount errors as text string messages.rodrigc2005-11-082-0/+22
| | | | Discussed with: phk
* Add #nclude <dev/pci/pcireg.h> to pick up definitions for PCIR_BAR androdrigc2005-11-081-0/+1
| | | | PCIR_SUBVEND_0.
* Portability: Use some autoconf magic to include thekientzle2005-11-084-0/+28
| | | | | | | correct headers for major()/minor()/makedev() on various platforms. Thanks to: Darin Broady
* Use PCIR_xxx constants for PCI config space header registers rather thanjhb2005-11-071-3/+3
| | | | magic numbers.
* *sigh* Revert stuff that wasn't supposed to be committed. Thejhb2005-11-072-4/+3
| | | | | | | | acpi_resource change was a minor nit offered as an early candidate for the recent ACPICA import problem and the acpi.c change is one I need to test still that makes the ordered probing of system devices actually work as advertised (probe devices in order based on the type of device rather than in the order we encounter them in the device tree).
* Work around at least one busted BIOS. If we get a source index in a _PRTjhb2005-11-073-4/+16
| | | | | | | | | | entry that is not zero, assume that it is really a hard-wired IRQ (commonly used for APIC routing) and not a source index. In practice, we've only ever seen source indices of 0 for legitimate non-hard-wired _PRT entries. Reviewed by: njl Tested by: Alex Lyashkov shadow at psoft dot net MFC after: 2 weeks
* Fix malloc size (visible on amd64, with "kldconfig -r").ru2005-11-071-1/+1
|
* Minor comment tweak to prevent gcc from being upset about the substringrwatson2005-11-071-1/+1
| | | | /* appearing in a comment.
* Slightly reorganize to reduce duplicated code.delphij2005-11-071-2/+1
| | | | Reviewed by: rwatson
* Add some rationale about when to bump and not bump the config version.peter2005-11-071-3/+37
| | | | | | | | | | | | | Clarify that it is not like the shlib versions, and not like param.h's __FreeBSD_version/osreldate either. When config(8) was actively changing a while back, the interface between config and the build system (eg: /sys/conf/files.* and Makefile.*) was changing rapidly. configvers is a version number of that interface. User specified config files do not have a version number. The decision about whether a user supplied config file is syntactically valid or not belongs to the parser and sanity checks, not an arbitary number.
* Change the definition for EXT_NDIS to EXT_NET_DRV. Since the latestwpaul2005-11-071-1/+1
| | | | | mbuf code changes, MEXTADD() can be used to add an external buffer with arbitrary type, but mb_ext_free() won't let you free it.
* Add tests for -t option with short tty name - pkill(1) should accept bothpjd2005-11-072-6/+30
| | | | (eg. "ttyv0" and "v0").
* Finish the removal of threads support in ../config.mk,v 1.15.ru2005-11-077-20/+2
|
* Require DESTDIR to be set when installing for a different architecture.ru2005-11-071-0/+12
|
* Add sigqueue test code.davidxu2005-11-073-0/+62
|
* Eliminate tinderbox errors.rodrigc2005-11-071-3/+5
|
* Fix recording device selection based on ALS4000 datasheet.ariff2005-11-071-21/+10
| | | | | | - http://www.alsa-project.org/alsa/ftp/manuals/avance_logic/ALS4000a.PDF Submitted by: Watanabe Kazuhiro <CQG00620@nifty.ne.jp>
* Fix kernel panic caused by double mss_unlock().ariff2005-11-071-1/+1
| | | | Noticed by: Watanabe Kazuhiro <CQG00620@nifty.ne.jp>
* Remove unecessary include file. machine/rpb.h is very alpha specificimp2005-11-071-1/+0
| | | | and is not needed for this font, which isn't alpha speciifc.
* Finally (!?) get to the bottom of the mysterious G3 boot-time panics.grehan2005-11-071-1/+1
| | | | | | | | | | | | | After a number of tests using nop's to change the alignment, it was confirmed that the mtibat instructions should be cache-aligned. FreeScale app note AN2540 indicates that the isync before and after the mtdbat is the right thing to do, but sync/isync isn't required before the mtibat so it has been removed. Fix by using a ".balign 32" to pull the code in question to the correct alignment. MFC after: 3 days
* Portability: timegm() isn't standard, so check for timegm() inkientzle2005-11-063-3/+44
| | | | | | the configure script and substitute mktime() when necessary. Thanks to: Darin Broady
* Edit pathnames for -x but not for -t. Otherwise, people get confusedkientzle2005-11-061-1/+1
| | | | | | | | when list the archive contents, then try to extract selected files (file selection always works against unedited pathnames). With this change, -t always shows the pathnames as they appear in the archive. Thanks to: Robert Watson
* Refactor the PCI probe code a bit.scottl2005-11-061-49/+45
|
* Be more consistent with the rest of the manual page.pjd2005-11-061-2/+2
|
* - Do not raise IFF_DRV_OACTIVE flag in vlan_start, because thisglebius2005-11-061-2/+8
| | | | | | | can lead to stalled interface - Explain this fact in a comment. Reviewed by: rwatson, thompsa, yar
* The latest version of the Intel 2200BG/2915ABG driver (9.0.0.3-9) fromwpaul2005-11-064-12/+66
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Intel's web site requires some minor tweaks to get it to work: - The driver seems to have been released with full WMI tracing enabled, and makes references to some WMI APIs, namely IoWMIRegistrationControl(), WmiQueryTraceInformation() and WmiTraceMessage(). Only the first one is ever called (during intialization). These have been implemented as do-nothing stubs for now. Also added a definition for STATUS_NOT_FOUND to ntoskrnl_var.h, which is used as a return code for one of the WMI routines. - The driver references KeRaiseIrqlToDpcLevel() and KeLowerIrql() (the latter as a function, which is unusual because normally KeLowerIrql() is a macro in the Windows DDK that calls KfLowewIrql()). I'm not sure why these are being called since they're not really part of WDM. Presumeably they're being used for backwards compatibility with old versions of Windows. These have been implemented in subr_hal.c. (Note that they're _stdcall routines instead of _fastcall.) - When querying the OID_802_11_BSSID_LIST OID to get a BSSID list, you don't know ahead of time how many networks the NIC has found during scanning, so you're allowed to pass 0 as the list length. This should cause the driver to return an 'insufficient resources' error and set the length to indicate how many bytes are actually needed. However for some reason, the Intel driver does not honor this convention: if you give it a length of 0, it returns some other error and doesn't tell you how much space is really needed. To get around this, if using a length of 0 yields anything besides the expected error case, we arbitrarily assume a length of 64K. This is similar to the hack that wpa_supplicant uses when doing a BSSID list query.
* Copy out the number of iovecs in freebsd32_recvmsg, not the lengthps2005-11-061-1/+1
| | | | of a single iovec.
* Detach k_rem_pio2f.c from the build since it is now unused. It is a libmbde2005-11-061-1/+1
| | | | internal so this shouldn't cause version problems.
* Use a 53-bit approximation to pi/2 instead of a 33+53 bit one for thebde2005-11-061-9/+39
| | | | | | | | | | | | | | | | | | | | | | | | special case pi/4 <= |x| < 3*pi/4. This gives a tiny optimization (it saves 2 subtractions, which are scheduled well so they take a whole 1 cycle extra on an AthlonXP), and simplifies the code so that the following optimization is not so ugly. Optimize for the range 3*pi/4 < |x| < 9*Pi/2 in the same way. On Athlon{XP,64} systems, this gives a 25-40% optimization (depending a lot on CFLAGS) for the cosf() and sinf() consumers on this range. Relative to i387 hardware fcos and fsin, it makes the software versions faster in most cases instead of slower in most cases. The relative optimization is smaller for tanf() the inefficient part is elsewhere. The 53-bit approximation to pi/2 is good enough for pi/4 <= |x| < 3*pi/4 because after losing up to 24 bits to subtraction, we still have 29 bits of precision and only need 25 bits. Even with only 5 extra bits, it is possible to get perfectly rounded results starting with the reduced x, since if x is nearly a multiple of pi/2 then x is not near a half-way case and if x is not nearly a multiple of pi/2 then we don't lose many bits. With our intentionally imperfect rounding we get the same results for cosf(), sinf() and tanf() as without this optimization.
* Fix two minor typos that caused schedgraph to exit with an exceptionrwatson2005-11-061-2/+2
| | | | when running on traces referencing >2 CPUs.
* Fix panic string in last revision.glebius2005-11-061-1/+1
|
* MFi386 rev 1.536 (sort of)cognet2005-11-063-30/+24
| | | | | | | | Move what can be moved (UMA zones creation, pv_entry_* initialization) from pmap_init2() to pmap_init(). Create a new function, pmap_postinit(), called from cpu_startup(), to do the L1 tables allocation. pmap_init2() is now empty for arm as well.
* Avoid trouble with PUC_FASTINTR if it is already defined.phk2005-11-061-0/+2
|
* Fix the path to aac_ioctl.h in the comment and style includes.maxim2005-11-061-4/+6
| | | | MFC after: 1 week
* Fix include: aac_ioctl.h was moved from sys/dev/aac/ to sys/sys.maxim2005-11-061-1/+1
| | | | | | PR: misc/88549 Submitted by: Sokolov Alexey MFC after: 1 week
* Remove spl markers from AMR.scottl2005-11-064-54/+6
| | | | MFC After: 3 days
* The logb() functions are not just ieee754 "test" functions, but arebde2005-11-064-33/+48
| | | | | | | | | | | | | standard in C99 and POSIX.1-2001+. They are also not deprecated, since apart from being standard they can handle special args slightly better than the ilogb() functions. Move their documentation to ilogb.3. Try to use consistent and improved wording for both sets of functions. All of ieee854, C99 and POSIX have better wording and more details for special args. Add history for the logb() functions and ilogbl(). Fix history for ilogb().
* Change author's email address.philip2005-11-061-1/+1
| | | | Submitted by: Sean Bullington shegget -at- gmail.com
* Un-break processing of device major/minor values with fstat -n. We docsjp2005-11-051-3/+5
| | | | | | | | | | | this by accessing the cdev_priv element of the cdev structure. Looking forward we need a better way to handle this, as this structure shouldn't be frobbed by userspace. Submitted by: Doug Steinwand PR: bin/88203 MFC after: 1 week Discussed with: phk
* Now that fast interrupts can be shared we can use them in puc.phk2005-11-051-0/+1
|
* Add yet another entry to the list.phk2005-11-051-0/+9
|
* Add uart(4). When both sio(4) and uart(4) can handle a serial port,marcel2005-11-053-4/+7
| | | | | | | | sio(4) will claim it. This change therefore only affects how ports are handled when they are not claimed by sio(4), and in principle will improve hardware support. MFC after: 2 months
* Free only those mbuf+clusters back to the packet zone that were allocatedandre2005-11-053-2/+6
| | | | | | | | | | from there. All others get broken up and free'd individually to the mbuf and cluster zones. The packet zone is a secondary zone to the mbuf zone. There is currently a limitation in UMA which prevents decreasing the packet zone stock when the mbuf and cluster zone are drained and all their members are part of packets. When this is fixed this change may be reverted.
* Remove spl.ticso2005-11-051-28/+16
| | | | | | Restart request on USBD_IOERROR. MFC after: 2 weeks
* Unbreak !SMP kernelsphk2005-11-051-0/+2
|
* Define M_IOAPIC the same as i386peter2005-11-041-1/+1
|
* MFamd64: indent with tabs instead of spaces.peter2005-11-041-1/+1
|
* This commit was generated by cvs2svn to compensate for changes in r152069,jkim2005-11-042-8/+5
|\ | | | | | | which included commits to RCS files with non-trunk default branches.
| * - Fix more resource parsing problems. The previous commit was imcomplete.jkim2005-11-042-8/+5
| | | | | | | | | | | | | | | | | | - Fix a typo in rsmisc.c and a style change for consistency. This patch will also appear in future ACPI-CA release. Submitted by: Robert Moore <robert dot moore at intel dot com> Tested by: ru
OpenPOWER on IntegriCloud