x86: Ce4100: Add reboot_fixup() for CE4100

This patch adds the CE4100 reboot fixup to reboot_fixups_32.c

[ tglx: Moved PCI id to reboot_fixups_32.c ]

Signed-off-by: Dirk Brandewie <dirk.j.brandewie@intel.com>
LKML-Reference: <5bdcfb4f0206fa721570504e95659a03b815bc5e.1289331834.git.dirk.brandewie@gmail.com>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>

authored by Dirk Brandewie and committed by Thomas Gleixner 37bc9f50 91d8037f

+17
+1
arch/x86/Kconfig
··· 383 383 depends on PCI_GODIRECT 384 384 depends on X86_32 385 385 depends on X86_EXTENDED_PLATFORM 386 + select X86_REBOOTFIXUPS 386 387 ---help--- 387 388 Select for the Intel CE media processor (CE4100) SOC. 388 389 This option compiles in support for the CE4100 SOC for settop
+16
arch/x86/kernel/reboot_fixups_32.c
··· 43 43 outb(1, 0x92); 44 44 } 45 45 46 + static void ce4100_reset(struct pci_dev *dev) 47 + { 48 + int i; 49 + 50 + for (i = 0; i < 10; i++) { 51 + outb(0x2, 0xcf9); 52 + udelay(50); 53 + } 54 + } 55 + 46 56 struct device_fixup { 47 57 unsigned int vendor; 48 58 unsigned int device; 49 59 void (*reboot_fixup)(struct pci_dev *); 50 60 }; 51 61 62 + /* 63 + * PCI ids solely used for fixups_table go here 64 + */ 65 + #define PCI_DEVICE_ID_INTEL_CE4100 0x0708 66 + 52 67 static const struct device_fixup fixups_table[] = { 53 68 { PCI_VENDOR_ID_CYRIX, PCI_DEVICE_ID_CYRIX_5530_LEGACY, cs5530a_warm_reset }, 54 69 { PCI_VENDOR_ID_AMD, PCI_DEVICE_ID_AMD_CS5536_ISA, cs5536_warm_reset }, 55 70 { PCI_VENDOR_ID_NS, PCI_DEVICE_ID_NS_SC1100_BRIDGE, cs5530a_warm_reset }, 56 71 { PCI_VENDOR_ID_RDC, PCI_DEVICE_ID_RDC_R6030, rdc321x_reset }, 72 + { PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_CE4100, ce4100_reset }, 57 73 }; 58 74 59 75 /*