diff options
Diffstat (limited to 'arch/mips/sni/setup.c')
-rw-r--r-- | arch/mips/sni/setup.c | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/arch/mips/sni/setup.c b/arch/mips/sni/setup.c index 2e9c283b8e68..5b09b3544edd 100644 --- a/arch/mips/sni/setup.c +++ b/arch/mips/sni/setup.c | |||
@@ -204,23 +204,23 @@ void __init plat_mem_setup(void) | |||
204 | case SNI_BRD_10NEW: | 204 | case SNI_BRD_10NEW: |
205 | case SNI_BRD_TOWER_OASIC: | 205 | case SNI_BRD_TOWER_OASIC: |
206 | case SNI_BRD_MINITOWER: | 206 | case SNI_BRD_MINITOWER: |
207 | sni_a20r_init(); | 207 | sni_a20r_init(); |
208 | break; | 208 | break; |
209 | 209 | ||
210 | case SNI_BRD_PCI_TOWER: | 210 | case SNI_BRD_PCI_TOWER: |
211 | case SNI_BRD_PCI_TOWER_CPLUS: | 211 | case SNI_BRD_PCI_TOWER_CPLUS: |
212 | sni_pcit_init(); | 212 | sni_pcit_init(); |
213 | break; | 213 | break; |
214 | 214 | ||
215 | case SNI_BRD_RM200: | 215 | case SNI_BRD_RM200: |
216 | sni_rm200_init(); | 216 | sni_rm200_init(); |
217 | break; | 217 | break; |
218 | 218 | ||
219 | case SNI_BRD_PCI_MTOWER: | 219 | case SNI_BRD_PCI_MTOWER: |
220 | case SNI_BRD_PCI_DESKTOP: | 220 | case SNI_BRD_PCI_DESKTOP: |
221 | case SNI_BRD_PCI_MTOWER_CPLUS: | 221 | case SNI_BRD_PCI_MTOWER_CPLUS: |
222 | sni_pcimt_init(); | 222 | sni_pcimt_init(); |
223 | break; | 223 | break; |
224 | } | 224 | } |
225 | 225 | ||
226 | _machine_restart = sni_machine_restart; | 226 | _machine_restart = sni_machine_restart; |
@@ -247,16 +247,16 @@ static void quirk_cirrus_ram_size(struct pci_dev *dev) | |||
247 | */ | 247 | */ |
248 | pci_read_config_word(dev, PCI_COMMAND, &cmd); | 248 | pci_read_config_word(dev, PCI_COMMAND, &cmd); |
249 | if ((cmd & (PCI_COMMAND_IO|PCI_COMMAND_MEMORY)) | 249 | if ((cmd & (PCI_COMMAND_IO|PCI_COMMAND_MEMORY)) |
250 | == (PCI_COMMAND_IO|PCI_COMMAND_MEMORY)) { | 250 | == (PCI_COMMAND_IO|PCI_COMMAND_MEMORY)) { |
251 | vga_wseq(NULL, CL_SEQR6, 0x12); /* unlock all extension registers */ | 251 | vga_wseq(NULL, CL_SEQR6, 0x12); /* unlock all extension registers */ |
252 | vga_wseq(NULL, CL_SEQRF, 0x18); | 252 | vga_wseq(NULL, CL_SEQRF, 0x18); |
253 | } | 253 | } |
254 | } | 254 | } |
255 | 255 | ||
256 | DECLARE_PCI_FIXUP_FINAL(PCI_VENDOR_ID_CIRRUS, PCI_DEVICE_ID_CIRRUS_5434_8, | 256 | DECLARE_PCI_FIXUP_FINAL(PCI_VENDOR_ID_CIRRUS, PCI_DEVICE_ID_CIRRUS_5434_8, |
257 | quirk_cirrus_ram_size); | 257 | quirk_cirrus_ram_size); |
258 | DECLARE_PCI_FIXUP_FINAL(PCI_VENDOR_ID_CIRRUS, PCI_DEVICE_ID_CIRRUS_5436, | 258 | DECLARE_PCI_FIXUP_FINAL(PCI_VENDOR_ID_CIRRUS, PCI_DEVICE_ID_CIRRUS_5436, |
259 | quirk_cirrus_ram_size); | 259 | quirk_cirrus_ram_size); |
260 | DECLARE_PCI_FIXUP_FINAL(PCI_VENDOR_ID_CIRRUS, PCI_DEVICE_ID_CIRRUS_5446, | 260 | DECLARE_PCI_FIXUP_FINAL(PCI_VENDOR_ID_CIRRUS, PCI_DEVICE_ID_CIRRUS_5446, |
261 | quirk_cirrus_ram_size); | 261 | quirk_cirrus_ram_size); |
262 | #endif | 262 | #endif |