25 |
* SUCH DAMAGE. |
* SUCH DAMAGE. |
26 |
* |
* |
27 |
* |
* |
28 |
* $Id: machine_netwinder.c,v 1.13 2007/01/21 21:02:57 debug Exp $ |
* $Id: machine_netwinder.c,v 1.17 2007/06/15 18:08:10 debug Exp $ |
29 |
|
* |
30 |
|
* COMMENT: NetWinder |
31 |
*/ |
*/ |
32 |
|
|
33 |
#include <stdio.h> |
#include <stdio.h> |
34 |
#include <stdlib.h> |
#include <stdlib.h> |
35 |
#include <string.h> |
#include <string.h> |
36 |
|
|
37 |
#include "bus_isa.h" |
#include "bus_pci.h" |
38 |
#include "cpu.h" |
#include "cpu.h" |
39 |
#include "device.h" |
#include "device.h" |
40 |
#include "devices.h" |
#include "devices.h" |
49 |
struct pci_data *pci_bus; |
struct pci_data *pci_bus; |
50 |
|
|
51 |
machine->machine_name = "NetWinder"; |
machine->machine_name = "NetWinder"; |
|
machine->stable = 1; |
|
52 |
|
|
53 |
if (machine->physical_ram_in_mb > 256) |
if (machine->physical_ram_in_mb > 256) |
54 |
fprintf(stderr, "WARNING! Real NetWinders cannot" |
fprintf(stderr, "WARNING! Real NetWinders cannot" |
61 |
" addr=0x42000000", machine->path, machine->bootstrap_cpu); |
" addr=0x42000000", machine->path, machine->bootstrap_cpu); |
62 |
pci_bus = device_add(machine, tmpstr); |
pci_bus = device_add(machine, tmpstr); |
63 |
|
|
64 |
if (machine->use_x11) { |
if (machine->x11_md.in_use) { |
65 |
bus_pci_add(machine, pci_bus, machine->memory, |
bus_pci_add(machine, pci_bus, machine->memory, |
66 |
0xc0, 8, 0, "igsfb"); |
0xc0, 8, 0, "igsfb"); |
67 |
} |
} |