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 |
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; |
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"); |
345 |
|
// local-mac-address |
346 |
|
// max-frame-size 2048 |
347 |
|
} |
348 |
+ |
#endif |
349 |
|
} |
350 |
|
D(bug("done.\n")); |
351 |
|
} |