Messages in this thread Patch in this message | | | Date | Mon, 28 Feb 2000 16:45:07 +0100 | From | Gaël Quéri <> | Subject | [PATCH] 2.3.48 drivers/char/serial.c: modular isapnp and USR Sporster modems |
| |
The serial driver was checking for CONFIG_ISAPNP, but not CONFIG_ISAPNP_MODULE to enable its pnp code.
Also I've added support for the USR Sporster 33600
--- linux.orig/drivers/char/serial.c Mon Feb 28 00:03:25 2000 +++ linux/drivers/char/serial.c Mon Feb 28 16:36:12 2000 @@ -98,7 +98,7 @@ #endif #endif -#ifdef CONFIG_ISAPNP +#if defined(CONFIG_ISAPNP) || defined(CONFIG_ISAPNP_MODULE) #ifndef ENABLE_SERIAL_PNP #define ENABLE_SERIAL_PNP #endif @@ -4304,6 +4304,9 @@ /* Rockwell 56K ACF II Fax+Data+Voice Modem */ { ISAPNP_VENDOR('A', 'K', 'Y'), ISAPNP_DEVICE(0x1021), 0, 0, SPCI_FL_BASE0 | SPCI_FL_PNPDEFAULT, 1, 115200 }, + /* US Robotics Sporster 33600 Modem */ + { ISAPNP_VENDOR('U', 'S', 'R'), ISAPNP_DEVICE(0x0006), 0, 0, + SPCI_FL_BASE0 | SPCI_FL_PNPDEFAULT, 1, 115200 }, /* Boca Research 33,600 ACF Modem */ { ISAPNP_VENDOR('B', 'R', 'I'), ISAPNP_DEVICE(0x1400), 0, 0, SPCI_FL_BASE0 | SPCI_FL_PNPDEFAULT, 1, 115200 }, @@ -4509,7 +4512,7 @@ probe_serial_pci(); #endif #ifdef ENABLE_SERIAL_PNP - probe_serial_pnp(); + probe_serial_pnp(); #endif return 0; } | |