diff options
author | nbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2005-05-28 09:17:29 +0000 |
---|---|---|
committer | nbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2005-05-28 09:17:29 +0000 |
commit | 50af40000ac37ef921ebd46f6d641959503ee919 (patch) | |
tree | 823ff43388135467a5c7a60589acf62d173cedc4 /openwrt/package/linux/kernel-patches/019-drivers_char_serial_c | |
parent | 16530342e5f63527dc2e0c78dcaef4f4b68ceb48 (diff) |
move package/linux into target/linux, use wbx' new kernel code. support building images with more than one kernel, split kernel module parts off of packages that use their own kernel modules (fuse, shfs, openswan). some cleanup in the image building process in target/. image builder is disabled for now, needs some fixing.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@1085 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'openwrt/package/linux/kernel-patches/019-drivers_char_serial_c')
-rw-r--r-- | openwrt/package/linux/kernel-patches/019-drivers_char_serial_c | 37 |
1 files changed, 0 insertions, 37 deletions
diff --git a/openwrt/package/linux/kernel-patches/019-drivers_char_serial_c b/openwrt/package/linux/kernel-patches/019-drivers_char_serial_c deleted file mode 100644 index 56d3fe663..000000000 --- a/openwrt/package/linux/kernel-patches/019-drivers_char_serial_c +++ /dev/null @@ -1,37 +0,0 @@ ---- linux-mips-cvs/drivers/char/serial.c 2004-12-27 05:13:43.000000000 +0100 -+++ linux-broadcom/drivers/char/serial.c 2005-01-31 13:13:14.000000000 +0100 -@@ -444,6 +444,10 @@ - return inb(info->port+1); - #endif - case SERIAL_IO_MEM: -+#ifdef CONFIG_BCM4310 -+ readb((unsigned long) info->iomem_base + -+ (UART_SCR<<info->iomem_reg_shift)); -+#endif - return readb((unsigned long) info->iomem_base + - (offset<<info->iomem_reg_shift)); - default: -@@ -464,6 +468,9 @@ - case SERIAL_IO_MEM: - writeb(value, (unsigned long) info->iomem_base + - (offset<<info->iomem_reg_shift)); -+#ifdef CONFIG_BCM4704 -+ *((volatile unsigned int *) KSEG1ADDR(0x18000000)); -+#endif - break; - default: - outb(value, info->port+offset); -@@ -5996,6 +6003,13 @@ - * Divisor, bytesize and parity - */ - state = rs_table + co->index; -+ /* -+ * Safe guard: state structure must have been initialized -+ */ -+ if (state->iomem_base == NULL) { -+ printk("!unable to setup serial console!\n"); -+ return -1; -+ } - if (doflow) - state->flags |= ASYNC_CONS_FLOW; - info = &async_sercons; |