summaryrefslogtreecommitdiffstats
path: root/sys/dev/ata/ata-all.c
diff options
context:
space:
mode:
authorsos <sos@FreeBSD.org>2002-03-30 16:51:47 +0000
committersos <sos@FreeBSD.org>2002-03-30 16:51:47 +0000
commit23978f436eb867d1acc3e95199e5112904cff76d (patch)
tree3f05bb784f3b7c2c4c388607a8377d932d1c131f /sys/dev/ata/ata-all.c
parentde9ccb62a4fa765bda08d7b0bec05e853c87fe22 (diff)
downloadFreeBSD-src-23978f436eb867d1acc3e95199e5112904cff76d.zip
FreeBSD-src-23978f436eb867d1acc3e95199e5112904cff76d.tar.gz
Remove debug output in last commit.
Diffstat (limited to 'sys/dev/ata/ata-all.c')
-rw-r--r--sys/dev/ata/ata-all.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/sys/dev/ata/ata-all.c b/sys/dev/ata/ata-all.c
index 813bb82..1dae0c4 100644
--- a/sys/dev/ata/ata-all.c
+++ b/sys/dev/ata/ata-all.c
@@ -548,16 +548,6 @@ ata_boot_attach(void)
ad_attach(&ch->device[MASTER]);
if (ch->devices & ATA_ATA_SLAVE)
ad_attach(&ch->device[SLAVE]);
- if (ctlr >= 2) {
- u_int8_t id1, id2, fan;
-
- ata_drawersensor(&ch->device[MASTER], 1, 0x4e, 0);
- id1 = ata_drawersensor(&ch->device[MASTER], 0, 0x4f, 0);
- ata_drawersensor(&ch->device[MASTER], 1, 0x4e, 0x80);
- id2 = ata_drawersensor(&ch->device[MASTER], 0, 0x4f, 0);
- fan = ata_drawersensor(&ch->device[MASTER], 0, 0x28, 0);
- printf("winbond ID 0x%02x 0x%02x 0x%02x\n", id1, id2, fan);
- }
}
ata_raid_attach();
#endif
OpenPOWER on IntegriCloud