#
a23ac85f |
|
19-Mar-2023 |
X512 <danger_mail@list.ru> |
bus_managers/pci: split PCI controller to separate add-on busses/pci/x86: add Other add-ons are in following commits. Change-Id: I7a77bfaef0e8995917b4b54c8369d7075533ec26 Reviewed-on: https://review.haiku-os.org/c/haiku/+/6220 Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org> Reviewed-by: waddlesplash <waddlesplash@gmail.com>
|
#
cba67843 |
|
18-Feb-2022 |
Jérôme Duval <jerome.duval@gmail.com> |
pci: add set_powerstate and get_powerstate legacy hooks Change-Id: I827112ffb1a65ada99605671b112d8fd0e6db4b5 Reviewed-on: https://review.haiku-os.org/c/haiku/+/4976 Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org> Reviewed-by: waddlesplash <waddlesplash@gmail.com>
|
#
97207829 |
|
25-Jul-2021 |
X512 <danger_mail@list.ru> |
bus_managers/pci: add riscv64 support v2 * Refactored version of X512's original work to split out the ecam and fu740 PCI Controllers Change-Id: I631885af03b0118fb0084ed7aa4a5aa0a355b0fa Reviewed-on: https://review.haiku-os.org/c/haiku/+/4435 Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org> Reviewed-by: Alex von Gluck IV <kallisti5@unixzen.com>
|
#
16bb99fd |
|
21-Nov-2017 |
François Revol <revol@free.fr> |
PCI: fix ram_address() to use phys_addr_t Since it handles physical address it should really be this. It's not like many drivers actually used it anyway. It shouldn't harm compatibility, drivers calling it with only 32bit would leave garbage in the higher bits but since on x86 it's a noop anyway, it would end up in the MSB register tha's ignored because it expects a 32bit result.
|
#
b027a0a2 |
|
24-Jun-2013 |
Jérôme Duval <jerome.duval@gmail.com> |
pci: change offset type to uint16 in config space API. * The config space is larger than 255, we need to use an uint16 to access offsets superior or equal to 256. The current API only proposes an uint8 for this. This change switches the offset parameter to the uint16 type. Axel hinted that the used values are the same with such a change (the doc says sign extended to 2 or 4 bytes). I checked with GCC2 and it's indeed the case when inspecting the memory. With GCC4, instructions are the same on function call. * prints info about extended capabilities. * struct pci_module_info and struct pci_device_module_info are extended with pci_find_extended_capability().
|
#
20da79d7 |
|
22-Jun-2013 |
Jérôme Duval <jerome.duval@gmail.com> |
pci: fixed ppc build * removed default parameter value, this interface is used by C code.
|
#
26a4510e |
|
22-Jun-2013 |
Jérôme Duval <jerome.duval@gmail.com> |
pci: added pci_find_extended_capability(). * added PCI Extended Capabilities definitions. * pci_find_capability() parameter offset is now optional.
|
#
63cffb7e |
|
07-May-2011 |
Michael Lotz <mmlr@mlotz.ch> |
Add a way to store a new interrupt_line value to the PCI module. It both updates the cached pci_info and writes the new value into PCI config space. Drivers using either mechanism to enumerate devices will therefore get the updated value. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41364 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
7e26ad5a |
|
01-Sep-2009 |
François Revol <revol@free.fr> |
Add functions to the old-style PCI bus manager to reserve a device from an old-style driver for exclusive use. This should help making OSS and native audio drivers mutually exclusive. Used in es1370 and hda drivers as examples. OSS must still be fixed to use it too though. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32899 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
368167ed |
|
26-May-2008 |
Axel Dörfler <axeld@pinc-software.de> |
* Integration of the new driver architecture. * Moved devfs from fs/ to device_manager/, and separated the legacy driver support from it. * Removed fast_log module. * There are a couple of (temporary) regressions, though: - legacy SATA and ISA IDE support is disabled, the drivers haven't been ported yet. - The not yet used ATA bus manager hasn't been ported yet, either. - AHCI changes have not been tested. - the listdev command has been removed from the build (as it currently doesn't work anymore). - device manager generated IDs currently are not freed anymore when a device node is removed. - generic drivers can't yet use the new driver architecture. - simple busses that do not support device types won't work yet. - legacy driver publishing/unpublishing (ie. what USB needs) has not been tested, and may be broken. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@25662 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
b027a0a2f750e957f109e9e872662aca67b4336f |
|
24-Jun-2013 |
Jérôme Duval <jerome.duval@gmail.com> |
pci: change offset type to uint16 in config space API. * The config space is larger than 255, we need to use an uint16 to access offsets superior or equal to 256. The current API only proposes an uint8 for this. This change switches the offset parameter to the uint16 type. Axel hinted that the used values are the same with such a change (the doc says sign extended to 2 or 4 bytes). I checked with GCC2 and it's indeed the case when inspecting the memory. With GCC4, instructions are the same on function call. * prints info about extended capabilities. * struct pci_module_info and struct pci_device_module_info are extended with pci_find_extended_capability().
|
#
20da79d7dad586618b0a24f44ad989536a5e7312 |
|
22-Jun-2013 |
Jérôme Duval <jerome.duval@gmail.com> |
pci: fixed ppc build * removed default parameter value, this interface is used by C code.
|
#
26a4510e591b2d12b5191918ca4e92a5f94b2bd5 |
|
22-Jun-2013 |
Jérôme Duval <jerome.duval@gmail.com> |
pci: added pci_find_extended_capability(). * added PCI Extended Capabilities definitions. * pci_find_capability() parameter offset is now optional.
|
#
63cffb7ee364813e37e50b40444a2c071952f92d |
|
07-May-2011 |
Michael Lotz <mmlr@mlotz.ch> |
Add a way to store a new interrupt_line value to the PCI module. It both updates the cached pci_info and writes the new value into PCI config space. Drivers using either mechanism to enumerate devices will therefore get the updated value. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41364 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
7e26ad5af7cb5f8308f6fb9688b2e8b49ad290cb |
|
01-Sep-2009 |
François Revol <revol@free.fr> |
Add functions to the old-style PCI bus manager to reserve a device from an old-style driver for exclusive use. This should help making OSS and native audio drivers mutually exclusive. Used in es1370 and hda drivers as examples. OSS must still be fixed to use it too though. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32899 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
368167ede8118f72da8c9ac5bb98ce9b46a8a639 |
|
26-May-2008 |
Axel Dörfler <axeld@pinc-software.de> |
* Integration of the new driver architecture. * Moved devfs from fs/ to device_manager/, and separated the legacy driver support from it. * Removed fast_log module. * There are a couple of (temporary) regressions, though: - legacy SATA and ISA IDE support is disabled, the drivers haven't been ported yet. - The not yet used ATA bus manager hasn't been ported yet, either. - AHCI changes have not been tested. - the listdev command has been removed from the build (as it currently doesn't work anymore). - device manager generated IDs currently are not freed anymore when a device node is removed. - generic drivers can't yet use the new driver architecture. - simple busses that do not support device types won't work yet. - legacy driver publishing/unpublishing (ie. what USB needs) has not been tested, and may be broken. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@25662 a95241bf-73f2-0310-859d-f6bbb57e9c96
|