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.15 by gbeauche, 2004-12-19T09:01:04Z vs.
Revision 1.18 by gbeauche, 2005-03-19T04:31:59Z

# Line 1 | Line 1
1   /*
2   *  name_registry.cpp - Name Registry handling
3   *
4 < *  SheepShaver (C) 1997-2004 Christian Bauer and Marc Hellwig
4 > *  SheepShaver (C) 1997-2005 Christian Bauer and Marc Hellwig
5   *
6   *  This program is free software; you can redistribute it and/or modify
7   *  it under the terms of the GNU General Public License as published by
# Line 131 | Line 131 | void DoPatchNameRegistry(void)
131                          case 80:        // 860
132                                  str = "PowerPC,860";
133                                  break;
134 +                        case 12:        // 7400, 7410, 7450, 7455, 7457
135 +                        case 0x800c:
136 +                        case 0x8000:
137 +                        case 0x8001:
138 +                        case 0x8002:
139 +                                str = "PowerPC,G4";
140 +                                break;
141                          default:
142                                  str = "PowerPC,???";
143                                  break;
# Line 326 | 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 336 | Line 345 | void DoPatchNameRegistry(void)
345                          // local-mac-address
346                          // max-frame-size 2048
347                  }
348 + #endif
349          }
350          D(bug("done.\n"));
351   }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines