summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/machine/i82371eb_ide.h
blob: 66f08e3330e01eedb6aef50668960e4f68d2fe91 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
// license: BSD-3-Clause
// copyright-holders: Angelo Salese

#ifndef MAME_MACHINE_I82371EB_IDE_H
#define MAME_MACHINE_I82371EB_IDE_H

#pragma once

#include "machine/i82371sb.h"

class i82371eb_ide_device : public i82371sb_ide_device
{
public:
	template <typename T>
	i82371eb_ide_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock, T &&cpu_tag)
		: i82371eb_ide_device(mconfig, tag, owner, clock)
	{
		set_cpu_tag(std::forward<T>(cpu_tag));
	}

	i82371eb_ide_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock);
};

DECLARE_DEVICE_TYPE(I82371EB_IDE, i82371eb_ide_device)

#endif // MAME_MACHINE_I82371EB_IDE_H