* [PATCH] Fix build error by removal of obsoleted au1x00_uart driver.
@ 2006-02-09 15:43 Atsushi Nemoto
2006-02-09 15:49 ` Ralf Baechle
0 siblings, 1 reply; 6+ messages in thread
From: Atsushi Nemoto @ 2006-02-09 15:43 UTC (permalink / raw)
To: linux-mips; +Cc: ralf
Signed-off-by: Atsushi Nemoto <anemo@mba.ocn.ne.jp>
diff --git a/include/asm-mips/serial.h b/include/asm-mips/serial.h
index a08fa1a..7b23664 100644
--- a/include/asm-mips/serial.h
+++ b/include/asm-mips/serial.h
@@ -103,66 +103,6 @@
#define IVR_SERIAL_PORT_DEFNS
#endif
-#ifdef CONFIG_SOC_AU1500
-#define AU1000_SERIAL_PORT_DEFNS \
- { .baud_base = 0, .port = UART0_ADDR, \
- .iomem_base = (unsigned char *)UART0_ADDR, \
- .irq = AU1500_UART0_INT, .flags = STD_COM_FLAGS, \
- .iomem_reg_shift = 2 }, \
- { .baud_base = 0, .port = UART3_ADDR, \
- .iomem_base = (unsigned char *)UART3_ADDR, \
- .irq = AU1500_UART3_INT, .flags = STD_COM_FLAGS, \
- .iomem_reg_shift = 2 },
-#endif
-
-#ifdef CONFIG_SOC_AU1100
-#define AU1000_SERIAL_PORT_DEFNS \
- { .baud_base = 0, .port = UART0_ADDR, \
- .iomem_base = (unsigned char *)UART0_ADDR, \
- .irq = AU1100_UART0_INT, .flags = STD_COM_FLAGS, \
- .iomem_reg_shift = 2 }, \
- { .baud_base = 0, .port = UART1_ADDR, \
- .iomem_base = (unsigned char *)UART1_ADDR, \
- .irq = AU1100_UART1_INT, .flags = STD_COM_FLAGS, \
- .iomem_reg_shift = 2 }, \
- { .baud_base = 0, .port = UART3_ADDR, \
- .iomem_base = (unsigned char *)UART3_ADDR, \
- .irq = AU1100_UART3_INT, .flags = STD_COM_FLAGS, \
- .iomem_reg_shift = 2 },
-#endif
-
-#ifdef CONFIG_SOC_AU1550
-#define AU1000_SERIAL_PORT_DEFNS \
- { .baud_base = 0, .port = UART0_ADDR, \
- .iomem_base = (unsigned char *)UART0_ADDR, \
- .irq = AU1550_UART0_INT, .flags = STD_COM_FLAGS, \
- .iomem_reg_shift = 2 }, \
- { .baud_base = 0, .port = UART1_ADDR, \
- .iomem_base = (unsigned char *)UART1_ADDR, \
- .irq = AU1550_UART1_INT, .flags = STD_COM_FLAGS, \
- .iomem_reg_shift = 2 }, \
- { .baud_base = 0, .port = UART3_ADDR, \
- .iomem_base = (unsigned char *)UART3_ADDR, \
- .irq = AU1550_UART3_INT, .flags = STD_COM_FLAGS,\
- .iomem_reg_shift = 2 },
-#endif
-
-#ifdef CONFIG_SOC_AU1200
-#define AU1000_SERIAL_PORT_DEFNS \
- { .baud_base = 0, .port = UART0_ADDR, \
- .iomem_base = (unsigned char *)UART0_ADDR, \
- .irq = AU1200_UART0_INT, .flags = STD_COM_FLAGS, \
- .iomem_reg_shift = 2 }, \
- { .baud_base = 0, .port = UART1_ADDR, \
- .iomem_base = (unsigned char *)UART1_ADDR, \
- .irq = AU1200_UART1_INT, .flags = STD_COM_FLAGS, \
- .iomem_reg_shift = 2 },
-#endif
-
-#else
-#define AU1000_SERIAL_PORT_DEFNS
-#endif
-
#ifdef CONFIG_HAVE_STD_PC_SERIAL_PORT
#define STD_SERIAL_PORT_DEFNS \
/* UART CLK PORT IRQ FLAGS */ \
@@ -309,7 +249,6 @@
MOMENCO_OCELOT_G_SERIAL_PORT_DEFNS \
MOMENCO_OCELOT_C_SERIAL_PORT_DEFNS \
MOMENCO_OCELOT_SERIAL_PORT_DEFNS \
- MOMENCO_OCELOT_3_SERIAL_PORT_DEFNS \
- AU1000_SERIAL_PORT_DEFNS
+ MOMENCO_OCELOT_3_SERIAL_PORT_DEFNS
#endif /* _ASM_SERIAL_H */
^ permalink raw reply related [flat|nested] 6+ messages in thread
* Re: [PATCH] Fix build error by removal of obsoleted au1x00_uart driver.
2006-02-09 15:43 [PATCH] Fix build error by removal of obsoleted au1x00_uart driver Atsushi Nemoto
@ 2006-02-09 15:49 ` Ralf Baechle
2006-02-09 16:25 ` Atsushi Nemoto
0 siblings, 1 reply; 6+ messages in thread
From: Ralf Baechle @ 2006-02-09 15:49 UTC (permalink / raw)
To: Atsushi Nemoto; +Cc: linux-mips
On Fri, Feb 10, 2006 at 12:43:02AM +0900, Atsushi Nemoto wrote:
> Subject: [PATCH] Fix build error by removal of obsoleted au1x00_uart driver.
You were seconds to late, I already checked in an identical patch :)
Ralf
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [PATCH] Fix build error by removal of obsoleted au1x00_uart driver.
2006-02-09 15:49 ` Ralf Baechle
@ 2006-02-09 16:25 ` Atsushi Nemoto
2006-02-09 16:44 ` Ralf Baechle
0 siblings, 1 reply; 6+ messages in thread
From: Atsushi Nemoto @ 2006-02-09 16:25 UTC (permalink / raw)
To: ralf; +Cc: linux-mips
>>>>> On Thu, 9 Feb 2006 15:49:59 +0000, Ralf Baechle <ralf@linux-mips.org> said:
ralf> You were seconds to late, I already checked in an identical
ralf> patch :)
Oh I see. It seems linux-2.6.15.git is a bit behind linux.git ;-)
BTW, linux-2.6.15.git repository is somewhat broken, isn't it? When I
pull using git protocol just after rsync, I got following error. I'm
using git 1.1.6.
$ git-pull rsync://ftp.linux-mips.org/pub/scm/linux-2.6.15.git
receiving file list ... done
sent 107 bytes received 162 bytes 41.38 bytes/sec
total size is 64135739 speedup is 238422.82
Already up-to-date.
$ git-pull git://ftp.linux-mips.org/pub/scm/linux-2.6.15.git
error: Could not read 91483db9b01b547ae9cc45c8c98b217642acb40a
error: Could not read 826eeb53a6f264842200d3311d69107d2eb25f5e
Already up-to-date.
$
---
Atsushi Nemoto
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [PATCH] Fix build error by removal of obsoleted au1x00_uart driver.
2006-02-09 16:25 ` Atsushi Nemoto
@ 2006-02-09 16:44 ` Ralf Baechle
2006-02-09 17:54 ` Franck Bui-Huu
0 siblings, 1 reply; 6+ messages in thread
From: Ralf Baechle @ 2006-02-09 16:44 UTC (permalink / raw)
To: Atsushi Nemoto; +Cc: linux-mips
On Fri, Feb 10, 2006 at 01:25:59AM +0900, Atsushi Nemoto wrote:
> >>>>> On Thu, 9 Feb 2006 15:49:59 +0000, Ralf Baechle <ralf@linux-mips.org> said:
>
> ralf> You were seconds to late, I already checked in an identical
> ralf> patch :)
>
> Oh I see. It seems linux-2.6.15.git is a bit behind linux.git ;-)
Not really - I just had not pushed it out yet, so it wasn't get in
linux.git either.
> BTW, linux-2.6.15.git repository is somewhat broken, isn't it? When I
> pull using git protocol just after rsync, I got following error. I'm
> using git 1.1.6.
>
> $ git-pull rsync://ftp.linux-mips.org/pub/scm/linux-2.6.15.git
> receiving file list ... done
Don't do pulls using rsync URLs, it's rather slow as will download all the
packs each time I repacked the archive - which I last did this morning.
Otoh for very large pulls the git protocol is putting a significant
burden on the linux-mips.org machine ... But linux-2.6.15.git fortunately
doesn't classify as large in this context.
> sent 107 bytes received 162 bytes 41.38 bytes/sec
> total size is 64135739 speedup is 238422.82
> Already up-to-date.
> $ git-pull git://ftp.linux-mips.org/pub/scm/linux-2.6.15.git
> error: Could not read 91483db9b01b547ae9cc45c8c98b217642acb40a
> error: Could not read 826eeb53a6f264842200d3311d69107d2eb25f5e
> Already up-to-date.
> $
When cloning such a repository git isn't actually downloading the
.git/info/grafts file. This results in such errors. I don't know of a
way to get git to do this right. You may download the file manually
and install it into your tree. The URL of the grafts file is:
http://www.linux-mips.org/pub/scm/linux-2.6.15.git/info/grafts
Ralf
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [PATCH] Fix build error by removal of obsoleted au1x00_uart driver.
2006-02-09 16:44 ` Ralf Baechle
@ 2006-02-09 17:54 ` Franck Bui-Huu
2006-02-09 20:53 ` Ralf Baechle
0 siblings, 1 reply; 6+ messages in thread
From: Franck Bui-Huu @ 2006-02-09 17:54 UTC (permalink / raw)
To: Ralf Baechle; +Cc: Atsushi Nemoto, linux-mips
2006/2/9, Ralf Baechle <ralf@linux-mips.org>:
> When cloning such a repository git isn't actually downloading the
> .git/info/grafts file. This results in such errors. I don't know of a
> way to get git to do this right. You may download the file manually
you can't. It seems that graft thing is, for now, only used to change
your _own_ repository's history. Fetching from a "cautorized"
repository is a risky job and you might have bad results.
It's going to change with the "shallow-clone" thing, but I don't know
when it will come out...
--
Franck
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [PATCH] Fix build error by removal of obsoleted au1x00_uart driver.
2006-02-09 17:54 ` Franck Bui-Huu
@ 2006-02-09 20:53 ` Ralf Baechle
0 siblings, 0 replies; 6+ messages in thread
From: Ralf Baechle @ 2006-02-09 20:53 UTC (permalink / raw)
To: Franck Bui-Huu; +Cc: Atsushi Nemoto, linux-mips
On Thu, Feb 09, 2006 at 06:54:05PM +0100, Franck Bui-Huu wrote:
> 2006/2/9, Ralf Baechle <ralf@linux-mips.org>:
> > When cloning such a repository git isn't actually downloading the
> > .git/info/grafts file. This results in such errors. I don't know of a
> > way to get git to do this right. You may download the file manually
>
> you can't. It seems that graft thing is, for now, only used to change
> your _own_ repository's history. Fetching from a "cautorized"
> repository is a risky job and you might have bad results.
It works for me (TM).
> It's going to change with the "shallow-clone" thing, but I don't know
> when it will come out...
There are many problems with "cautorized" repositories, some with the
current implementation, some more fundamental ones. Such as what is
the cut-off criterium? The MIPS git repository also contains the objects
of Linus's tree [1]. So a tag like linux-2.6.15 as the line for truncation
isn't working too well because I'll only truncate the Linux/MIPS history
but that'll still leave all of Linus's tree - well over 130,000 objects -
in the tree.
Anyway, I'm trying to maintain a homebrew shallow variant of the tree
for the time being until git provides a better instrument for the job.
Ralf
[1] Not Linus's tags to avoid confusion. They could easily be pulled from
Linus tree into a separate branch. Similar for Marcelo's 2.4 tree.
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2006-02-10 11:37 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-02-09 15:43 [PATCH] Fix build error by removal of obsoleted au1x00_uart driver Atsushi Nemoto
2006-02-09 15:49 ` Ralf Baechle
2006-02-09 16:25 ` Atsushi Nemoto
2006-02-09 16:44 ` Ralf Baechle
2006-02-09 17:54 ` Franck Bui-Huu
2006-02-09 20:53 ` Ralf Baechle
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.