summaryrefslogblamecommitdiffstatshomepage
path: root/src/devices/machine/i82541.h
blob: 2f94b773f7ecde5d06f7c6ff17339514db597d95 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13
14

                                     











                                                                                    
                                                                                                       

          

                                             









                                                  
// license:BSD-3-Clause
// copyright-holders:Olivier Galibert
// Intel I82541 ethernet controller

#ifndef I82541_H
#define I82541_H

#include "pci.h"

#define MCFG_I82541PI_ADD(_tag, _subdevice_id) \
	MCFG_PCI_DEVICE_ADD(_tag, I82541, 0x8086107c, 0x05, 0x020000, _subdevice_id)

class i82541_device : public pci_device {
public:
	i82541_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock);

protected:
	virtual void device_start() override;
	virtual void device_reset() override;

private:
	DECLARE_ADDRESS_MAP(registers_map, 32);
	DECLARE_ADDRESS_MAP(flash_map, 32);
	DECLARE_ADDRESS_MAP(registers_io_map, 32);
};

extern const device_type I82541;

#endif