Changeset 5159ae9 in mainline for uspace/srv/drivers/pciintel/pci.c
- Timestamp:
- 2010-05-29T08:37:38Z (14 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- ce89036b
- Parents:
- 692c40cb
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/drivers/pciintel/pci.c
r692c40cb r5159ae9 82 82 }; 83 83 84 static device_ class_t pci_child_class;84 static device_ops_t pci_child_ops; 85 85 86 86 … … 398 398 pci_read_interrupt(dev); 399 399 400 dev-> class = &pci_child_class;400 dev->ops = &pci_child_ops; 401 401 402 402 printf(NAME ": adding new child device %s.\n", dev->name); … … 491 491 static void pciintel_init() 492 492 { 493 pci_child_class.id = 0; // TODO 494 pci_child_class.interfaces[HW_RES_DEV_IFACE] = &pciintel_child_res_iface; 493 pci_child_ops.interfaces[HW_RES_DEV_IFACE] = &pciintel_child_res_iface; 495 494 } 496 495
Note:
See TracChangeset
for help on using the changeset viewer.