Lines Matching +full:re +full:- +full:attached
1 // SPDX-License-Identifier: GPL-2.0+
5 * (c) Copyright Matthew Wilcox <willy@debian.org> 2001-2002
18 #include <asm/parisc-device.h>
30 if (!dev->irq && (dev->id.sversion == 0xad)) in serial_init_chip()
31 dev->irq = iosapic_serial_irq(dev); in serial_init_chip()
34 if (!dev->irq) { in serial_init_chip()
38 * the user what they're missing. in serial_init_chip()
40 if (parisc_parent(dev)->id.hw_type != HPHW_IOA) in serial_init_chip()
41 dev_info(&dev->dev, in serial_init_chip()
44 (unsigned long long)dev->hpa.start); in serial_init_chip()
45 return -ENODEV; in serial_init_chip()
48 address = dev->hpa.start; in serial_init_chip()
49 if (dev->id.sversion != 0x8d) in serial_init_chip()
55 uart.port.uartclk = (dev->id.sversion != 0xad) ? in serial_init_chip()
60 dev_warn(&dev->dev, "Failed to map memory\n"); in serial_init_chip()
61 return -ENOMEM; in serial_init_chip()
63 uart.port.irq = dev->irq; in serial_init_chip()
65 uart.port.dev = &dev->dev; in serial_init_chip()
69 dev_warn(&dev->dev, in serial_init_chip()
87 /* Hack. Some machines have SERIAL_0 attached to Lasi and SERIAL_1
88 * attached to Dino. Unfortunately, Dino appears before Lasi in the device