aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/ata/ata-all.c
diff options
context:
space:
mode:
authorSøren Schmidt <sos@FreeBSD.org>2002-03-30 16:51:47 +0000
committerSøren Schmidt <sos@FreeBSD.org>2002-03-30 16:51:47 +0000
commit60378464bbe8c2b8840f9393178967edb1d90c75 (patch)
tree3f05bb784f3b7c2c4c388607a8377d932d1c131f /sys/dev/ata/ata-all.c
parent252f13ab5189b2f1d1202cbdd30e115e61404407 (diff)
downloadsrc-60378464bbe8c2b8840f9393178967edb1d90c75.tar.gz
src-60378464bbe8c2b8840f9393178967edb1d90c75.zip
Remove debug output in last commit.
Notes
Notes: svn path=/head/; revision=93436
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 813bb827f8e0..1dae0c45656c 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