summaryrefslogtreecommitdiff
path: root/sys/dev/ata/satavar.h
diff options
context:
space:
mode:
authorjdolecek <jdolecek@NetBSD.org>2018-06-21 21:52:15 +0000
committerjdolecek <jdolecek@NetBSD.org>2018-06-21 21:52:15 +0000
commita293f3bbc4091d916ea526e5ea93d16deb5fc3b2 (patch)
tree6256458af90e9c5728a6761ad4503ca6af2716ba /sys/dev/ata/satavar.h
parent82dc3e154e0a4a768436dd3fcf2f2dfd7c2c842c (diff)
split the port status reporting to new function sata_interpret_det()
so it can be called separately from sata_reset_interface() do not treat PHY offline as an error, it's pretty normal when there is no device actually connected debugging aid for PR kern/52372
Diffstat (limited to 'sys/dev/ata/satavar.h')
-rw-r--r--sys/dev/ata/satavar.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/dev/ata/satavar.h b/sys/dev/ata/satavar.h
index 8564bf43e44..d24d50f4bdd 100644
--- a/sys/dev/ata/satavar.h
+++ b/sys/dev/ata/satavar.h
@@ -1,4 +1,4 @@
-/* $NetBSD: satavar.h,v 1.9 2013/04/03 17:15:07 bouyer Exp $ */
+/* $NetBSD: satavar.h,v 1.10 2018/06/21 21:52:15 jdolecek Exp $ */
/*-
* Copyright (c) 2004 The NetBSD Foundation, Inc.
@@ -42,6 +42,7 @@
const char *sata_speed(uint32_t);
uint32_t sata_reset_interface(struct ata_channel *, bus_space_tag_t,
bus_space_handle_t, bus_space_handle_t, int);
+void sata_interpret_det(struct ata_channel *, uint32_t);
void sata_interpret_sig(struct ata_channel *, int, uint32_t);
#endif /* _DEV_ATA_SATAVAR_H_ */