From 7fcb230d673b5b27e43aeacbd95e08b48160e4a8 Mon Sep 17 00:00:00 2001 From: gbeauche <> Date: Sat, 19 Mar 2005 04:31:59 +0000 Subject: [PATCH] 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) --- SheepShaver/src/name_registry.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/SheepShaver/src/name_registry.cpp b/SheepShaver/src/name_registry.cpp index f9b28947..d734a9e8 100644 --- a/SheepShaver/src/name_registry.cpp +++ b/SheepShaver/src/name_registry.cpp @@ -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")); }