soc_common.c (d585a021c0b10b0477d6b608c53e1feb8cde0507) | soc_common.c (5f784336dc02a1c5be3dffac3506bc07c1604cee) |
---|---|
1/*====================================================================== 2 3 Common support code for the PCMCIA control functionality of 4 integrated SOCs like the SA-11x0 and PXA2xx microprocessors. 5 6 The contents of this file are subject to the Mozilla Public 7 License Version 1.1 (the "License"); you may not use this file 8 except in compliance with the License. You may obtain a copy of --- 322 unchanged lines hidden (view full) --- 331 * Returns: 0 on success, -1 on error 332 */ 333static int 334soc_common_pcmcia_set_io_map(struct pcmcia_socket *sock, struct pccard_io_map *map) 335{ 336 struct soc_pcmcia_socket *skt = to_soc_pcmcia_socket(sock); 337 unsigned short speed = map->speed; 338 | 1/*====================================================================== 2 3 Common support code for the PCMCIA control functionality of 4 integrated SOCs like the SA-11x0 and PXA2xx microprocessors. 5 6 The contents of this file are subject to the Mozilla Public 7 License Version 1.1 (the "License"); you may not use this file 8 except in compliance with the License. You may obtain a copy of --- 322 unchanged lines hidden (view full) --- 331 * Returns: 0 on success, -1 on error 332 */ 333static int 334soc_common_pcmcia_set_io_map(struct pcmcia_socket *sock, struct pccard_io_map *map) 335{ 336 struct soc_pcmcia_socket *skt = to_soc_pcmcia_socket(sock); 337 unsigned short speed = map->speed; 338 |
339 debug(skt, 2, "map %u speed %u start 0x%08x stop 0x%08x\n", 340 map->map, map->speed, map->start, map->stop); | 339 debug(skt, 2, "map %u speed %u start 0x%08llx stop 0x%08llx\n", 340 map->map, map->speed, (unsigned long long)map->start, 341 (unsigned long long)map->stop); |
341 debug(skt, 2, "flags: %s%s%s%s%s%s%s%s\n", 342 (map->flags==0)?"<NONE>":"", 343 (map->flags&MAP_ACTIVE)?"ACTIVE ":"", 344 (map->flags&MAP_16BIT)?"16BIT ":"", 345 (map->flags&MAP_AUTOSZ)?"AUTOSZ ":"", 346 (map->flags&MAP_0WS)?"0WS ":"", 347 (map->flags&MAP_WRPROT)?"WRPROT ":"", 348 (map->flags&MAP_USE_WAIT)?"USE_WAIT ":"", --- 436 unchanged lines hidden --- | 342 debug(skt, 2, "flags: %s%s%s%s%s%s%s%s\n", 343 (map->flags==0)?"<NONE>":"", 344 (map->flags&MAP_ACTIVE)?"ACTIVE ":"", 345 (map->flags&MAP_16BIT)?"16BIT ":"", 346 (map->flags&MAP_AUTOSZ)?"AUTOSZ ":"", 347 (map->flags&MAP_0WS)?"0WS ":"", 348 (map->flags&MAP_WRPROT)?"WRPROT ":"", 349 (map->flags&MAP_USE_WAIT)?"USE_WAIT ":"", --- 436 unchanged lines hidden --- |