Lines Matching refs:printk
213 printk("%s: %s: status=0x%02x { ", name, msg, stat & 0xff); in dump_status()
214 if (stat & BUSY_STAT) printk("Busy "); in dump_status()
215 if (stat & READY_STAT) printk("DriveReady "); in dump_status()
216 if (stat & WRERR_STAT) printk("WriteFault "); in dump_status()
217 if (stat & SEEK_STAT) printk("SeekComplete "); in dump_status()
218 if (stat & DRQ_STAT) printk("DataRequest "); in dump_status()
219 if (stat & ECC_STAT) printk("CorrectedError "); in dump_status()
220 if (stat & INDEX_STAT) printk("Index "); in dump_status()
221 if (stat & ERR_STAT) printk("Error "); in dump_status()
222 printk("}\n"); in dump_status()
227 printk("%s: %s: error=0x%02x { ", name, msg, hd_error & 0xff); in dump_status()
228 if (hd_error & BBD_ERR) printk("BadSector "); in dump_status()
229 if (hd_error & ECC_ERR) printk("UncorrectableError "); in dump_status()
230 if (hd_error & ID_ERR) printk("SectorIdNotFound "); in dump_status()
231 if (hd_error & ABRT_ERR) printk("DriveStatusError "); in dump_status()
232 if (hd_error & TRK0_ERR) printk("TrackZeroNotFound "); in dump_status()
233 if (hd_error & MARK_ERR) printk("AddrMarkNotFound "); in dump_status()
234 printk("}"); in dump_status()
236 printk(", CHS=%d/%d/%d", (inb(HD_HCYL)<<8) + inb(HD_LCYL), in dump_status()
239 printk(", sector=%ld", blk_rq_pos(hd_req)); in dump_status()
241 printk("\n"); in dump_status()
244 printk("%s: %s: status=0x%02x.\n", name, msg, stat & 0xff); in dump_status()
249 printk("%s: %s: error=0x%02x.\n", name, msg, hd_error & 0xff); in dump_status()
361 printk("hd: controller still busy\n"); in reset_controller()
363 printk("hd: controller reset failed: %02x\n", hd_error); in reset_controller()
469 printk("%s: read: sector %ld, remaining = %u, buffer=%p\n", in read_intr()
543 printk("%s: timeout\n", name); in hd_times_out()
546 printk("%s: too many errors\n", name); in hd_times_out()
562 printk("%s: cannot handle device with more than 16 heads - giving up\n", req->rq_disk->disk_name); in do_special_op()
608 printk("%s: bad access: block=%d, count=%d\n", in hd_request()
624 printk("%s: %sing: CHS=%d/%d/%d, sectors=%d, buffer=%p\n", in hd_request()
649 printk("unknown hd-command\n"); in hd_request()
730 printk("hd: no drives specified - use hd=cyl,head,sectors" in hd_init()
749 printk("%s: %luMB, CHS=%d/%d/%d\n", in hd_init()
755 printk("hd: unable to get IRQ%d for the hard disk driver\n", in hd_init()
760 printk(KERN_WARNING "hd: port 0x%x busy\n", HD_DATA); in hd_init()
764 printk(KERN_WARNING "hd: port 0x%x busy\n", HD_CMD); in hd_init()