Changeset 42742c5a in mainline for kernel/arch/sparc64/src/drivers/pci.c
- Timestamp:
- 2009-02-27T20:41:23Z (16 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 7a28812
- Parents:
- 12081e6
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/arch/sparc64/src/drivers/pci.c
r12081e6 r42742c5a 45 45 #include <func.h> 46 46 #include <arch/asm.h> 47 #include <sysinfo/sysinfo.h> 47 48 48 49 #define SABRE_INTERNAL_REG 0 … … 109 110 pci->reg = (uint64_t *) hw_map(paddr, reg[SABRE_INTERNAL_REG].size); 110 111 112 /* 113 * Set sysinfo data needed by the uspace OBIO driver. 114 */ 115 sysinfo_set_item_val("obio.base.physical", NULL, paddr); 116 sysinfo_set_item_val("kbd.cir.obio", NULL, 1); 117 111 118 return pci; 112 119 } … … 149 156 pci->op = &pci_psycho_ops; 150 157 pci->reg = (uint64_t *) hw_map(paddr, reg[PSYCHO_INTERNAL_REG].size); 158 159 /* 160 * Set sysinfo data needed by the uspace OBIO driver. 161 */ 162 sysinfo_set_item_val("obio.base.physical", NULL, paddr); 163 sysinfo_set_item_val("kbd.cir.obio", NULL, 1); 151 164 152 165 return pci;
Note:
See TracChangeset
for help on using the changeset viewer.