Skip to contentSkip to conversation

Serial updates

PATCH New Russell King 1 participant 1 message Jan 3, 2004

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Serial updates

A couple of changes to the 8250 serial driver; these changes are queued against 2.6.0 and will probably be sent upstream in about 12 hours time.

# The following is the BitKeeper ChangeSet Log
# --------------------------------------------
# 04/01/02 [email protected].(none) 1.1569
# [SERIAL] add PnP ID to 8250_pnp.c
#
# Patch from: Rene Herman
#
# This patch adds the PnP ID for the E-Tech CyberBULLET PC56RVP. # --------------------------------------------
# 04/01/02 [email protected] 1.1570
# [SERIAL] Remove old RSA resource handlign.
#
# The resource handling left in autoconfig() is plainly wrong, since # we've already claimed the necessary resources prior to calling # autoconfig(). Therefore, we remove the superfluous code from # autoconfig().
# --------------------------------------------
#

drivers/serial/8250.c +0 -7
diff -Nru a/drivers/serial/8250.c b/drivers/serial/8250.c
@@ -726,13 +726,6 @@
  out:	
 	spin_unlock_irqrestore(&up->port.lock, flags);
 //	restore_flags(flags);
-#ifdef CONFIG_SERIAL_8250_RSA
-	if (up->port.iobase && up->port.type == PORT_RSA) {
-		release_region(up->port.iobase, 8);
-		request_region(up->port.iobase + UART_RSA_BASE, 16,
-			       "serial_rsa");
-	}
-#endif
 	DEBUG_AUTOCONF("type=%s\n", uart_config[up->port.type].name);
 }
 
drivers/serial/8250_pnp.c +3 -0
diff -Nru a/drivers/serial/8250_pnp.c b/drivers/serial/8250_pnp.c
@@ -74,6 +74,9 @@
 	{	"DMB1032",		0	},
 	/* Creative Modem Blaster V.90 DI5660 */
 	{	"DMB2001",		0	},
+	/* E-Tech */
+	/* E-Tech CyberBULLET PC56RVP */
+	{	"ETT0002",		0	},
 	/* FUJITSU */
 	/* Fujitsu 33600 PnP-I2 R Plug & Play */
 	{	"FUJ0202",		0	},
Signature · 4 lines
Russell King
 Linux kernel    2.6 ARM Linux   - http://www.arm.linux.org.uk/
 maintainer of:  2.6 PCMCIA      - http://pcmcia.arm.linux.org.uk/
                 2.6 Serial core