mirror of
https://github.com/kanjitalk755/macemu.git
synced 2024-12-25 17:29:19 +00:00
the current ethernet code is not direct addressing clean, so enable it only
if real addressing mode is available (e.g. this excludes win32 platforms for now)
This commit is contained in:
parent
c044b1d8eb
commit
7fcb230d67
@ -333,6 +333,8 @@ void DoPatchNameRegistry(void)
|
||||
}
|
||||
|
||||
// Create "ethernet"
|
||||
// XXX the current ethernet driver is not direct addressing clean
|
||||
#if REAL_ADDRESSING
|
||||
SheepRegEntryID ethernet;
|
||||
if (!RegistryCStrEntryCreate(device_tree.addr(), "ethernet", ethernet.addr())) {
|
||||
RegistryPropertyCreateStr(ethernet.addr(), "AAPL,connector", "ethernet");
|
||||
@ -343,6 +345,7 @@ void DoPatchNameRegistry(void)
|
||||
// local-mac-address
|
||||
// max-frame-size 2048
|
||||
}
|
||||
#endif
|
||||
}
|
||||
D(bug("done.\n"));
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user