Changeset ab3a851 in mainline for uspace/drv
- Timestamp:
- 2010-11-30T00:50:25Z (15 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 1b2981aa
- Parents:
- 178673c (diff), 41a7f62 (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
- Files:
-
- 6 edited
-
isa/isa.c (modified) (2 diffs)
-
ns8250/ns8250.c (modified) (2 diffs)
-
pciintel/pci.c (modified) (2 diffs)
-
root/root.c (modified) (2 diffs)
-
rootpc/rootpc.c (modified) (1 diff)
-
rootvirt/rootvirt.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/isa/isa.c
r178673c rab3a851 282 282 283 283 printf(NAME ": added io range (addr=0x%x, size=0x%x) to " 284 "device %s\n", addr, len, dev->name); 284 "device %s\n", (unsigned int) addr, (unsigned int) len, 285 dev->name); 285 286 } 286 287 } … … 489 490 static int isa_add_device(device_t *dev) 490 491 { 491 printf(NAME ": isa_add_device, device handle = %d\n", dev->handle); 492 printf(NAME ": isa_add_device, device handle = %d\n", 493 (int) dev->handle); 492 494 493 495 /* Add child devices. */ 494 496 add_legacy_children(dev); 495 printf(NAME ": finished the enumeration of legacy devices\n", 496 dev->handle); 497 printf(NAME ": finished the enumeration of legacy devices\n"); 497 498 498 499 return EOK; -
uspace/drv/ns8250/ns8250.c
r178673c rab3a851 276 276 if (pio_enable((void *)(uintptr_t) data->io_addr, REG_COUNT, 277 277 (void **) &data->port)) { 278 printf(NAME ": error - cannot gain the port % lxfor device "278 printf(NAME ": error - cannot gain the port %#" PRIx32 " for device " 279 279 "%s.\n", data->io_addr, dev->name); 280 280 return false; … … 727 727 { 728 728 printf(NAME ": ns8250_add_device %s (handle = %d)\n", 729 dev->name, dev->handle);729 dev->name, (int) dev->handle); 730 730 731 731 int res = ns8250_dev_initialize(dev); -
uspace/drv/pciintel/pci.c
r178673c rab3a851 323 323 if (range_addr != 0) { 324 324 printf(NAME ": device %s : ", dev->name); 325 printf("address = % x", range_addr);326 printf(", size = %x\n", range_size);325 printf("address = %" PRIx64, range_addr); 326 printf(", size = %x\n", (unsigned int) range_size); 327 327 } 328 328 … … 479 479 } 480 480 481 printf(NAME ": conf_addr = % x.\n",481 printf(NAME ": conf_addr = %" PRIx64 ".\n", 482 482 hw_resources.resources[0].res.io_range.address); 483 483 -
uspace/drv/root/root.c
r178673c rab3a851 46 46 #include <ctype.h> 47 47 #include <macros.h> 48 #include <inttypes.h> 48 49 49 50 #include <driver.h> … … 115 116 static int root_add_device(device_t *dev) 116 117 { 117 printf(NAME ": root_add_device, device handle = %d\n", dev->handle); 118 printf(NAME ": root_add_device, device handle=%" PRIun "\n", 119 dev->handle); 118 120 119 121 /* -
uspace/drv/rootpc/rootpc.c
r178673c rab3a851 177 177 static int rootpc_add_device(device_t *dev) 178 178 { 179 printf(NAME ": rootpc_add_device, device handle = %d\n", dev->handle); 179 printf(NAME ": rootpc_add_device, device handle = %d\n", 180 (int)dev->handle); 180 181 181 182 /* Register child devices. */ -
uspace/drv/rootvirt/rootvirt.c
r178673c rab3a851 110 110 111 111 printf(NAME ": add_device(name=\"%s\", handle=%d)\n", 112 dev->name, dev->handle);112 dev->name, (int)dev->handle); 113 113 114 114 /*
Note:
See TracChangeset
for help on using the changeset viewer.
