diff options
Diffstat (limited to 'drivers/scsi/aic7xxx/aic7770.c')
-rw-r--r-- | drivers/scsi/aic7xxx/aic7770.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/drivers/scsi/aic7xxx/aic7770.c b/drivers/scsi/aic7xxx/aic7770.c index 6d86a9be538f..5000bd69c13f 100644 --- a/drivers/scsi/aic7xxx/aic7770.c +++ b/drivers/scsi/aic7xxx/aic7770.c | |||
@@ -170,7 +170,7 @@ aic7770_config(struct ahc_softc *ahc, struct aic7770_identity *entry, u_int io) | |||
170 | case 15: | 170 | case 15: |
171 | break; | 171 | break; |
172 | default: | 172 | default: |
173 | printf("aic7770_config: invalid irq setting %d\n", intdef); | 173 | printk("aic7770_config: invalid irq setting %d\n", intdef); |
174 | return (ENXIO); | 174 | return (ENXIO); |
175 | } | 175 | } |
176 | 176 | ||
@@ -221,7 +221,7 @@ aic7770_config(struct ahc_softc *ahc, struct aic7770_identity *entry, u_int io) | |||
221 | break; | 221 | break; |
222 | } | 222 | } |
223 | if (have_seeprom == 0) { | 223 | if (have_seeprom == 0) { |
224 | free(ahc->seep_config, M_DEVBUF); | 224 | kfree(ahc->seep_config); |
225 | ahc->seep_config = NULL; | 225 | ahc->seep_config = NULL; |
226 | } | 226 | } |
227 | 227 | ||
@@ -293,7 +293,7 @@ aha2840_load_seeprom(struct ahc_softc *ahc) | |||
293 | sc = ahc->seep_config; | 293 | sc = ahc->seep_config; |
294 | 294 | ||
295 | if (bootverbose) | 295 | if (bootverbose) |
296 | printf("%s: Reading SEEPROM...", ahc_name(ahc)); | 296 | printk("%s: Reading SEEPROM...", ahc_name(ahc)); |
297 | have_seeprom = ahc_read_seeprom(&sd, (uint16_t *)sc, | 297 | have_seeprom = ahc_read_seeprom(&sd, (uint16_t *)sc, |
298 | /*start_addr*/0, sizeof(*sc)/2); | 298 | /*start_addr*/0, sizeof(*sc)/2); |
299 | 299 | ||
@@ -301,16 +301,16 @@ aha2840_load_seeprom(struct ahc_softc *ahc) | |||
301 | 301 | ||
302 | if (ahc_verify_cksum(sc) == 0) { | 302 | if (ahc_verify_cksum(sc) == 0) { |
303 | if(bootverbose) | 303 | if(bootverbose) |
304 | printf ("checksum error\n"); | 304 | printk ("checksum error\n"); |
305 | have_seeprom = 0; | 305 | have_seeprom = 0; |
306 | } else if (bootverbose) { | 306 | } else if (bootverbose) { |
307 | printf("done.\n"); | 307 | printk("done.\n"); |
308 | } | 308 | } |
309 | } | 309 | } |
310 | 310 | ||
311 | if (!have_seeprom) { | 311 | if (!have_seeprom) { |
312 | if (bootverbose) | 312 | if (bootverbose) |
313 | printf("%s: No SEEPROM available\n", ahc_name(ahc)); | 313 | printk("%s: No SEEPROM available\n", ahc_name(ahc)); |
314 | ahc->flags |= AHC_USEDEFAULTS; | 314 | ahc->flags |= AHC_USEDEFAULTS; |
315 | } else { | 315 | } else { |
316 | /* | 316 | /* |