summaryrefslogtreecommitdiffstats
path: root/drivers/char
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>2000-02-16 01:45:55 +0000
committerRalf Baechle <ralf@linux-mips.org>2000-02-16 01:45:55 +0000
commitf05fab340298536393c015f1bd6ac1c6b8446590 (patch)
tree27505507f7b4450a2f3e4e1f9ed69f0f24a98e91 /drivers/char
parent95db6b748fc86297827fbd9c9ef174d491c9ad89 (diff)
DDB 5074 updates from Geert.
Diffstat (limited to 'drivers/char')
-rw-r--r--drivers/char/serial.c17
1 files changed, 14 insertions, 3 deletions
diff --git a/drivers/char/serial.c b/drivers/char/serial.c
index c5e2787d5..c9c5a890c 100644
--- a/drivers/char/serial.c
+++ b/drivers/char/serial.c
@@ -3978,6 +3978,16 @@ static struct pci_board pci_boards[] = {
{ PCI_VENDOR_ID_USR, 0x1006,
0x12b9, 0x0060,
SPCI_FL_BASE1 | SPCI_FL_IOMEM, 1, 115200 },
+#ifdef CONFIG_DDB5074
+ /*
+ * NEC Vrc-5074 (Nile 4) builtin UART.
+ * Conditionally compiled in since this is a motherboard device.
+ */
+ { PCI_VENDOR_ID_NEC, PCI_DEVICE_ID_NEC_NILE4,
+ PCI_ANY_ID, PCI_ANY_ID,
+ SPCI_FL_BASE0 | SPCI_FL_IOMEM, 1, 520833,
+ 64, 3, NULL, 0x300 },
+#endif
{ 0, }
};
@@ -4022,7 +4032,8 @@ static void probe_serial_pci(void)
#ifdef SERIAL_DEBUG_PCI
printk(KERN_DEBUG
"Found unknown serial board: %x:%x, %x:%x, %x\n",
- dev->vendor, dev->device, subvendor, subdevice,
+ dev->vendor, dev->device, dev->subsystem_vendor,
+ dev->subsystem_device,
dev->class);
printk(KERN_DEBUG
" Addresses: %lx, %lx, %lx, %lx\n",
@@ -4082,8 +4093,8 @@ static void probe_serial_pci(void)
#ifdef SERIAL_DEBUG_PCI
printk(KERN_DEBUG
"Found Serial PCI device: %x:%x, %x:%x, %x\n",
- dev->vendor, dev->device, subvendor, subdevice,
- dev->class);
+ dev->vendor, dev->device, dev->subsystem_vendor,
+ dev->subsystem_device, dev->class);
printk(KERN_DEBUG
" IRQ: %d, base: %lx (%s), num_ports: %d\n",
dev->irq, port, board->flags & SPCI_FL_IOMEM ?