--- nono/vm/ethernet.h 2026/04/29 17:05:18 1.1.1.9 +++ nono/vm/ethernet.h 2026/04/29 17:05:21 1.1.1.10 @@ -15,8 +15,8 @@ // | // +--------+-------+ // v v -// LanceDevice RTL8019Device -// (LUNA, AM7990) (X68000, RTL8019) +// LanceDevice RTL8019ASDevice +// (LUNA, AM7990) (X68000, RTL8019AS) #pragma once @@ -29,7 +29,7 @@ class EthernetDevice : public IODevice { using inherited = IODevice; protected: - EthernetDevice(); + EthernetDevice(int objid_); public: virtual ~EthernetDevice() override; @@ -37,7 +37,7 @@ class EthernetDevice : public IODevice // 設定から MAC アドレスを取得するヘルパー関数。 // (MAC アドレスを保持するデバイスが呼ぶ) - static bool GetConfigMacAddr(macaddr_t *dst, bool accept_rom); + static bool GetConfigMacAddr(int n, macaddr_t *dst, bool accept_rom); protected: // ホストスレッドからの受信通知