|
@@ -1288,6 +1288,11 @@ extern struct bus_type ide_bus_type;
|
|
#define ide_id_has_flush_cache_ext(id) \
|
|
#define ide_id_has_flush_cache_ext(id) \
|
|
(((id)->cfs_enable_2 & 0x2400) == 0x2400)
|
|
(((id)->cfs_enable_2 & 0x2400) == 0x2400)
|
|
|
|
|
|
|
|
+static inline void ide_dump_identify(u8 *id)
|
|
|
|
+{
|
|
|
|
+ print_hex_dump(KERN_INFO, "", DUMP_PREFIX_NONE, 16, 2, id, 512, 0);
|
|
|
|
+}
|
|
|
|
+
|
|
static inline int hwif_to_node(ide_hwif_t *hwif)
|
|
static inline int hwif_to_node(ide_hwif_t *hwif)
|
|
{
|
|
{
|
|
struct pci_dev *dev = hwif->pci_dev;
|
|
struct pci_dev *dev = hwif->pci_dev;
|