setup.c (0ea5c948cb64bab5bc7a5516774eb8536f05aa0d) | setup.c (f81f335a56a8e90d5cac38b79661e6fbf35249f1) |
---|---|
1// SPDX-License-Identifier: GPL-2.0 2/* 3 * linux/arch/alpha/kernel/setup.c 4 * 5 * Copyright (C) 1995 Linus Torvalds 6 */ 7 8/* 2.3.x bootmem, 1999 Andrea Arcangeli <andrea@suse.de> */ --- 167 unchanged lines hidden (view full) --- 176WEAK(cabriolet_mv); 177WEAK(clipper_mv); 178WEAK(dp264_mv); 179WEAK(eb164_mv); 180WEAK(eb64p_mv); 181WEAK(eb66_mv); 182WEAK(eb66p_mv); 183WEAK(eiger_mv); | 1// SPDX-License-Identifier: GPL-2.0 2/* 3 * linux/arch/alpha/kernel/setup.c 4 * 5 * Copyright (C) 1995 Linus Torvalds 6 */ 7 8/* 2.3.x bootmem, 1999 Andrea Arcangeli <andrea@suse.de> */ --- 167 unchanged lines hidden (view full) --- 176WEAK(cabriolet_mv); 177WEAK(clipper_mv); 178WEAK(dp264_mv); 179WEAK(eb164_mv); 180WEAK(eb64p_mv); 181WEAK(eb66_mv); 182WEAK(eb66p_mv); 183WEAK(eiger_mv); |
184WEAK(jensen_mv); | |
185WEAK(lx164_mv); 186WEAK(lynx_mv); 187WEAK(marvel_ev7_mv); 188WEAK(miata_mv); 189WEAK(mikasa_mv); 190WEAK(mikasa_primo_mv); 191WEAK(monet_mv); 192WEAK(nautilus_mv); --- 26 unchanged lines hidden (view full) --- 219 * ??? If this becomes less standard, move the struct out into the 220 * machine vector. 221 */ 222 223static void __init 224reserve_std_resources(void) 225{ 226 static struct resource standard_io_resources[] = { | 184WEAK(lx164_mv); 185WEAK(lynx_mv); 186WEAK(marvel_ev7_mv); 187WEAK(miata_mv); 188WEAK(mikasa_mv); 189WEAK(mikasa_primo_mv); 190WEAK(monet_mv); 191WEAK(nautilus_mv); --- 26 unchanged lines hidden (view full) --- 218 * ??? If this becomes less standard, move the struct out into the 219 * machine vector. 220 */ 221 222static void __init 223reserve_std_resources(void) 224{ 225 static struct resource standard_io_resources[] = { |
227 { .name = "rtc", .start = -1, .end = -1 }, | 226 { .name = "rtc", .start = 0x70, .end = 0x7f}, |
228 { .name = "dma1", .start = 0x00, .end = 0x1f }, 229 { .name = "pic1", .start = 0x20, .end = 0x3f }, 230 { .name = "timer", .start = 0x40, .end = 0x5f }, 231 { .name = "keyboard", .start = 0x60, .end = 0x6f }, 232 { .name = "dma page reg", .start = 0x80, .end = 0x8f }, 233 { .name = "pic2", .start = 0xa0, .end = 0xbf }, 234 { .name = "dma2", .start = 0xc0, .end = 0xdf }, 235 }; --- 5 unchanged lines hidden (view full) --- 241 struct pci_controller *hose; 242 for (hose = hose_head; hose; hose = hose->next) 243 if (hose->index == 0) { 244 io = hose->io_space; 245 break; 246 } 247 } 248 | 227 { .name = "dma1", .start = 0x00, .end = 0x1f }, 228 { .name = "pic1", .start = 0x20, .end = 0x3f }, 229 { .name = "timer", .start = 0x40, .end = 0x5f }, 230 { .name = "keyboard", .start = 0x60, .end = 0x6f }, 231 { .name = "dma page reg", .start = 0x80, .end = 0x8f }, 232 { .name = "pic2", .start = 0xa0, .end = 0xbf }, 233 { .name = "dma2", .start = 0xc0, .end = 0xdf }, 234 }; --- 5 unchanged lines hidden (view full) --- 240 struct pci_controller *hose; 241 for (hose = hose_head; hose; hose = hose->next) 242 if (hose->index == 0) { 243 io = hose->io_space; 244 break; 245 } 246 } 247 |
249 /* Fix up for the Jensen's queer RTC placement. */ 250 standard_io_resources[0].start = RTC_PORT(0); 251 standard_io_resources[0].end = RTC_PORT(0) + 0x0f; 252 | |
253 for (i = 0; i < ARRAY_SIZE(standard_io_resources); ++i) 254 request_resource(io, standard_io_resources+i); 255} 256 257#define PFN_MAX PFN_DOWN(0x80000000) 258#define for_each_mem_cluster(memdesc, _cluster, i) \ 259 for ((_cluster) = (memdesc)->cluster, (i) = 0; \ 260 (i) < (memdesc)->numclusters; (i)++, (_cluster)++) --- 220 unchanged lines hidden (view full) --- 481 as early as possible, so do this NOW, and then 482 they should work immediately thereafter. 483 */ 484 kernel_end = callback_init(kernel_end); 485 486 /* 487 * Locate the command line. 488 */ | 248 for (i = 0; i < ARRAY_SIZE(standard_io_resources); ++i) 249 request_resource(io, standard_io_resources+i); 250} 251 252#define PFN_MAX PFN_DOWN(0x80000000) 253#define for_each_mem_cluster(memdesc, _cluster, i) \ 254 for ((_cluster) = (memdesc)->cluster, (i) = 0; \ 255 (i) < (memdesc)->numclusters; (i)++, (_cluster)++) --- 220 unchanged lines hidden (view full) --- 476 as early as possible, so do this NOW, and then 477 they should work immediately thereafter. 478 */ 479 kernel_end = callback_init(kernel_end); 480 481 /* 482 * Locate the command line. 483 */ |
489 /* Hack for Jensen... since we're restricted to 8 or 16 chars for 490 boot flags depending on the boot mode, we need some shorthand. 491 This should do for installation. */ 492 if (strcmp(COMMAND_LINE, "INSTALL") == 0) { 493 strscpy(command_line, "root=/dev/fd0 load_ramdisk=1", sizeof(command_line)); 494 } else { 495 strscpy(command_line, COMMAND_LINE, sizeof(command_line)); 496 } | 484 strscpy(command_line, COMMAND_LINE, sizeof(command_line)); |
497 strcpy(boot_command_line, command_line); 498 *cmdline_p = command_line; 499 500 /* 501 * Process command-line arguments. 502 */ 503 while ((p = strsep(&args, " \t")) != NULL) { 504 if (!*p) continue; --- 235 unchanged lines hidden (view full) --- 740 static struct alpha_machine_vector *systype_vecs[] __initdata = 741 { 742 NULL, /* 0 */ 743 NULL, /* ADU */ 744 NULL, /* Cobra */ 745 NULL, /* Ruby */ 746 NULL, /* Flamingo */ 747 NULL, /* Mannequin */ | 485 strcpy(boot_command_line, command_line); 486 *cmdline_p = command_line; 487 488 /* 489 * Process command-line arguments. 490 */ 491 while ((p = strsep(&args, " \t")) != NULL) { 492 if (!*p) continue; --- 235 unchanged lines hidden (view full) --- 728 static struct alpha_machine_vector *systype_vecs[] __initdata = 729 { 730 NULL, /* 0 */ 731 NULL, /* ADU */ 732 NULL, /* Cobra */ 733 NULL, /* Ruby */ 734 NULL, /* Flamingo */ 735 NULL, /* Mannequin */ |
748 &jensen_mv, | 736 NULL, /* Jensens */ |
749 NULL, /* Pelican */ 750 NULL, /* Morgan */ 751 NULL, /* Sable -- see below. */ 752 NULL, /* Medulla */ 753 &noname_mv, 754 NULL, /* Turbolaser */ 755 &avanti_mv, 756 NULL, /* Mustang */ --- 181 unchanged lines hidden (view full) --- 938 &cabriolet_mv, 939 &clipper_mv, 940 &dp264_mv, 941 &eb164_mv, 942 &eb64p_mv, 943 &eb66_mv, 944 &eb66p_mv, 945 &eiger_mv, | 737 NULL, /* Pelican */ 738 NULL, /* Morgan */ 739 NULL, /* Sable -- see below. */ 740 NULL, /* Medulla */ 741 &noname_mv, 742 NULL, /* Turbolaser */ 743 &avanti_mv, 744 NULL, /* Mustang */ --- 181 unchanged lines hidden (view full) --- 926 &cabriolet_mv, 927 &clipper_mv, 928 &dp264_mv, 929 &eb164_mv, 930 &eb64p_mv, 931 &eb66_mv, 932 &eb66p_mv, 933 &eiger_mv, |
946 &jensen_mv, | |
947 &lx164_mv, 948 &lynx_mv, 949 &miata_mv, 950 &mikasa_mv, 951 &mikasa_primo_mv, 952 &monet_mv, 953 &nautilus_mv, 954 &noname_mv, --- 503 unchanged lines hidden --- | 934 &lx164_mv, 935 &lynx_mv, 936 &miata_mv, 937 &mikasa_mv, 938 &mikasa_primo_mv, 939 &monet_mv, 940 &nautilus_mv, 941 &noname_mv, --- 503 unchanged lines hidden --- |