ViewVC Help
View File | Revision Log | Show Annotations | Revision Graph | Root Listing
root/cebix/SheepShaver/src/name_registry.cpp
(Generate patch)

Comparing SheepShaver/src/name_registry.cpp (file contents):
Revision 1.18 by gbeauche, 2005-03-19T04:31:59Z vs.
Revision 1.19 by gbeauche, 2005-07-03T22:02:01Z

# Line 60 | Line 60 | static const uint8 video_driver[] = {
60  
61   // Ethernet driver stub
62   static const uint8 ethernet_driver[] = {
63 + #ifdef USE_ETHER_FULL_DRIVER
64 + #include "EthernetDriverFull.i"
65 + #else
66   #include "EthernetDriverStub.i"
67 + #endif
68   };
69  
70   // Helper for RegEntryID
# Line 333 | Line 337 | void DoPatchNameRegistry(void)
337                  }
338  
339                  // Create "ethernet"
336                // XXX the current ethernet driver is not direct addressing clean
337 #if REAL_ADDRESSING
340                  SheepRegEntryID ethernet;
341                  if (!RegistryCStrEntryCreate(device_tree.addr(), "ethernet", ethernet.addr())) {
342                          RegistryPropertyCreateStr(ethernet.addr(), "AAPL,connector", "ethernet");
# Line 345 | Line 347 | void DoPatchNameRegistry(void)
347                          // local-mac-address
348                          // max-frame-size 2048
349                  }
348 #endif
350          }
351          D(bug("done.\n"));
352   }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines