Revision tags: v6.2.1, v6.2.0, v6.3.0, v6.0.1, v6.0.0, v6.0.0rc1, v6.1.0, v5.8.3, v5.8.2, v5.8.1, v5.8.0, v5.9.0, v5.8.0rc1, v5.6.3, v5.6.2, v5.6.1, v5.6.0, v5.6.0rc1, v5.7.0, v5.4.3, v5.4.2, v5.4.1, v5.4.0, v5.5.0, v5.4.0rc1, v5.2.2, v5.2.1, v5.2.0, v5.3.0, v5.2.0rc, v5.0.2, v5.0.1, v5.0.0, v5.0.0rc2, v5.1.0, v5.0.0rc1, v4.8.1, v4.8.0, v4.6.2, v4.9.0, v4.8.0rc, v4.6.1, v4.6.0, v4.6.0rc2, v4.6.0rc, v4.7.0, v4.4.3, v4.4.2, v4.4.1, v4.4.0, v4.5.0, v4.4.0rc, v4.2.4, v4.3.1, v4.2.3, v4.2.1, v4.2.0, v4.0.6, v4.3.0, v4.2.0rc, v4.0.5, v4.0.4, v4.0.3, v4.0.2, v4.0.1, v4.0.0, v4.0.0rc3, v4.0.0rc2, v4.0.0rc, v4.1.0, v3.8.2, v3.8.1, v3.6.3, v3.8.0, v3.8.0rc2, v3.9.0, v3.8.0rc, v3.6.2, v3.6.1, v3.6.0, v3.7.1, v3.6.0rc, v3.7.0, v3.4.3, v3.4.2, v3.4.0, v3.4.1, v3.4.0rc, v3.5.0, v3.2.2, v3.2.1, v3.2.0, v3.3.0, v3.0.3, v3.0.2, v3.0.1, v3.1.0, v3.0.0 |
|
#
0e6f0e28 |
| 19-Jan-2012 |
Sepherosa Ziehau <sephe@dragonflybsd.org> |
bus: Pass intsrerupt description to setup_intr bus method
If no interrupt description is supplied, then the device's name will be used.
Add bus_setup_intr_descr(), which allow device drivers to pas
bus: Pass intsrerupt description to setup_intr bus method
If no interrupt description is supplied, then the device's name will be used.
Add bus_setup_intr_descr(), which allow device drivers to pass interrupt description. Reimplement bus_setup_intr() using bus_setup_intr_descr().
show more ...
|
#
86d7f5d3 |
| 26-Nov-2011 |
John Marino <draco@marino.st> |
Initial import of binutils 2.22 on the new vendor branch
Future versions of binutils will also reside on this branch rather than continuing to create new binutils branches for each new version.
|
#
4f7fe8c7 |
| 09-Oct-2011 |
Sepherosa Ziehau <sephe@dragonflybsd.org> |
resource: Per-CPU hardware resources support, step 4 of many
Add cpuid parameter to bus_alloc_resource DEVMETHOD, so cpuid could be passed all the way to the nexus
|
Revision tags: v2.12.0, v2.13.0, v2.10.1, v2.11.0, v2.10.0, v2.9.1, v2.8.2, v2.8.1, v2.8.0, v2.9.0, v2.6.3, v2.7.3, v2.6.2, v2.7.2, v2.7.1, v2.6.1, v2.7.0, v2.6.0, v2.5.1, v2.4.1, v2.5.0, v2.4.0, v2.3.2 |
|
#
bb3d3555 |
| 05-Jul-2009 |
Sepherosa Ziehau <sephe@dragonflybsd.org> |
cbb(4): Rework secondary bus number setup; aware of PCI domain
Obtained-from: FreeBSD
|
Revision tags: v2.3.1, v2.2.1, v2.2.0, v2.3.0, v2.1.1, v2.0.1 |
|
#
3aef8050 |
| 05-Jul-2007 |
Sepherosa Ziehau <sephe@dragonflybsd.org> |
Update cardbus/pccard support.
The original patch was done by joerg@; I seemed to "maintain" it for quite a long time :P
Obtained-from: FreeBSD Tested-by: many (intermittently tho)
|
#
3f625015 |
| 13-May-2007 |
Sascha Wildner <swildner@dragonflybsd.org> |
Fix numerous spelling mistakes.
|
#
e3869ec7 |
| 22-Dec-2006 |
Sascha Wildner <swildner@dragonflybsd.org> |
Rename printf -> kprintf in sys/ and add some defines where necessary (files which are used in userland, too).
|
#
1f7ab7c9 |
| 25-Oct-2006 |
Matthew Dillon <dillon@dragonflybsd.org> |
Do a major clean-up of the BUSDMA architecture. A large number of essentially machine-independant drivers use the structures and definitions in machine-dependant directories that are really machine-
Do a major clean-up of the BUSDMA architecture. A large number of essentially machine-independant drivers use the structures and definitions in machine-dependant directories that are really machine-independant in nature.
Split <machine/bus_dma.h> into machine-depdendant and machine-independant parts and make the primary access run through <sys/bus_dma.h>.
Remove <machine/bus.h>, <machine/bus_memio.h> and <machine/bus_pio.h>. The optimizations related to bus_memio.h and bus_pio.h made a huge mess, introduced machine-specific knowledge into essentially machine-independant drivers, and required specific #include file orderings to do their job. They may be reintroduced in some other form later on.
Move <machine/resource.h> to <sys/bus_resource.h>. The contents of the file is machine-independant or can be made a superset across many platforms.
Make <sys/bus.h> include <sys/bus_dma.h> and <sys/bus_resource.h> and include <sys/bus.h> where necessary. Remove all #include's of <machine/resource.h> and <machine/bus.h>. That is, make the BUSDMA infrastructure integral to I/O-mapped and memory-mapped accesses to devices and remove a large chunk of machine-specific dependancies from drivers. bus_if.h and device_if.h are now required to be present when using <sys/bus.h>.
show more ...
|
#
efda3bd0 |
| 05-Sep-2006 |
Matthew Dillon <dillon@dragonflybsd.org> |
Rename malloc->kmalloc, free->kfree, and realloc->krealloc. Pass 1
|
#
f8d45478 |
| 14-May-2006 |
Matthew Dillon <dillon@dragonflybsd.org> |
cbb_probe() assumes that the subclass field is unique. This patch further qualifies the check to verify that the device belongs to the bus class as well before claiming the device.
Submitted-by: Chu
cbb_probe() assumes that the subclass field is unique. This patch further qualifies the check to verify that the device belongs to the bus class as well before claiming the device.
Submitted-by: Chuck Tuffli <ctuffli@gmail.com>
show more ...
|
#
df4f70a6 |
| 05-May-2006 |
Matthew Dillon <dillon@dragonflybsd.org> |
Remove the thread pointer argument to lockmgr(). All lockmgr() ops use the current thread.
Move the lockmgr code in BUF_KERNPROC to lockmgr_kernproc(). This code allows the lock owner to be set to
Remove the thread pointer argument to lockmgr(). All lockmgr() ops use the current thread.
Move the lockmgr code in BUF_KERNPROC to lockmgr_kernproc(). This code allows the lock owner to be set to a special value so any thread can unlock the lock and is required for B_ASYNC I/O so biodone() can release the lock.
show more ...
|
#
056f4388 |
| 23-Apr-2006 |
Matthew Dillon <dillon@dragonflybsd.org> |
Remove the now unused interlock argument to the lockmgr() procedure. This argument has been abused over the years by kernel programmers attempting to optimize certain locking and data modification se
Remove the now unused interlock argument to the lockmgr() procedure. This argument has been abused over the years by kernel programmers attempting to optimize certain locking and data modification sequences, resulting in a virtually unreadable code in some cases. The interlock also made porting between BSDs difficult as each BSD implemented their interlock differently. DragonFly has slowly removed use of the interlock argument and we can now finally be rid of it entirely.
show more ...
|
#
f2770c70 |
| 02-Mar-2006 |
Matthew Dillon <dillon@dragonflybsd.org> |
Pass LK_PCATCH instead of trying to store tsleep flags in the lock structure, so multiple entities competing for the same lock do not use unexpected flags when sleeping.
Only NFS really uses PCATCH
Pass LK_PCATCH instead of trying to store tsleep flags in the lock structure, so multiple entities competing for the same lock do not use unexpected flags when sleeping.
Only NFS really uses PCATCH with lockmgr locks.
show more ...
|
#
f5100ab5 |
| 19-Dec-2005 |
Matthew Dillon <dillon@dragonflybsd.org> |
Fix a number of panic conditions for network cardbus devices by implementing the now mandatory interrupt serialization.
Reported-by: Steve Mynott <steve.mynott@gmail.com> Patches-by: Matthew Dillon
Fix a number of panic conditions for network cardbus devices by implementing the now mandatory interrupt serialization.
Reported-by: Steve Mynott <steve.mynott@gmail.com> Patches-by: Matthew Dillon and Sepherosa Ziehau <sepherosa@gmail.com>
show more ...
|
#
ee61f228 |
| 12-Oct-2005 |
Matthew Dillon <dillon@dragonflybsd.org> |
Remove the INTR_TYPE_* flags. The interrupt type is no longer used to figure out which spl*() set an interrupt belongs to, because, well, spl's no longer exist.
|
#
fc508c29 |
| 27-Aug-2005 |
Simon Schubert <corecode@dragonflybsd.org> |
Dereference pointer like we should.
Found-by: sephe
|
#
4b87c318 |
| 11-Aug-2005 |
Simon Schubert <corecode@dragonflybsd.org> |
Don't panic if we can't allocate memory.
|
#
6f168363 |
| 15-Jul-2005 |
Eirik Nygaard <eirikn@dragonflybsd.org> |
Don't return right after a goto.
|
#
44c1292b |
| 14-Jun-2005 |
Sascha Wildner <swildner@dragonflybsd.org> |
Fix controller names.
|
#
e9cb6d99 |
| 24-May-2005 |
Matthew Dillon <dillon@dragonflybsd.org> |
Get rid of bus_{disable,enable}_intr(), it wasn't generic enough for our needs.
Implement some generic atomic.h functions to aid in the implementation of a low level mutex.
Implement a generic low
Get rid of bus_{disable,enable}_intr(), it wasn't generic enough for our needs.
Implement some generic atomic.h functions to aid in the implementation of a low level mutex.
Implement a generic low level sleep-mutex serializer, kern/lwkt_serialize.c. The serializer is designed to be a replacement for SPL calls but may also be used for other very low level work (e.g. lockmgr interlocks).
Add a serializer argument to BUS_SETUP_INTR(). When non-NULL, the interrupt handler will no longer be protected by an SPL so e.g. spl*() will no longer protect against that device's interrupts.
The IF queueing and dequeueing mechanisms may no longer depend on outside SPL state because network driver interrupt handlers are no longer required to enter splnet(). Use critical sections for the moment. The IFQ and IFF_OACTIVE interactions are not yet MP safe.
show more ...
|
#
963aebf7 |
| 31-Mar-2005 |
Jeffrey Hsu <hsu@dragonflybsd.org> |
A kludge to always give the driver a second chance to attach the cbb device.
Similar to the following part of FreeBSD rev 1.66 by imp: o Remove bogus checks when reallocating memory for the regist
A kludge to always give the driver a second chance to attach the cbb device.
Similar to the following part of FreeBSD rev 1.66 by imp: o Remove bogus checks when reallocating memory for the registers. They weren't needed and turned out to be completely bogus.
This lets me load/unload pccard with a pccard in a slot and have the child correctly detach/attach. This should help people that have wi in their kernel, but that kldload cbb and pccard, for example.
show more ...
|
#
b02e5ad5 |
| 22-Feb-2005 |
Joerg Sonnenberger <joerg@dragonflybsd.org> |
Temporary switch the cardbus interrupt from INTR_TYPE_AV to INTR_TYPE_NET until I find a better way to handle the interrupt mask.
|
#
3c89d513 |
| 10-Jul-2004 |
Matthew Dillon <dillon@dragonflybsd.org> |
Fix some issues with the pccard shutdown path (during reboot and halt). pccard was resetting the bridge controller and unmapping the device without first detaching/shutting down the helper thread or
Fix some issues with the pccard shutdown path (during reboot and halt). pccard was resetting the bridge controller and unmapping the device without first detaching/shutting down the helper thread or disabling the interrupt, and without calling the shutdown function for the children, leading to several actual and potential lockups during a halt/reboot sequence.
There was also a bug in the thread termination code that could deadlock the system... the thread interlock was being improperly held while looping waiting for thread termination. Finally, there was an instance where sc->flags was being manipulated without holding the proper lock.
Rearrange the dev/pccard/pccbb shutdown code to (A) call the shutdown vector for the children, (B) disable the associated interrupt, and (C) properly terminate the helper thread, and fix the other bugs that were found.
There are still known issues not addressed by this patch, including interrupt storms from the cardbus system during halt/reboot (currently mostly caught by our interrupt rate limiting code), and at least one unknown deadlock can still occur during halt/reboot.
In discusssions with: Joerg Sonnenberger <joerg@britannica.bec.de>
show more ...
|
#
41a01a4d |
| 01-Mar-2004 |
Matthew Dillon <dillon@dragonflybsd.org> |
Newtoken commit. Change the token implementation as follows: (1) Obtaining a token no longer enters a critical section. (2) tokens can be held through schedular switches and blocking conditions an
Newtoken commit. Change the token implementation as follows: (1) Obtaining a token no longer enters a critical section. (2) tokens can be held through schedular switches and blocking conditions and are effectively released and reacquired on resume. Thus tokens serialize access only while the thread is actually running. Serialization is not broken by preemptive interrupts. That is, interrupt threads which preempt do no release the preempted thread's tokens. (3) Unlike spl's, tokens will interlock w/ interrupt threads on the same or on a different cpu.
The vnode interlock code has been rewritten and the API has changed. The mountlist vnode scanning code has been consolidated and all known races have been fixed. The vnode interlock is now a pool token.
The code that frees unreferenced vnodes whos last VM page has been freed has been moved out of the low level vm_page_free() code and moved to the periodic filesystem sycer code in vfs_msycn().
The SMP startup code and the IPI code has been cleaned up considerably. Certain early token interactions on AP cpus have been moved to the BSP.
The LWKT rwlock API has been cleaned up and turned on.
Major testing by: David Rhodus
show more ...
|
#
666d2603 |
| 10-Feb-2004 |
Joerg Sonnenberger <joerg@dragonflybsd.org> |
Initial backport of NEWCARD from FreeBSD 5.
The included version is from end of November 2002 with the exception of bus/pccard/pccarddevs which is from November 2003.
Thanks to Warner Losh and the
Initial backport of NEWCARD from FreeBSD 5.
The included version is from end of November 2002 with the exception of bus/pccard/pccarddevs which is from November 2003.
Thanks to Warner Losh and the other folks for NEWCARD.
show more ...
|