# | Line 333 | Line 333 | void DoPatchNameRegistry(void) | |
---|---|---|
333 | } | |
334 | ||
335 | // Create "ethernet" | |
336 | + | // XXX the current ethernet driver is not direct addressing clean |
337 | + | #if REAL_ADDRESSING |
338 | SheepRegEntryID ethernet; | |
339 | if (!RegistryCStrEntryCreate(device_tree.addr(), "ethernet", ethernet.addr())) { | |
340 | RegistryPropertyCreateStr(ethernet.addr(), "AAPL,connector", "ethernet"); | |
# | Line 343 | Line 345 | void DoPatchNameRegistry(void) | |
345 | // local-mac-address | |
346 | // max-frame-size 2048 | |
347 | } | |
348 | + | #endif |
349 | } | |
350 | D(bug("done.\n")); | |
351 | } |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |