diff options
author | Geert Uytterhoeven <geert@linux-m68k.org> | 2016-11-09 09:40:58 -0500 |
---|---|---|
committer | Geert Uytterhoeven <geert@linux-m68k.org> | 2017-02-12 04:36:51 -0500 |
commit | 56bbd86257f899ced7ef9c58210dda4edbd40871 (patch) | |
tree | a55105c986ab8582e01ce0a60143f024d13a6472 | |
parent | 446926f9490342532ff44983cb187c01051174a9 (diff) |
m68k/sun3: Modernize printing of kernel messages
- Convert from printk() to pr_*(),
- Add missing continuations,
- Do not print nonexistent len variable,
- Add missing sysname[] variable,
- Correct printf()-style format specifiers.
Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
-rw-r--r-- | arch/m68k/sun3/config.c | 2 | ||||
-rw-r--r-- | arch/m68k/sun3/dvma.c | 3 | ||||
-rw-r--r-- | arch/m68k/sun3/idprom.c | 8 | ||||
-rw-r--r-- | arch/m68k/sun3/mmu_emu.c | 47 | ||||
-rw-r--r-- | arch/m68k/sun3/prom/printf.c | 2 | ||||
-rw-r--r-- | arch/m68k/sun3/sun3dvma.c | 51 |
6 files changed, 54 insertions, 59 deletions
diff --git a/arch/m68k/sun3/config.c b/arch/m68k/sun3/config.c index 3af34fa3a344..1d28d380e8cc 100644 --- a/arch/m68k/sun3/config.c +++ b/arch/m68k/sun3/config.c | |||
@@ -134,7 +134,7 @@ void __init config_sun3(void) | |||
134 | { | 134 | { |
135 | unsigned long memory_start, memory_end; | 135 | unsigned long memory_start, memory_end; |
136 | 136 | ||
137 | printk("ARCH: SUN3\n"); | 137 | pr_info("ARCH: SUN3\n"); |
138 | idprom_init(); | 138 | idprom_init(); |
139 | 139 | ||
140 | /* Subtract kernel memory from available memory */ | 140 | /* Subtract kernel memory from available memory */ |
diff --git a/arch/m68k/sun3/dvma.c b/arch/m68k/sun3/dvma.c index d95506e06c2a..ca02ee25894c 100644 --- a/arch/m68k/sun3/dvma.c +++ b/arch/m68k/sun3/dvma.c | |||
@@ -31,8 +31,7 @@ static unsigned long dvma_page(unsigned long kaddr, unsigned long vaddr) | |||
31 | 31 | ||
32 | ptep = pfn_pte(virt_to_pfn(kaddr), PAGE_KERNEL); | 32 | ptep = pfn_pte(virt_to_pfn(kaddr), PAGE_KERNEL); |
33 | pte = pte_val(ptep); | 33 | pte = pte_val(ptep); |
34 | // printk("dvma_remap: addr %lx -> %lx pte %08lx len %x\n", | 34 | // pr_info("dvma_remap: addr %lx -> %lx pte %08lx\n", kaddr, vaddr, pte); |
35 | // kaddr, vaddr, pte, len); | ||
36 | if(ptelist[(vaddr & 0xff000) >> PAGE_SHIFT] != pte) { | 35 | if(ptelist[(vaddr & 0xff000) >> PAGE_SHIFT] != pte) { |
37 | sun3_put_pte(vaddr, pte); | 36 | sun3_put_pte(vaddr, pte); |
38 | ptelist[(vaddr & 0xff000) >> PAGE_SHIFT] = pte; | 37 | ptelist[(vaddr & 0xff000) >> PAGE_SHIFT] = pte; |
diff --git a/arch/m68k/sun3/idprom.c b/arch/m68k/sun3/idprom.c index cfe9aa422343..9c23f506d60d 100644 --- a/arch/m68k/sun3/idprom.c +++ b/arch/m68k/sun3/idprom.c | |||
@@ -64,12 +64,14 @@ static void __init display_system_type(unsigned char machtype) | |||
64 | for (i = 0; i < NUM_SUN_MACHINES; i++) { | 64 | for (i = 0; i < NUM_SUN_MACHINES; i++) { |
65 | if(Sun_Machines[i].id_machtype == machtype) { | 65 | if(Sun_Machines[i].id_machtype == machtype) { |
66 | if (machtype != (SM_SUN4M_OBP | 0x00)) | 66 | if (machtype != (SM_SUN4M_OBP | 0x00)) |
67 | printk("TYPE: %s\n", Sun_Machines[i].name); | 67 | pr_info("TYPE: %s\n", Sun_Machines[i].name); |
68 | else { | 68 | else { |
69 | #if 0 | 69 | #if 0 |
70 | char sysname[128]; | ||
71 | |||
70 | prom_getproperty(prom_root_node, "banner-name", | 72 | prom_getproperty(prom_root_node, "banner-name", |
71 | sysname, sizeof(sysname)); | 73 | sysname, sizeof(sysname)); |
72 | printk("TYPE: %s\n", sysname); | 74 | pr_info("TYPE: %s\n", sysname); |
73 | #endif | 75 | #endif |
74 | } | 76 | } |
75 | return; | 77 | return; |
@@ -125,5 +127,5 @@ void __init idprom_init(void) | |||
125 | 127 | ||
126 | display_system_type(idprom->id_machtype); | 128 | display_system_type(idprom->id_machtype); |
127 | 129 | ||
128 | printk("Ethernet address: %pM\n", idprom->id_ethaddr); | 130 | pr_info("Ethernet address: %pM\n", idprom->id_ethaddr); |
129 | } | 131 | } |
diff --git a/arch/m68k/sun3/mmu_emu.c b/arch/m68k/sun3/mmu_emu.c index 0f95134e9b85..e9d7fbe4d5ae 100644 --- a/arch/m68k/sun3/mmu_emu.c +++ b/arch/m68k/sun3/mmu_emu.c | |||
@@ -72,21 +72,21 @@ void print_pte (pte_t pte) | |||
72 | #if 0 | 72 | #if 0 |
73 | /* Verbose version. */ | 73 | /* Verbose version. */ |
74 | unsigned long val = pte_val (pte); | 74 | unsigned long val = pte_val (pte); |
75 | printk (" pte=%lx [addr=%lx", | 75 | pr_cont(" pte=%lx [addr=%lx", |
76 | val, (val & SUN3_PAGE_PGNUM_MASK) << PAGE_SHIFT); | 76 | val, (val & SUN3_PAGE_PGNUM_MASK) << PAGE_SHIFT); |
77 | if (val & SUN3_PAGE_VALID) printk (" valid"); | 77 | if (val & SUN3_PAGE_VALID) pr_cont(" valid"); |
78 | if (val & SUN3_PAGE_WRITEABLE) printk (" write"); | 78 | if (val & SUN3_PAGE_WRITEABLE) pr_cont(" write"); |
79 | if (val & SUN3_PAGE_SYSTEM) printk (" sys"); | 79 | if (val & SUN3_PAGE_SYSTEM) pr_cont(" sys"); |
80 | if (val & SUN3_PAGE_NOCACHE) printk (" nocache"); | 80 | if (val & SUN3_PAGE_NOCACHE) pr_cont(" nocache"); |
81 | if (val & SUN3_PAGE_ACCESSED) printk (" accessed"); | 81 | if (val & SUN3_PAGE_ACCESSED) pr_cont(" accessed"); |
82 | if (val & SUN3_PAGE_MODIFIED) printk (" modified"); | 82 | if (val & SUN3_PAGE_MODIFIED) pr_cont(" modified"); |
83 | switch (val & SUN3_PAGE_TYPE_MASK) { | 83 | switch (val & SUN3_PAGE_TYPE_MASK) { |
84 | case SUN3_PAGE_TYPE_MEMORY: printk (" memory"); break; | 84 | case SUN3_PAGE_TYPE_MEMORY: pr_cont(" memory"); break; |
85 | case SUN3_PAGE_TYPE_IO: printk (" io"); break; | 85 | case SUN3_PAGE_TYPE_IO: pr_cont(" io"); break; |
86 | case SUN3_PAGE_TYPE_VME16: printk (" vme16"); break; | 86 | case SUN3_PAGE_TYPE_VME16: pr_cont(" vme16"); break; |
87 | case SUN3_PAGE_TYPE_VME32: printk (" vme32"); break; | 87 | case SUN3_PAGE_TYPE_VME32: pr_cont(" vme32"); break; |
88 | } | 88 | } |
89 | printk ("]\n"); | 89 | pr_cont("]\n"); |
90 | #else | 90 | #else |
91 | /* Terse version. More likely to fit on a line. */ | 91 | /* Terse version. More likely to fit on a line. */ |
92 | unsigned long val = pte_val (pte); | 92 | unsigned long val = pte_val (pte); |
@@ -108,7 +108,7 @@ void print_pte (pte_t pte) | |||
108 | default: type = "unknown?"; break; | 108 | default: type = "unknown?"; break; |
109 | } | 109 | } |
110 | 110 | ||
111 | printk (" pte=%08lx [%07lx %s %s]\n", | 111 | pr_cont(" pte=%08lx [%07lx %s %s]\n", |
112 | val, (val & SUN3_PAGE_PGNUM_MASK) << PAGE_SHIFT, flags, type); | 112 | val, (val & SUN3_PAGE_PGNUM_MASK) << PAGE_SHIFT, flags, type); |
113 | #endif | 113 | #endif |
114 | } | 114 | } |
@@ -116,7 +116,7 @@ void print_pte (pte_t pte) | |||
116 | /* Print the PTE value for a given virtual address. For debugging. */ | 116 | /* Print the PTE value for a given virtual address. For debugging. */ |
117 | void print_pte_vaddr (unsigned long vaddr) | 117 | void print_pte_vaddr (unsigned long vaddr) |
118 | { | 118 | { |
119 | printk (" vaddr=%lx [%02lx]", vaddr, sun3_get_segmap (vaddr)); | 119 | pr_cont(" vaddr=%lx [%02lx]", vaddr, sun3_get_segmap (vaddr)); |
120 | print_pte (__pte (sun3_get_pte (vaddr))); | 120 | print_pte (__pte (sun3_get_pte (vaddr))); |
121 | } | 121 | } |
122 | 122 | ||
@@ -153,7 +153,7 @@ void __init mmu_emu_init(unsigned long bootmem_end) | |||
153 | 153 | ||
154 | if(!pmeg_alloc[i]) { | 154 | if(!pmeg_alloc[i]) { |
155 | #ifdef DEBUG_MMU_EMU | 155 | #ifdef DEBUG_MMU_EMU |
156 | printk("freed: "); | 156 | pr_info("freed:"); |
157 | print_pte_vaddr (seg); | 157 | print_pte_vaddr (seg); |
158 | #endif | 158 | #endif |
159 | sun3_put_segmap(seg, SUN3_INVALID_PMEG); | 159 | sun3_put_segmap(seg, SUN3_INVALID_PMEG); |
@@ -165,7 +165,7 @@ void __init mmu_emu_init(unsigned long bootmem_end) | |||
165 | if (sun3_get_segmap (seg) != SUN3_INVALID_PMEG) { | 165 | if (sun3_get_segmap (seg) != SUN3_INVALID_PMEG) { |
166 | #ifdef DEBUG_PROM_MAPS | 166 | #ifdef DEBUG_PROM_MAPS |
167 | for(i = 0; i < 16; i++) { | 167 | for(i = 0; i < 16; i++) { |
168 | printk ("mapped:"); | 168 | pr_info("mapped:"); |
169 | print_pte_vaddr (seg + (i*PAGE_SIZE)); | 169 | print_pte_vaddr (seg + (i*PAGE_SIZE)); |
170 | break; | 170 | break; |
171 | } | 171 | } |
@@ -293,8 +293,8 @@ inline void mmu_emu_map_pmeg (int context, int vaddr) | |||
293 | 293 | ||
294 | 294 | ||
295 | #ifdef DEBUG_MMU_EMU | 295 | #ifdef DEBUG_MMU_EMU |
296 | printk("mmu_emu_map_pmeg: pmeg %x to context %d vaddr %x\n", | 296 | pr_info("mmu_emu_map_pmeg: pmeg %x to context %d vaddr %x\n", |
297 | curr_pmeg, context, vaddr); | 297 | curr_pmeg, context, vaddr); |
298 | #endif | 298 | #endif |
299 | 299 | ||
300 | /* Invalidate old mapping for the pmeg, if any */ | 300 | /* Invalidate old mapping for the pmeg, if any */ |
@@ -370,7 +370,7 @@ int mmu_emu_handle_fault (unsigned long vaddr, int read_flag, int kernel_fault) | |||
370 | } | 370 | } |
371 | 371 | ||
372 | #ifdef DEBUG_MMU_EMU | 372 | #ifdef DEBUG_MMU_EMU |
373 | printk ("mmu_emu_handle_fault: vaddr=%lx type=%s crp=%p\n", | 373 | pr_info("mmu_emu_handle_fault: vaddr=%lx type=%s crp=%p\n", |
374 | vaddr, read_flag ? "read" : "write", crp); | 374 | vaddr, read_flag ? "read" : "write", crp); |
375 | #endif | 375 | #endif |
376 | 376 | ||
@@ -378,14 +378,15 @@ int mmu_emu_handle_fault (unsigned long vaddr, int read_flag, int kernel_fault) | |||
378 | offset = (vaddr >> SUN3_PTE_SIZE_BITS) & 0xF; | 378 | offset = (vaddr >> SUN3_PTE_SIZE_BITS) & 0xF; |
379 | 379 | ||
380 | #ifdef DEBUG_MMU_EMU | 380 | #ifdef DEBUG_MMU_EMU |
381 | printk ("mmu_emu_handle_fault: segment=%lx offset=%lx\n", segment, offset); | 381 | pr_info("mmu_emu_handle_fault: segment=%lx offset=%lx\n", segment, |
382 | offset); | ||
382 | #endif | 383 | #endif |
383 | 384 | ||
384 | pte = (pte_t *) pgd_val (*(crp + segment)); | 385 | pte = (pte_t *) pgd_val (*(crp + segment)); |
385 | 386 | ||
386 | //todo: next line should check for valid pmd properly. | 387 | //todo: next line should check for valid pmd properly. |
387 | if (!pte) { | 388 | if (!pte) { |
388 | // printk ("mmu_emu_handle_fault: invalid pmd\n"); | 389 | // pr_info("mmu_emu_handle_fault: invalid pmd\n"); |
389 | return 0; | 390 | return 0; |
390 | } | 391 | } |
391 | 392 | ||
@@ -417,9 +418,9 @@ int mmu_emu_handle_fault (unsigned long vaddr, int read_flag, int kernel_fault) | |||
417 | pte_val (*pte) |= SUN3_PAGE_ACCESSED; | 418 | pte_val (*pte) |= SUN3_PAGE_ACCESSED; |
418 | 419 | ||
419 | #ifdef DEBUG_MMU_EMU | 420 | #ifdef DEBUG_MMU_EMU |
420 | printk ("seg:%d crp:%p ->", get_fs().seg, crp); | 421 | pr_info("seg:%ld crp:%p ->", get_fs().seg, crp); |
421 | print_pte_vaddr (vaddr); | 422 | print_pte_vaddr (vaddr); |
422 | printk ("\n"); | 423 | pr_cont("\n"); |
423 | #endif | 424 | #endif |
424 | 425 | ||
425 | return 1; | 426 | return 1; |
diff --git a/arch/m68k/sun3/prom/printf.c b/arch/m68k/sun3/prom/printf.c index df85018f487a..5b82bea03493 100644 --- a/arch/m68k/sun3/prom/printf.c +++ b/arch/m68k/sun3/prom/printf.c | |||
@@ -39,7 +39,7 @@ prom_printf(char *fmt, ...) | |||
39 | 39 | ||
40 | #ifdef CONFIG_KGDB | 40 | #ifdef CONFIG_KGDB |
41 | if (kgdb_initialized) { | 41 | if (kgdb_initialized) { |
42 | printk("kgdb_initialized = %d\n", kgdb_initialized); | 42 | pr_info("kgdb_initialized = %d\n", kgdb_initialized); |
43 | putpacket(bptr, 1); | 43 | putpacket(bptr, 1); |
44 | } else | 44 | } else |
45 | #else | 45 | #else |
diff --git a/arch/m68k/sun3/sun3dvma.c b/arch/m68k/sun3/sun3dvma.c index b37521a5259d..d36bd15f9fdc 100644 --- a/arch/m68k/sun3/sun3dvma.c +++ b/arch/m68k/sun3/sun3dvma.c | |||
@@ -62,7 +62,7 @@ static void print_use(void) | |||
62 | int i; | 62 | int i; |
63 | int j = 0; | 63 | int j = 0; |
64 | 64 | ||
65 | printk("dvma entry usage:\n"); | 65 | pr_info("dvma entry usage:\n"); |
66 | 66 | ||
67 | for(i = 0; i < IOMMU_TOTAL_ENTRIES; i++) { | 67 | for(i = 0; i < IOMMU_TOTAL_ENTRIES; i++) { |
68 | if(!iommu_use[i]) | 68 | if(!iommu_use[i]) |
@@ -70,16 +70,15 @@ static void print_use(void) | |||
70 | 70 | ||
71 | j++; | 71 | j++; |
72 | 72 | ||
73 | printk("dvma entry: %08lx len %08lx\n", | 73 | pr_info("dvma entry: %08x len %08lx\n", |
74 | ( i << DVMA_PAGE_SHIFT) + DVMA_START, | 74 | (i << DVMA_PAGE_SHIFT) + DVMA_START, iommu_use[i]); |
75 | iommu_use[i]); | ||
76 | } | 75 | } |
77 | 76 | ||
78 | printk("%d entries in use total\n", j); | 77 | pr_info("%d entries in use total\n", j); |
79 | 78 | ||
80 | printk("allocation/free calls: %lu/%lu\n", dvma_allocs, dvma_frees); | 79 | pr_info("allocation/free calls: %lu/%lu\n", dvma_allocs, dvma_frees); |
81 | printk("allocation/free bytes: %Lx/%Lx\n", dvma_alloc_bytes, | 80 | pr_info("allocation/free bytes: %Lx/%Lx\n", dvma_alloc_bytes, |
82 | dvma_free_bytes); | 81 | dvma_free_bytes); |
83 | } | 82 | } |
84 | 83 | ||
85 | static void print_holes(struct list_head *holes) | 84 | static void print_holes(struct list_head *holes) |
@@ -88,18 +87,18 @@ static void print_holes(struct list_head *holes) | |||
88 | struct list_head *cur; | 87 | struct list_head *cur; |
89 | struct hole *hole; | 88 | struct hole *hole; |
90 | 89 | ||
91 | printk("listing dvma holes\n"); | 90 | pr_info("listing dvma holes\n"); |
92 | list_for_each(cur, holes) { | 91 | list_for_each(cur, holes) { |
93 | hole = list_entry(cur, struct hole, list); | 92 | hole = list_entry(cur, struct hole, list); |
94 | 93 | ||
95 | if((hole->start == 0) && (hole->end == 0) && (hole->size == 0)) | 94 | if((hole->start == 0) && (hole->end == 0) && (hole->size == 0)) |
96 | continue; | 95 | continue; |
97 | 96 | ||
98 | printk("hole: start %08lx end %08lx size %08lx\n", hole->start, hole->end, hole->size); | 97 | pr_info("hole: start %08lx end %08lx size %08lx\n", |
98 | hole->start, hole->end, hole->size); | ||
99 | } | 99 | } |
100 | 100 | ||
101 | printk("end of hole listing...\n"); | 101 | pr_info("end of hole listing...\n"); |
102 | |||
103 | } | 102 | } |
104 | #endif /* DVMA_DEBUG */ | 103 | #endif /* DVMA_DEBUG */ |
105 | 104 | ||
@@ -137,7 +136,7 @@ static inline struct hole *rmcache(void) | |||
137 | 136 | ||
138 | if(list_empty(&hole_cache)) { | 137 | if(list_empty(&hole_cache)) { |
139 | if(!refill()) { | 138 | if(!refill()) { |
140 | printk("out of dvma hole cache!\n"); | 139 | pr_crit("out of dvma hole cache!\n"); |
141 | BUG(); | 140 | BUG(); |
142 | } | 141 | } |
143 | } | 142 | } |
@@ -157,7 +156,7 @@ static inline unsigned long get_baddr(int len, unsigned long align) | |||
157 | 156 | ||
158 | if(list_empty(&hole_list)) { | 157 | if(list_empty(&hole_list)) { |
159 | #ifdef DVMA_DEBUG | 158 | #ifdef DVMA_DEBUG |
160 | printk("out of dvma holes! (printing hole cache)\n"); | 159 | pr_crit("out of dvma holes! (printing hole cache)\n"); |
161 | print_holes(&hole_cache); | 160 | print_holes(&hole_cache); |
162 | print_use(); | 161 | print_use(); |
163 | #endif | 162 | #endif |
@@ -195,7 +194,7 @@ static inline unsigned long get_baddr(int len, unsigned long align) | |||
195 | 194 | ||
196 | } | 195 | } |
197 | 196 | ||
198 | printk("unable to find dvma hole!\n"); | 197 | pr_crit("unable to find dvma hole!\n"); |
199 | BUG(); | 198 | BUG(); |
200 | return 0; | 199 | return 0; |
201 | } | 200 | } |
@@ -287,15 +286,12 @@ unsigned long dvma_map_align(unsigned long kaddr, int len, int align) | |||
287 | len = 0x800; | 286 | len = 0x800; |
288 | 287 | ||
289 | if(!kaddr || !len) { | 288 | if(!kaddr || !len) { |
290 | // printk("error: kaddr %lx len %x\n", kaddr, len); | 289 | // pr_err("error: kaddr %lx len %x\n", kaddr, len); |
291 | // *(int *)4 = 0; | 290 | // *(int *)4 = 0; |
292 | return 0; | 291 | return 0; |
293 | } | 292 | } |
294 | 293 | ||
295 | #ifdef DEBUG | 294 | pr_debug("dvma_map request %08x bytes from %08lx\n", len, kaddr); |
296 | printk("dvma_map request %08lx bytes from %08lx\n", | ||
297 | len, kaddr); | ||
298 | #endif | ||
299 | off = kaddr & ~DVMA_PAGE_MASK; | 295 | off = kaddr & ~DVMA_PAGE_MASK; |
300 | kaddr &= PAGE_MASK; | 296 | kaddr &= PAGE_MASK; |
301 | len += off; | 297 | len += off; |
@@ -307,12 +303,13 @@ unsigned long dvma_map_align(unsigned long kaddr, int len, int align) | |||
307 | align = ((align + (DVMA_PAGE_SIZE-1)) & DVMA_PAGE_MASK); | 303 | align = ((align + (DVMA_PAGE_SIZE-1)) & DVMA_PAGE_MASK); |
308 | 304 | ||
309 | baddr = get_baddr(len, align); | 305 | baddr = get_baddr(len, align); |
310 | // printk("using baddr %lx\n", baddr); | 306 | // pr_info("using baddr %lx\n", baddr); |
311 | 307 | ||
312 | if(!dvma_map_iommu(kaddr, baddr, len)) | 308 | if(!dvma_map_iommu(kaddr, baddr, len)) |
313 | return (baddr + off); | 309 | return (baddr + off); |
314 | 310 | ||
315 | printk("dvma_map failed kaddr %lx baddr %lx len %x\n", kaddr, baddr, len); | 311 | pr_crit("dvma_map failed kaddr %lx baddr %lx len %x\n", kaddr, baddr, |
312 | len); | ||
316 | BUG(); | 313 | BUG(); |
317 | return 0; | 314 | return 0; |
318 | } | 315 | } |
@@ -343,9 +340,7 @@ void *dvma_malloc_align(unsigned long len, unsigned long align) | |||
343 | if(!len) | 340 | if(!len) |
344 | return NULL; | 341 | return NULL; |
345 | 342 | ||
346 | #ifdef DEBUG | 343 | pr_debug("dvma_malloc request %lx bytes\n", len); |
347 | printk("dvma_malloc request %lx bytes\n", len); | ||
348 | #endif | ||
349 | len = ((len + (DVMA_PAGE_SIZE-1)) & DVMA_PAGE_MASK); | 344 | len = ((len + (DVMA_PAGE_SIZE-1)) & DVMA_PAGE_MASK); |
350 | 345 | ||
351 | if((kaddr = __get_free_pages(GFP_ATOMIC, get_order(len))) == 0) | 346 | if((kaddr = __get_free_pages(GFP_ATOMIC, get_order(len))) == 0) |
@@ -364,10 +359,8 @@ void *dvma_malloc_align(unsigned long len, unsigned long align) | |||
364 | return NULL; | 359 | return NULL; |
365 | } | 360 | } |
366 | 361 | ||
367 | #ifdef DEBUG | 362 | pr_debug("mapped %08lx bytes %08lx kern -> %08lx bus\n", len, kaddr, |
368 | printk("mapped %08lx bytes %08lx kern -> %08lx bus\n", | 363 | baddr); |
369 | len, kaddr, baddr); | ||
370 | #endif | ||
371 | 364 | ||
372 | return (void *)vaddr; | 365 | return (void *)vaddr; |
373 | 366 | ||