Changeset 7e752b2 in mainline for uspace/srv/hw
- Timestamp:
- 2010-11-26T01:33:20Z (15 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- bf61d3a
- Parents:
- 202f57b
- Location:
- uspace/srv/hw
- Files:
-
- 5 edited
-
char/i8042/i8042.c (modified) (3 diffs)
-
char/s3c24xx_uart/s3c24xx_uart.c (modified) (4 diffs)
-
cir/fhc/fhc.c (modified) (1 diff)
-
netif/dp8390/dp8390.c (modified) (1 diff)
-
netif/dp8390/ne2000.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/hw/char/i8042/i8042.c
r202f57b r7e752b2 46 46 #include <stdio.h> 47 47 #include <errno.h> 48 #include <inttypes.h> 48 49 49 50 #include "i8042.h" … … 201 202 ipc_register_irq(inr_a, device_assign_devno(), 0, &i8042_kbd); 202 203 ipc_register_irq(inr_b, device_assign_devno(), 0, &i8042_kbd); 203 printf("%s: registered for interrupts %d and %d\n", NAME, inr_a, inr_b); 204 printf("%s: registered for interrupts %" PRIun " and %" PRIun "\n", 205 NAME, inr_a, inr_b); 204 206 205 207 wait_ready(); … … 262 264 break; 263 265 case IPC_FIRST_USER_METHOD: 264 printf(NAME ": write % dto devid %d\n",266 printf(NAME ": write %" PRIun " to devid %d\n", 265 267 IPC_GET_ARG1(call), dev_id); 266 268 i8042_port_write(dev_id, IPC_GET_ARG1(call)); -
uspace/srv/hw/char/s3c24xx_uart/s3c24xx_uart.c
r202f57b r7e752b2 48 48 #include <sysinfo.h> 49 49 #include <errno.h> 50 #include <inttypes.h> 50 51 51 52 #include "s3c24xx_uart.h" … … 95 96 if (rc != EOK) { 96 97 devmap_hangup_phone(DEVMAP_DRIVER); 97 printf(NAME ": Unable to register device %s.\n"); 98 printf(NAME ": Unable to register device %s.\n", 99 NAMESPACE "/" NAME); 98 100 return -1; 99 101 } … … 134 136 break; 135 137 case CHAR_WRITE_BYTE: 136 printf(NAME ": write % dto device\n",138 printf(NAME ": write %" PRIun " to device\n", 137 139 IPC_GET_ARG1(call)); 138 140 s3c24xx_uart_sendb(uart, (uint8_t) IPC_GET_ARG1(call)); … … 185 187 uart->client_phone = -1; 186 188 187 printf(NAME ": device at physical address 0x%x, inr %d.\n",188 uart->paddr, inr);189 printf(NAME ": device at physical address %p, inr %" PRIun ".\n", 190 (void *) uart->paddr, inr); 189 191 190 192 async_set_interrupt_received(s3c24xx_uart_irq_handler); -
uspace/srv/hw/cir/fhc/fhc.c
r202f57b r7e752b2 129 129 } 130 130 131 printf(NAME ": FHC UART registers at %p, % dbytes\n", fhc_uart_phys,131 printf(NAME ": FHC UART registers at %p, %zu bytes\n", fhc_uart_phys, 132 132 fhc_uart_size); 133 133 -
uspace/srv/hw/netif/dp8390/dp8390.c
r202f57b r7e752b2 1516 1516 if (!wdeth_probe(dep) && !ne_probe(dep) && !el2_probe(dep)) 1517 1517 { 1518 printf("%s: No ethernet card found at 0x%x\n",1519 dep->de_name, dep->de_base_port);1518 printf("%s: No ethernet card found at %#lx\n", 1519 dep->de_name, dep->de_base_port); 1520 1520 dep->de_mode= DEM_DISABLED; 1521 1521 return; -
uspace/srv/hw/netif/dp8390/ne2000.c
r202f57b r7e752b2 267 267 if (!debug) 268 268 { 269 printf("%s: NE%d000 at % X:%d\n",270 dep->de_name, dep->de_16bit ? 2 : 1,271 dep->de_base_port, dep->de_irq);269 printf("%s: NE%d000 at %#lx:%d\n", 270 dep->de_name, dep->de_16bit ? 2 : 1, 271 dep->de_base_port, dep->de_irq); 272 272 } 273 273 else 274 274 { 275 275 printf("%s: Novell NE%d000 ethernet card at I/O address " 276 "0x%X, memory size 0x%X, irq %d\n",277 dep->de_name, dep->de_16bit ? 2 : 1,278 dep->de_base_port, dep->de_ramsize, dep->de_irq);276 "%#lx, memory size %#lx, irq %d\n", 277 dep->de_name, dep->de_16bit ? 2 : 1, 278 dep->de_base_port, dep->de_ramsize, dep->de_irq); 279 279 } 280 280 }
Note:
See TracChangeset
for help on using the changeset viewer.
