aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/linux/ide.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/linux/ide.h b/include/linux/ide.h
index 7072c535f7cf..34542186fb15 100644
--- a/include/linux/ide.h
+++ b/include/linux/ide.h
@@ -1288,6 +1288,11 @@ extern struct bus_type ide_bus_type;
1288#define ide_id_has_flush_cache_ext(id) \ 1288#define ide_id_has_flush_cache_ext(id) \
1289 (((id)->cfs_enable_2 & 0x2400) == 0x2400) 1289 (((id)->cfs_enable_2 & 0x2400) == 0x2400)
1290 1290
1291static inline void ide_dump_identify(u8 *id)
1292{
1293 print_hex_dump(KERN_INFO, "", DUMP_PREFIX_NONE, 16, 2, id, 512, 0);
1294}
1295
1291static inline int hwif_to_node(ide_hwif_t *hwif) 1296static inline int hwif_to_node(ide_hwif_t *hwif)
1292{ 1297{
1293 struct pci_dev *dev = hwif->pci_dev; 1298 struct pci_dev *dev = hwif->pci_dev;