Lines Matching +full:0 +full:xffc00000
62 module_param(win_size_bits, uint, 0);
63 MODULE_PARM_DESC(win_size_bits, "ROM window size bits override for 0x43 byte, normally set by BIOS.…
76 pci_read_config_byte(window->pdev, 0x40, &byte); in amd76xrom_cleanup()
77 pci_write_config_byte(window->pdev, 0x40, byte & ~1); in amd76xrom_cleanup()
97 window->phys = 0; in amd76xrom_cleanup()
98 window->size = 0; in amd76xrom_cleanup()
123 pci_read_config_byte(pdev, 0x43, &byte); in amd76xrom_init_one()
124 pci_write_config_byte(pdev, 0x43, byte | win_size_bits ); in amd76xrom_init_one()
127 pci_read_config_byte(pdev, 0x43, &byte); in amd76xrom_init_one()
129 window->phys = 0xffb00000; /* 5MiB */ in amd76xrom_init_one()
132 window->phys = 0xffc00000; /* 4MiB */ in amd76xrom_init_one()
135 window->phys = 0xffff0000; /* 64KiB */ in amd76xrom_init_one()
137 window->size = 0xffffffffUL - window->phys + 1UL; in amd76xrom_init_one()
160 pci_read_config_byte(pdev, 0x40, &byte); in amd76xrom_init_one()
161 pci_write_config_byte(pdev, 0x40, byte | 1); in amd76xrom_init_one()
163 /* FIXME handle registers 0x80 - 0x8C the bios region locks */ in amd76xrom_init_one()
177 * registers sets them to 0x7 (no access). in amd76xrom_init_one()
180 if (map_top < 0xffc00000) { in amd76xrom_init_one()
181 map_top = 0xffc00000; in amd76xrom_init_one()
185 while((map_top - 1) < 0xffffffffUL) { in amd76xrom_init_one()
195 memset(map, 0, sizeof(*map)); in amd76xrom_init_one()
202 map->map.size = 0xffffffffUL - map_top + 1UL; in amd76xrom_init_one()
258 for(i = 0; i < cfi->numchips; i++) { in amd76xrom_init_one()
264 if (mtd_device_register(map->mtd, NULL, 0)) { in amd76xrom_init_one()
287 return 0; in amd76xrom_init_one()
303 { PCI_VENDOR_ID_AMD, 0x7468 }, /* amd8111 support */
304 { 0, }
309 #if 0
330 return amd76xrom_init_one(pdev, &amd76xrom_pci_tbl[0]); in init_amd76xrom()
333 #if 0 in init_amd76xrom()