Changeset 1b973dc in mainline for uspace/drv/bus
- Timestamp:
- 2013-12-31T21:41:45Z (12 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 1bb9833
- Parents:
- 4c14b88 (diff), 8a84484 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)links above to see all the changes relative to each parent. - Location:
- uspace/drv/bus
- Files:
-
- 2 edited
-
pci/pciintel/pci.c (modified) (7 diffs)
-
usb/ehci/res.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/bus/pci/pciintel/pci.c
r4c14b88 r1b973dc 153 153 154 154 155 static int pci_config_space_write_32(ddf_fun_t *fun, uint32_t address,155 static int config_space_write_32(ddf_fun_t *fun, uint32_t address, 156 156 uint32_t data) 157 157 { … … 162 162 } 163 163 164 static int pci_config_space_write_16(164 static int config_space_write_16( 165 165 ddf_fun_t *fun, uint32_t address, uint16_t data) 166 166 { … … 171 171 } 172 172 173 static int pci_config_space_write_8(173 static int config_space_write_8( 174 174 ddf_fun_t *fun, uint32_t address, uint8_t data) 175 175 { … … 180 180 } 181 181 182 static int pci_config_space_read_32(182 static int config_space_read_32( 183 183 ddf_fun_t *fun, uint32_t address, uint32_t *data) 184 184 { … … 189 189 } 190 190 191 static int pci_config_space_read_16(191 static int config_space_read_16( 192 192 ddf_fun_t *fun, uint32_t address, uint16_t *data) 193 193 { … … 198 198 } 199 199 200 static int pci_config_space_read_8(200 static int config_space_read_8( 201 201 ddf_fun_t *fun, uint32_t address, uint8_t *data) 202 202 { … … 217 217 218 218 static pci_dev_iface_t pci_dev_ops = { 219 .config_space_read_8 = & pci_config_space_read_8,220 .config_space_read_16 = & pci_config_space_read_16,221 .config_space_read_32 = & pci_config_space_read_32,222 .config_space_write_8 = & pci_config_space_write_8,223 .config_space_write_16 = & pci_config_space_write_16,224 .config_space_write_32 = & pci_config_space_write_32219 .config_space_read_8 = &config_space_read_8, 220 .config_space_read_16 = &config_space_read_16, 221 .config_space_read_32 = &config_space_read_32, 222 .config_space_write_8 = &config_space_write_8, 223 .config_space_write_16 = &config_space_write_16, 224 .config_space_write_32 = &config_space_write_32 225 225 }; 226 226 -
uspace/drv/bus/usb/ehci/res.c
r4c14b88 r1b973dc 43 43 #include <usb/debug.h> 44 44 #include <device/hw_res_parsed.h> 45 #include < device/pci.h>45 #include <pci_dev_iface.h> 46 46 47 47 #include "res.h"
Note:
See TracChangeset
for help on using the changeset viewer.
