Lines Matching +full:0 +full:xa0000
82 static int com90xx_skip_probe __initdata = 0;
91 module_param_hw(io, int, ioport, 0);
92 module_param_hw(irq, int, irq, 0);
93 module_param(shmem, int, 0);
94 module_param_string(device, device, sizeof(device), 0);
98 int count, status, ioaddr, numprint, airq, openparen = 0; in com90xx_probe()
100 int ports[(0x3f0 - 0x200) / 16 + 1] = { 0 }; in com90xx_probe()
110 shmems = kzalloc(((0x100000 - 0xa0000) / 0x800) * sizeof(unsigned long), in com90xx_probe()
114 iomem = kzalloc(((0x100000 - 0xa0000) / 0x800) * sizeof(void __iomem *), in com90xx_probe()
125 numports = numshmems = 0; in com90xx_probe()
129 for (count = 0x200; count <= 0x3f0; count += 16) in com90xx_probe()
134 for (count = 0xA0000; count <= 0xFF800; count += 2048) in com90xx_probe()
137 /* Stage 1: abandon any reserved ports, or ones with status==0xFF in com90xx_probe()
141 for (port = &ports[0]; port - ports < numports; port++) { in com90xx_probe()
157 numprint = 0; in com90xx_probe()
161 if (arcnet_inb(ioaddr, COM9026_REG_R_STATUS) == 0xFF) { in com90xx_probe()
165 numprint = 0; in com90xx_probe()
176 numprint = 0; in com90xx_probe()
191 for (port = &ports[0]; port < ports + numports; port++) { in com90xx_probe()
204 * 0xD1 byte in the right place, or are read-only. in com90xx_probe()
207 for (index = 0, p = &shmems[0]; index < numshmems; p++, index++) { in com90xx_probe()
222 numprint = 0; in com90xx_probe()
230 numprint = 0; in com90xx_probe()
239 numprint = 0; in com90xx_probe()
242 /* By writing 0x42 to the TESTvalue location, we also make in com90xx_probe()
247 arcnet_writeb(0x42, base, COM9026_REG_W_INTMASK); in com90xx_probe()
248 if (arcnet_readb(base, COM9026_REG_R_STATUS) != 0x42) { in com90xx_probe()
256 numprint = 0; in com90xx_probe()
271 for (port = &ports[0]; port < ports + numports; port++) in com90xx_probe()
281 for (p = &shmems[0]; p < shmems + numshmems; p++) { in com90xx_probe()
300 for (port = &ports[0]; port < ports + numports; port++) { in com90xx_probe()
301 int found = 0; in com90xx_probe()
314 if ((status & 0x9D) in com90xx_probe()
319 numprint = 0; in com90xx_probe()
332 numprint = 0; in com90xx_probe()
348 arcnet_outb(0, ioaddr, COM9026_REG_W_INTMASK); in com90xx_probe()
351 if (airq <= 0) { in com90xx_probe()
355 numprint = 0; in com90xx_probe()
379 arcnet_writeb(TESTvalue, iomem[0], in com90xx_probe()
387 for (index = 0; index < numshmems; index++) { in com90xx_probe()
393 openparen = 0; in com90xx_probe()
396 if (com90xx_found(*port, airq, ptr, base) == 0) in com90xx_probe()
415 numprint = 0; in com90xx_probe()
427 for (index = 0; index < numshmems; index++) { in com90xx_probe()
449 res = 0; in check_mirror()
485 check_mirror(shmem - MIRROR_SIZE, MIRROR_SIZE) == 0 && in com90xx_found()
511 if (request_irq(airq, arcnet_interrupt, 0, "arcnet (90xx)", dev)) { in com90xx_found()
540 dev->dev_addr[0], in com90xx_found()
549 return 0; in com90xx_found()
607 #if 0 in com90xx_reset()
624 memset_io(lp->mem_start, 0x42, 2048); in com90xx_reset()
627 return 0; in com90xx_reset()
658 return 0; in com90xx_init()
667 for (count = 0; count < numcards; count++) { in com90xx_exit()
690 if (!ints[0] && !*s) { in com90xx_setup()
695 switch (ints[0]) { in com90xx_setup()