diff options
author | Kanoj Sarcar <kanoj@engr.sgi.com> | 2000-08-31 01:58:45 +0000 |
---|---|---|
committer | Kanoj Sarcar <kanoj@engr.sgi.com> | 2000-08-31 01:58:45 +0000 |
commit | 691ce1627151a0ceba3f30252f0aa79d8d8b06c1 (patch) | |
tree | 7e11a014c7dbb7257bbb7e7a73c0ba4b86e7f55d /drivers/char | |
parent | 1e5e4189137e2bae18ea0763bbaf9e6f2ddaf817 (diff) |
No more hardcoded serial port addresses. Get the serial driver probing
addresses for ports. Serial driver changes are being sent to Linus.
Diffstat (limited to 'drivers/char')
-rw-r--r-- | drivers/char/serial.c | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/drivers/char/serial.c b/drivers/char/serial.c index f23f911ad..7b11c8f84 100644 --- a/drivers/char/serial.c +++ b/drivers/char/serial.c @@ -4560,6 +4560,9 @@ static struct pci_board pci_boards[] __initdata = { { PCI_VENDOR_ID_ROCKWELL, 0x1004, 0x1048, 0x1500, SPCI_FL_BASE1, 1, 115200 }, + { PCI_VENDOR_ID_SGI, PCI_DEVICE_ID_SGI_IOC3, + 0xFF00, 0, SPCI_FL_BASE0 | SPCI_FL_IRQRESOURCE, + 1, 458333, 0, 0, 0, 0x20178 }, #if CONFIG_DDB5074 /* * NEC Vrc-5074 (Nile 4) builtin UART. @@ -5282,12 +5285,6 @@ int register_serial(struct serial_struct *req) break; } if (i == NR_PORTS) { - for (i = 4; i < NR_PORTS; i++) - if ((rs_table[i].type == PORT_UNKNOWN) && - (rs_table[i].count == 0)) - break; - } - if (i == NR_PORTS) { for (i = 0; i < NR_PORTS; i++) if ((rs_table[i].type == PORT_UNKNOWN) && (rs_table[i].count == 0)) |