summaryrefslogtreecommitdiffstats
path: root/sys
Commit message (Collapse)AuthorAgeFilesLines
* Use UMA instead of plain malloc for getting ATA request storage.sos2004-01-1416-36/+32
| | | | | | | This gives +10% performance on simple tests, so definitly worth it. A few percent more could be had by not using M_ZERO'd alloc's, but we then need to clear fields all over the place to be safe, and that was deemed not worth the trouble (and it makes life dangerous).
* Back out previous commit, which as bde@ pointed out is a no-op.des2004-01-141-2/+0
|
* This commit was generated by cvs2svn to compensate for changes in r124528,njl2004-01-141-1/+1
|\ | | | | | | which included commits to RCS files with non-trunk default branches.
| * When creating a package element via "Store(0xXXX, Index(ArgX, 0xXXX))",njl2004-01-141-1/+1
| | | | | | | | | | | | | | | | | | be sure to increment the refcount of the argument so it is not prematurely deleted. This is a workaround and may appear in a different form in ACPI-CA. This fixes battery evaluation on Thinkpads that was broken by fixing the Dell battery state. Submitted by: Luming Yu <luming.yu@intel.com>
* | Update firmware sets for the 12160, 2200 and 2300 cards to the (more ormjacob2004-01-143-14713/+14215
| | | | | | | | less) latest from QLogic.
* | MFi386: revision 1.462nyan2004-01-141-0/+2
| |
* | Fix potential cable detection problem on older CMD chips.sos2004-01-141-7/+9
| |
* | Re-add libkern/ffs.c. I thought sparc64 had an inline version, butdes2004-01-141-0/+1
| | | | | | | | failed to notice that it's #if 0'ed out.
* | #include <machine/cpufunc.h>, which may define inline versions of somedes2004-01-141-0/+2
| | | | | | | | | | | | | | | | of the functions in libkern. Without this, parts of the kernel would reference a non-existent (undeclared and undefined) ffs() function; the only reason this didn't break the kernel build is that gcc happens to have a built-in ffs() and incorrectly fails to warn about the lack of prototypes for built-in functions.
* | Translate from GNU C to ISO C.des2004-01-144-4/+4
| |
* | Remove vm_page_alloc_contig(). It's now unused.alc2004-01-142-16/+0
| |
* | Use contigmalloc() instead of vm_page_alloc_contig(). Pass M_ZERO toalc2004-01-141-10/+8
| | | | | | | | contigmalloc() instead of calling bzero().
* | invalidate secpolicy pcb cache on key_timehandler. part ofume2004-01-141-0/+3
| | | | | | | | | | | | | | http://sources.zabbadoz.net/freebsd/patchset/110-ipsec-netkey-key.diff Submitted by: "Bjoern A. Zeeb" <bzeeb+freebsd@zabbadoz.net> Reviewed by: itojun
* | add missing key_freesp()s. part ofume2004-01-141-1/+4
| | | | | | | | | | | | | | | | | | http://sources.zabbadoz.net/freebsd/patchset/110-ipsec-netkey-key.diff with some modification. Submitted by: "Bjoern A. Zeeb" <bzeeb+freebsd@zabbadoz.net> Reviewed by: itojun Obtained from: KAME
* | mp_ncpus is always defined now, so no need to do an #ifdef SMP inwpaul2004-01-141-5/+1
| | | | | | | | ndis_cpu_cnt().
* | Use contigmalloc() instead of vm_page_alloc_contig().alc2004-01-141-2/+5
| |
* | Add an "ethernet" hook to the rfc1490 netgraph module. It will sendgreen2004-01-142-7/+35
| | | | | | | | | | and receive FCS-less RFC1490-"bridged" Ethernet packets that are currently just ignored.
* | If a device attach routine fails during boot and calls bus_teardown_intr(),truckman2004-01-131-1/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | ithread_remove_handler() may fail to remove the interrupt handler if it decides to let the ithread do the removal. The problem is that during boot "cold" is set, which causes msleep() to return immediately. This will cause ithread_remove_handler() to fail to wait for the ithread to do the removal from the handler TAILQ before freeing the handler back to the heap. Bad things will happen when some other user of the TAILQ, such as ithread_add_handler() or the actual ithread attempts to use the freed handler. Fix the problem by forcing ithread_remove_handler() to do the actual removal itself if the "cold" flag is set. Reviewed by: jhb
* | AMD64 has a single MS-Win calling convention, so provide an empty __stdcall.obrien2004-01-136-14/+14
| | | | | | | | Centralize the definition to make it easier to change.
* | Use 'vm_offset_t' rather than 'u_int32_t'.obrien2004-01-131-2/+2
| | | | | | | | | | Tested on: AMD64 Reviewed by: wpaul
* | AMD64 has a single MS-Win calling convention, so provide an empty __stdcall.obrien2004-01-131-0/+4
| |
* | Initialize drive device_t in softc.mdodd2004-01-131-0/+1
| |
* | Add the Qualcomm CDMA Technologies MSM phone (umodem) device.green2004-01-134-3/+24
| | | | | | | | | | Submitted by: Sean Welch <welchsm@earthlink.net> MFC after: 1 week
* | Fix ata_getparam to accept the fact that some crappy devices can pose assos2004-01-131-10/+12
| | | | | | | | both master and slave at the same time confusing the probe code.
* | Add a component constant for ACPI_TOSHIBA to fix compilation ofjhb2004-01-131-0/+1
| | | | | | | | acpi_toshiba(4) driver with ACPI_DEBUG and thus fix LINT on i386.
* | Use contigmalloc() and contigfree() instead of vm_page_alloc_contig() andalc2004-01-131-2/+2
| | | | | | | | | | | | | | | | kmem_free(). Note: The FreeBSD-specific code in this file has been subsumed by the FreeBSD-specific header file, pdq_freebsd.h. That header file already specifies the use of contigmalloc() and contigfree(). Thus, the purpose of this change is to avoid having nonsensical examples of FreeBSD-specific memory allocation in our source tree.
* | Forgot ffsl() and flsl() on alpha.des2004-01-131-0/+2
| |
* | Cast to unsigned to avoid sign-extension problems.des2004-01-134-4/+4
| |
* | Add ffsl(), fls() flsl() to platforms that don't already have them.des2004-01-135-1/+12
| |
* | Add C implementations of ffsl(), fls() and flsl().des2004-01-134-1/+163
| |
* | ANSIfy, de-register, replace VAX reference with actual description.des2004-01-131-6/+5
| |
* | Whitespace nit.des2004-01-131-1/+1
| |
* | Include "../Makefile.inc" to propagate the configuration to subdirectories.nyan2004-01-131-0/+3
| |
* | Fix typo in a commentbrueffer2004-01-131-1/+1
| |
* | MODULE_DEPEND is a C macro, not a make(1).ru2004-01-131-1/+0
| |
* | bsd.kmod.mk does not deal with manpages anymore.ru2004-01-1324-25/+0
| |
* | style(9): single tab after #define.mdodd2004-01-134-67/+67
| |
* | Use a device identify entry point to attach to nexus, since thegrehan2004-01-131-9/+27
| | | | | | | | nexus code no longer searches for interrupt controllers.
* | Make the OpenPic driver bus-independent, with attachments forgrehan2004-01-134-164/+557
| | | | | | | | | | | | | | | | | | | | the MacIO chip and PSIM's IOBus. Bus-specific drivers should use the identify method to attach themselves to nexus so interrupt can be allocated before the h/w is probed. The 'early attach' routine in openpic is used for this stage of boot. When h/w is probed, the openpic can be attached properly. It will enable interrupts allocated prior to this.
* | Remove hard-coded knowledge of specific OFW devices. Use bus_generic_probegrehan2004-01-133-110/+133
| | | | | | | | | | | | | | | | | | | | | | and add_child entry point to allow devices to use the identify method to add themselves if need be (e.g. openpic, syscons). Export interrupt-controller-add routine for extern int cntlr drivers. Eliminate recursive OFW device-tree walk and only iterate the top-level ala sparc64. Allow child devices to set the device type with write_ivars. Step 1 of many in removing the hard-dependency on OpenFirmware.
* | Don't put .depend in CLEANFILES, it's cleaned by cleandepend.ru2004-01-131-1/+0
| |
* | Catch up with ATA changes by including <sys/sema.h>grehan2004-01-132-0/+2
| |
* | call ipsec_pcbconn()/ipsec_pcbdisconn() from in6_pcbconnect().ume2004-01-131-0/+7
| | | | | | | | Obtained from: KAME
* | do not deref freed pointerume2004-01-131-2/+2
| | | | | | | | | | Submitted by: "Bjoern A. Zeeb" <bzeeb+freebsd@zabbadoz.net> Reviewed by: itojun
* | Implement some more unicode handling routines. This will hopefully bringwpaul2004-01-131-7/+172
| | | | | | | | us closer to being able to run the Intel PRO/Wireless 5000 driver.
* | Replace calls to vm_page_alloc_contig() by calls to contigmalloc().alc2004-01-131-7/+6
| | | | | | | | | | vm_page_alloc_contig() will be removed after the three remaining drivers that use it are also converted to contigmalloc().
* | Handle SIOCSIFMTU ioctl directly so we can apply 802.11-specific bounds.sam2004-01-132-1/+18
| | | | | | | | Note that the min is actually constrained to IF_MINMTU by the if layer.
* | correct spellingume2004-01-131-7/+7
| | | | | | | | | | Submitted by: "Bjoern A. Zeeb" <bzeeb+freebsd@zabbadoz.net> Reviewed by: itojun
* | fix potential 'cannot-happen' memory leakume2004-01-131-1/+4
| | | | | | | | | | Submitted by: "Bjoern A. Zeeb" <bzeeb+freebsd@zabbadoz.net> Reviewed by: itojun
* | Loosen up the range test in ndis_register_ioport(). Allow drivers towpaul2004-01-131-1/+2
| | | | | | | | | | | | | | | | map ranges that are smaller than what our resource manager code knows is available, rather than requiring that they match exactly. This fixes a problem with the Intel PRO/1000 gigE driver: it wants to map a range of 32 I/O ports, even though some chips appear set up to decode a range of 64. With this fix, it loads and runs correctly.
OpenPOWER on IntegriCloud