diff options
author | Greg Watson <jarrah@users.sourceforge.net> | 2004-03-17 22:04:22 +0000 |
---|---|---|
committer | Greg Watson <jarrah@users.sourceforge.net> | 2004-03-17 22:04:22 +0000 |
commit | 7575fba6f3949596a0cc301e2deca38833c9a982 (patch) | |
tree | c8ffd45bb9c114e7b6573e15177e3fe1f5e1f9ee /src/pc80/ide/ide.c | |
parent | 9bc501825962dc630405dcd413ea67a12ebfedf9 (diff) |
remove debugging
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@1424 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'src/pc80/ide/ide.c')
-rw-r--r-- | src/pc80/ide/ide.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/src/pc80/ide/ide.c b/src/pc80/ide/ide.c index fa05f88989..f511a559a9 100644 --- a/src/pc80/ide/ide.c +++ b/src/pc80/ide/ide.c @@ -761,7 +761,6 @@ atapi_request_sense(struct harddisk_info *info, uint8_t *asc, uint8_t *ascq) { uint8_t packet[12]; uint8_t buf[18]; - int i; memset(packet, 0, sizeof packet); packet[0] = 0x03; /* REQUEST SENSE */ @@ -769,10 +768,6 @@ atapi_request_sense(struct harddisk_info *info, uint8_t *asc, uint8_t *ascq) if (pio_packet(info, 1, packet, sizeof packet, buf, sizeof buf) != 0) return -1; - for (i = 0; i < sizeof buf; i++) - printk_debug("%02x ", buf[i]); - printk_debug("\n"); - if (asc) *asc = buf[12]; if (ascq) @@ -828,7 +823,6 @@ ok: | (uint32_t) buf[5] << 16 | (uint32_t) buf[6] << 8 | (uint32_t) buf[7] << 0; - printk_debug("block_len=%u\n", block_len); if (block_len != IDE_SECTOR_SIZE && block_len != CDROM_SECTOR_SIZE) { printk_info("Unsupported sector size %u\n", block_len); return -1; @@ -840,7 +834,6 @@ ok: | (uint32_t) buf[2] << 8 | (uint32_t) buf[3] << 0; - printk_debug("sectors=%u\n", sectors); if (info->hw_sector_size == CDROM_SECTOR_SIZE) sectors <<= 2; /* # of sectors in 512-byte "soft" sector */ if (sectors != info->sectors) |