47 #include <linux/module.h>
48 #include <linux/types.h>
49 #include <linux/kernel.h>
55 #include <linux/pci.h>
58 #define MODNAME "scb2_flash"
59 #define SCB2_ADDR 0xfff00000
60 #define SCB2_WINDOW 0x00100000
63 static void __iomem *scb2_ioaddr;
66 .name =
"SCB2 BIOS Flash",
70 static int region_fail;
83 cfi->
cfiq->InterfaceDesc);
134 #define CSB5_FCR 0x41
135 #define CSB5_FCR_DECODE_ALL 0x0e
142 pci_read_config_byte(dev,
CSB5_FCR, ®);
151 ": warning - can't reserve rom window, continuing\n");
165 scb2_map.
virt = scb2_ioaddr;
182 if (scb2_fixup_mtd(scb2_mtd) < 0) {
192 (
unsigned long long)scb2_mtd->
size,
217 pci_set_drvdata(dev,
NULL);
230 static struct pci_driver scb2_flash_driver = {
231 .name =
"Intel SCB2 BIOS Flash",
232 .id_table = scb2_flash_pci_ids,
233 .probe = scb2_flash_probe,